« first day (1285 days earlier)      last day (3666 days later) » 

10:01 AM
@Ocramius write something that will write the HTML instead :P
 
@Boris_yo if you're afraid of scrapers, then post your code as a secret gist. You might delete it afterwards
 
man, I'm hungry I need to take lunch, but the clock just struck 12 and I only leave for lunch around 12:55 for the earliest, cos prayer time is at 1 and I have to get back to work before 2, cos there's a company-wide meeting today :(
 
think I found it @PeeHaa
 
@pythonian29033 pray at work :)
 
@pythonian29033 finish lunch before prayer
 
10:03 AM
on that note, I'm going to lunch
 
@andho thinking of it, but it will never look better than <table/>
 
@HamZa Secret gist? What is the code?
 
@Jack Holy shit. There needs to be an award for that
 
@Boris_yo Well this is normally what you should ask the person who wrote it in. If it isn't been remembered what all this is for, start by removing all the lines in question. It's perhaps not useful any long, the brain filtered it out already as "not important to remember".
 
10:10 AM
@HamZa I stopped doing git pull origin actually ... an explicit git fetch origin followed by git merge --ff-only origin/master
 
@Jack Introducing PHP QPath - Write expressions on object trees and get back a results collection :D
 
@Jack but ... why
 
There's Symfony's PropertyAccess if you really want
 
@andho Because preserve clean history.
 
$propertyAccess->find('mainContext.session.page['css']', $this) or something :D
 
10:12 AM
@Jack if it's not fast-forward what's the next step?
 
@andho If it can't be fast forwarded, the next step is a git rebase origin/master
 
@Jack When writing integration tests, it's not too easy to follow best OOP practices. It's more about the separation of concerns via the PageObject pattern that is important tbh
Or that's what I've found - as it's what I'm doing right now with Behat\Mink
 
@Jack change history on master? won't this cause merge issues for all others merging origin/master?
 
@andho You do know how Git works, right? :)
 
@andho It only tries to merge changes from master to current branch.
 
10:14 AM
@HamZa I just started here a month ago and I'm the first muslim male in the company, so they never had facilities before
 
My master only becomes another's master after I push.
2
 
that's why I have to go to mosque till then
 
@TOOTSKI i assumed git fetch origin && git merge origin/master was done on 'master' branch
 
@andho Not sure, who knows, right? :)
 
not a lot of muslims in the developer crowd in south africa. . .only the big companies have facilities out here, otherwise it depends on the number of muslim emplyees
 
10:16 AM
@andho git merge will sometimes "choose" octopus or recursive merge, which isn't very nice to look at :)
 
what is rebase used for guys?
 
@Jack I wanna test this out. I like clean history too. but I don't feel safe rebasing master branch
 
@Ocramius LOOOL
 
@andho It's like rebasing any other branch, why would master be so much diff?
 
I'm reading on here; git-scm.com/book/en/Git-Branching-Rebasing and it seems as if rebasing is another form of merge. . .but I've been told (by a senior who's on leave) to use rebase when my branch is broken
wtf?
 
10:18 AM
Rebase all the unicorns!
 
@pythonian29033 Rebase effectively adds commits from the other branch to the current one and appends your commits.
I think a picture will explain it better, though.
 
"Replaying your work on top"
 
Yeah
As with many things in life, the three-way rebase is the sexiest :)
 
Awesome :D
 
10:28 AM
 
@Jack if you change history (rebasing change history right) then you will need to do git push -f origin master right? I don't rebase any branch that I keep on the remote, unless I'm rebasing -> merging-to-master -> deleting it.
merging-to-develop is more like it
 
@andho Okay, if you have multiple remotes, you have to be more careful.
So you may wish to only rebase from origin and no other remote (except non-master branch).
 
Hello
 
@pythonian29033 Oh I see... Well where I work they also don't have facilities...
 
@pythonian29033 However few muslim devs there are in SA, there are less in Israel, I promise you that :P
 
10:33 AM
@andho Also keep in mind that rebasing would only be done if the --no-ff merge failed.
 
@SecondRikudo hehe, could you differ a muslim from a non-muslim there?
 
Hows everybody doing today
?
 
Splendid!
Not.
It's raining like in England.
 
@HamZa Well, in Israel, the absolute majority of Muslims are also Arabs, who either talk Arabic, or have an Arabic accent.
You won't find many "Israeli Muslims"
 
Oh I see
 
10:36 AM
git svn rebase
First, rewinding head to replay your work on top of it...
Fast-forwarded master to refs/remotes/git-svn.
@pythonian29033 this is rebase ^
 
@TOOTSKI No, git svn rebase is the direct portal to hell!
2
 
@HamZa either repwhore on this or find a suitable dupe please stackoverflow.com/questions/23241124/…
 
I can't function properly in Subversion :D
 
@Jack which in my opinion should be never :) master should always ff
 
10:41 AM
@Ocramius I wanna star this twice; good read.
 
Anyone got a good directory structure for organizing your templates? I am constantly switching because I'm never happy with mine
 
I'm not even in a software development company, and I feel this pinch all the fucking time.
 
@PeeHaa either unclear or let it open. There's this question which has a good answer, but since I don't really understand what the OP wants, I don't know if the answer provided could help him
 
Further unfortunate is the fact that I don't need to take on multiple IT-oriented roles, but just multiple roles; I'm a fucking utility-knife, and it's dulling me.
 
@HamZa Thanks. Looks like a dupe
 
@DanLugg at first I whole heartedly didn't agree with it. But then I empathized with the point of view.
coming from companies that don't have any of these other roles, (enterprise starting their own in-house dev department, and a startup) I could use the dedicated resources for ops but it's just not available.
 
@SecondRikudo no shit!
 
@pythonian29033 =)
 
@Jack naa that was pretty clear thanks!
 
@PeeHaa Any reservations against me using PitchBlade in a profitless commercial yet private basis? :)
 
10:54 AM
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
 
@Fabien MIT. rape as you will
 
@TOOTSKI That does not answer if there are any reservations :)
 
:-)
 
Rape ahoy. Cheers.
 
yeah, but in south africa we've got a shitload of muslims. . . muslims were brought out to Cape Town by the dutch as slaves a little over 300 years ago. we're ro South Africa like the blacks are to america. . . but we've grown alongside the christians, hindus, jews, etc. out here during aphartheid, so we're all friends and considering that was about 20years ago now, everyone's friends except for a stupid few who no1 likes anyways.
yay South Africa!
 
10:56 AM
16 hours ago, by TOOTSKI
Except @hakre :P
 
Who should I kill/torture in order to stop people from making properties of entities public?!
 
@Ocramius The developers of doctrine
ow wait
 
@pythonian29033 Heh, if only that were the situation here. There would be no problems and no wars.
 
;)
 
:P
 
10:57 AM
@pythonian29033 actually Africa as whole has a lot of muslims. It has historical and economical reasons from middle-ages
 
@Ocramius Use reflection on entity and look for it, if it's true, run rm -rf /
 
@Ocramius Tell them they should use arrays instead, those are more flexible :D
 
That will teach 'em.
 
PHP should just not allow public properties ;-) evar.
 
@tereško I know man, I'm african! . . . I was just talking about South Africa
 
10:58 AM
@Jimbo aye
 
@SecondRikudo yup, but let's not bitter our friendship with political debate...
 
@pythonian29033 Agreed
 
well .. all religions are bullshit
 
@Ocramius java beans and visual studio
 
@tereško Tell that to the flying spaghetti monster.
I dare you motherfucker
 
10:59 AM
We need non-magic properties interceptors in PHP :D Muhahahaha :D
 
@tereško I will not engage in that discussion, but I will say, I've two close friends who are athiest and my belief is very unique in that I'm a thiestic evolutionist
ie; I believe in a God and I believe that evolution happened/is happenning
 
hmm .. so you are religious, but still somewhat sane =P
 
sweet, lunch time, thanks for keeping me company guys, back later
 
@pythonian29033 I honestly don't think religion and science need to collide that much
Science explains how, and religion explains why.
If you don't care about one of the two, you're good :D
 
yeah lunch. should I stay or should I go now?
 
11:02 AM
@SecondRikudo science explains how, religions guesses why
 
@tereško Actually, it's the other way around :)
 
Religion gives you a reason not to kill yourself :P
 
"why is there universe?"
 
@tereško God was bored.
 
that is not the reason provided by religion
 
11:03 AM
How is there a universe? We guess there was a big bang some who-knows-how-many billion years ago,
 
aslo, there is no way to test this assumption
 
@tereško Actually, the reason provided by religion is because God wanted to be good with someone, so he created the universe, Earth and man.
 
@SecondRikudo You should read the newspaper from time to time, how much guess that is and what such theory revealed so far.
 
@SecondRikudo wow
 
At least, that's the reason given by the Jewish bible.
@hakre At the end of the day, you cannot confirm it 100%. You never will be, unless you manage to transport your consciousness to the past and see it with your own eyes.
 
11:06 AM
lol
 
Just like we only assume that that is how the atom looks like, and we assume how quantum physics work.
 
how do you know that WW2 happened?
where you there?
 
Theories change, constantly. Not that long ago people thought the earth was flat.
@tereško No, but people were there.
 
@tereško I'm no scientist with such things, I can not confirm you that. But if confirmation is your line of reasoning, I wonder how you take that for religion.
 
There's actual documentation, (and even with that, there are still people who deny the holocaust ever happened, by the way).
Don't get me wrong, I'm not religious, far from it. But all I'm saying is this: You can't argue with someone's beliefs.
 
11:08 AM
9. Start religious or political discussions. (go make your own room)
 
If you believe in something, then it is undeniably true.
 
that is the point , yes
 
Not to be a stickler for the rules but these conversations don't often end well.
 
EVER.
 
@Fabien STFU
:P
 
11:08 AM
DIAF!
 
belief disregards facts to preserve faith
 
@tereško I disagree.
 
faith has been lost, before
 
I don't know how it's like with other religions, and I do know that the Christian church have been holding back technology advancements for a very long period of time.
But from all I learned on Jewish religion, there's very little contradiction with science.
 
RELIGION HAS NOTHING IN COMMON WITH SCIENCE
 
11:10 AM
I thought php was part of computer science. :'(
 
I'd say that historically this is not really true. At least some of the religous personell on earth has done some research.
 
@tereško Yes, but they also don't necessarily collide.
 
one is made from bronze age scribblings of goat hoarders, the other is result of experimentation and observation
 
@tereško I'll give you a single nice example to think about
 
Well religion is at top level and we are figuring out the reasons with science why it is that !
 
11:11 AM
In the Jewish bible, they describe the creation of the world in seven days.
 
@SecondRikudo because the did not even know that light comes from stars
 
If you disregard the literal seven days and look at things symbolically, things go pretty much according to the order we know happened from science.
@tereško The first thing that was created by the big bang was "light", if you'd like to call it that
But to zoom in a bit more, look at the order the animals are created.
 
@SecondRikudo Ouch. I mean as of today, you can't leave the numbers out. The quantification. It might have worked as a short explanation some thousand years ago, but it's best misleading today. Same for the problematic handling of sex in that story.
 
They exactly match the order of species emergance we know that happened, including the relationships between the fish, the birds, the great crocodiles (dinosaurs?) mammals and finally man.
@hakre in... what story?
adam and eve?
 
@SecondRikudo Seven days? Really?
 
11:15 AM
@hakre A talking snake?
Don't take things literally.
These are symbolic stories.
 
they are just that , stories
from bronze age people who thought that earth is flat
 
@SecondRikudo Demanding to not taking things literally, by fetching stories out of a book, is somewhat shizophrenic to me. Let's not call it science literature, but you should at least respect the work and accept it is literally.
 
@tereško In Kabbalah it's explicitly written that the earth was round and that it revolves around the sun and not vice versa.
I'm pretty sure I can find you that passage if you'd like, but it'll take some time.
 
Deja vu; just had this argument the other day.
 
@hakre You need to understand the position of the writer.
 
11:17 AM
@SecondRikudo finally man ?? no, no not at all ... you cannot claim a book that predated science by ~4000 years contains science, don't talk nonsense ...
 
These stories are all the same in the monoethic religions, I don't thin you need to fetch it, it's known that those exist. And I guess you know what is problematic with them.
 
The point of those very early stories were to help men explain things they saw unexplainable back then.
 
@SecondRikudo This is only one way that is said what the reason is. To my taste it sounds a bit made-up and a bit too simple.
 
The notion of a "God" is nothing more than something created to explain why things are as they are.
 
because people did not know what caused lightning and thunder, and they were afraid, so they created "gods"
 
11:19 AM
it's pretty self centered to assume the universe was created for a single species of hominid that exists on a single rock, floating round a single star ...
nonsense ...
 
This is the problem; given millions of stories written concerning any provable sciences before being provable, one is eventually going to be right. And those who follow that story will stand up and say "SEE!?"
 
@SecondRikudo Like for example the term God is used in Godclass.
 
@JoeWatkins Who said it only created us?
 
nothing created anything
 
who created your god ?
 
11:20 AM
that is not an explanation at all
it's a non-explanation, and illogical
 
@tereško this
 
@tereško Good question, I don't know.
 
no, it is not a good question
 
lol
 
11:20 AM
it is a sentence that points out logical fallacy
 
@JoeWatkins Here's a fun concept to think of, and with that I'll withdraw from this rather pointless discussion.
 
these sort of debates has been going on for ages and most often do not end up in any agreement.
 
Today we have the computing power to emulate a single human brain
 
@ICanHasCheezburger but at least there is debate.
 
(Bulding size computer)
 
11:21 AM
@ICanHasCheezburger more like "for approximately 200 years"
 
^
 
very funny.
 
@SecondRikudo I don't think we do, or will for a long long time ...
 
11:22 AM
Given the rate computers get stronger and stronger (about double the power every 1.5 years), in 1.5 years we'll be able to emulate 2 brains
 
@JoeWatkins I remember reading that we already have AIs which are as smart as a 10 year old boy
 
@tereško Well, no. Longer than that; it's just the arguments always ended in death considerably sooner prior to 200 years.
 
we don't even understand in any detail how a brain works, you cannot assert that we have enough processing power to emulate something we do not understand in any detail ...
well we do not, that's non sense because ^
 
11:23 AM
In any case, assuming we'll get there one day, @JoeWatkins
 
foremost question is: why simulate a brain? everyone got one, right? what's the problem? religion? ^^
 
Would saying "skynet" be the ultimate concession of this argument?
 
Eventually, we'll have enough power to emulate a shitload of brains
 
again, you cannot logically assert that ...
 
It's like the last gasps of the religions. Christians trying to prove that Bible contains scientific facts. Muslims trying to prove that Koran contains scientific facts. And jews trying to prove that Torah contains scientific facts.
It's pathetic. Because your "god did it" soundbites are being explained one by one. And your gods become smaller and smaller.
 
11:25 AM
@tereško That's my gripe ^^ monkeys and typewriters.
 
lol that's why I don't begin these arguments, coz the burden of proof lies on the one who claims something exist
 
with PHPUnit, when I create classes only for test-cases (implementing the interface, some stub methods), where should I place them?
 
use uopz and create them in class setup function ...
 
Right now I have one Unit-Test file and I have two such classes there in, but I also want to use them in other unit-tests.
uopz?
 
Their argument is basically, there is god, because it says so in this 200th (mis)translation of a bronze age text, and this text is true because it was written by god.
 
11:28 AM
http://php.net/uopz
http://php.net/uopz_compose
 
@tereško by definition god is uncreated.
 
@tereško you haven't researched enough
 
@HamZa rm -rf ./god?
 
@JoeWatkins This is not what I mean. Where to place files with stubs.
 
@hakre /test/unit/mocks
 
11:29 AM
@tereško merci
 
though I usually tend to use $this->getMock('class\\name'); (you can use this with interfaces too)
 
@hakre I'd have not said anything if you'd had opened with "I have two classes and need them in two unit tests ..."
@HamZa doesn't mean anything ...
 
@JoeWatkins yes, can happen. all fine.
 
man defined him
 
@JoeWatkins Fatal error: Call to undefined function
 
11:32 AM
what I believe is it's human logic that everything should have a creator, since the existence of God itself is illogical for some, they should know that the human logic does not apply to God
 
@ICanHasCheezburger reminds me of this
 
it's your logic, I don't require an agent for anything, I'm happy with the natural explanations provided by science that do not insult my intelligence ...
 
So what created God?
etc.. etc...
 
@tereško Most likely this would have been better in the past if that guy did. In both classes, there is only one method body set, the rest is from the interface definitions.
 
@Fabien man created god in his own image
 
11:36 AM
@tereško I'm not sure how it is in other religions but Islam does not exist for you to follow it blindly, for most atheists Muslims try to make them understand that facts that have been proved by science now has been written 1400 years back
Not preaching, just quoting on your words that we believe in some text blindly
 
emm .. what ?
 
> The God of the Old Testament is arguably the most unpleasant character in all fiction: jealous and proud of it; a petty, unjust, unforgiving control-freak; a vindictive, bloodthirsty ethnic cleanser; a misogynistic, homophobic, racist, infanticidal, genocidal, filicidal, pestilential, megalomaniacal, sadomasochistic, capriciously malevolent bully.
in his image ...
 
Seriously this cpanel WHM stuff is really wtf. I'm sure it makes sense if you know it but still :(
 
That's the issue with most systems of "belief", particularly typical of the monotheistic; eventually, one concedes to the question of "why?" with "because". It's that walling up of exploration that is broken. When you're satisfied with not knowing (because you're convinced you know somehow) you've abandoned the truly greatest gift of life: searching for answers until you inevitably die.
 
hello every one..
having a small question in php..
how we can create and handle thread in php..
like we are doing in java..
 
11:39 AM
@JoeWatkins Sounds like programmer; except the racism.
 
anyone, that's enough religion, you're perfectly entitled to your ridiculous beliefs but don't discuss them in here, I'll be removing any more messages on the subject ... this is not going to end well ...
 
@JoeWatkins Agreed, I see no point dwelling further at it in here.
 
@JoeWatkins Thanks :-P I was starting to get riled up, but I need to go to work.
 
@JoeWatkins thankls exactly i am looking for man..
 
11:43 AM
On a slightly religious but not belief based note. Seeing a lot more of the UK bending its laws/ways to accommodate our multi-cultural society. That's a tough place to hold an opinion.
We all remember the M&S malarky about serving alcohol
 
@ICanHasCheezburger Yeah, they all say that.
 
Of course it's partly fuelled by media sensationalism
 
And I fuckin' hate writing constants. ^
 
@Leri Lol, stop pulling my leg.
 
@ICanHasCheezburger ?
 
11:46 AM
@Leri I mean don't trick me into talking again :D
 
Oh, you guys finished? Sorry then and hallelujah!
 
Hello everybody,
I have one quick question
could you suggest me some good way how to manage windows 7 services by WWW?
i looked for win32services, but this is no longer support, and works with older systems
tried OpenNMS, but very havy (all written in java...,)
nagios? in company we could use only MS products... -.-'
google also doesn't help me
 
remove the copy of windows and install a proper os ...
 
so maybe you know good solution?
 
11:49 AM
yep ^
 
heh, it no depends on me :/
in home I use the proper one ;)
 
in your company you only use MS products ???
you don't like money ??
 
Banking...
 
.NET exposes API ?
 
hm. sounds interesting
 
11:50 AM
probably does ... look to that I guess ...
but seriously, a company that doesn't like money will fail ... use proper operating systems ...
@Artur_PL you mean all banking systems are all microsoft ? that can't be universal ... I know it can't ... there might be parts of it that have to be that I don't know about but doubt you'd be asking questions in a place like this if you were writing those parts
 
fuck
 
ok, thanks a lot for this dot net hint :) I will check it, surely
according to like moneys, i am work for this corpo and take this as vacations :)
 
Why would marketing department manager write a spec for a website ?!? Who thought that its a good idea to begin with !? I can basically feel my soul draining while I read this crap.
 
rather in next year back to some small company, less monay but more interesting job ;)
this is question for internal department tool
:)
 
@tereško for a bet ??
ghosts ??
I dunno ... what's the answer ... is it because hes "a designer" ?
 
11:54 AM
thanks again and bye for now :)
 
@JoeWatkins no, the correct answer is: because he is an acquaintance of project manager
 
was it printed ?
if its printed burn it ... or throw it in a nearby bin after ripping it up ...
if not printed, you're in trouble ...
 
it's a PDF (in landscape layout .. I suspect it was exported from powerpoint)
 
so, indestructible ...
tell him it's crap ....
do it better ...
you have no problem telling people when they are crap ...
do it better, then show him why its crap ... probably better ...
maybe next time it'll be less crap
 
no, said marketing person is the client
 
12:01 PM
oh then, go to your manager and show him what you'll be working from based on the clients input ... you don't take spec from clients, you shouldn't take spec from clients ...
 
@tereško Welcome to my world. Like, every fucking day of my world.
 
not unqualified ones anyway ... just use it as input I would ...
 
@JoeWatkins I was asked to make an estimate
time estimate
 
oh well, part of your estimate should be a realistic specification, there's not much point giving them an unrealistic estimate ... your manager will understand this surely ?
 
it is his second project
the first project was a disaster (well ... it's kinda still "ongoing")
 
12:04 PM
so help him, you obviously know what should be done, so tell him ...
I'd spend some time on the spec, give it to your manager and say when taking input from clients if you insist or rely on their input then this is the kind of document and input you are looking for in order to be able to churn out estimates quickly and more importantly properly plan things so that they do not fail ...
or you can guess based on a bad spec ... and end up looking bad when you are inevitably wrong ...
 
@JoeWatkins I did not have quite good time using it. I'd say use it only if there's no other way...
 
first time I saw someone mention win32services/wind3std in many many many years, doubt they get any attention at all ...
I could have looked but lazy and yukky, at least dotnet won't change or be weird, even if crap still ...
 
@JoeWatkins I do not even have a design to work with
 
is the design a bit part of the idea ?
 
design is a big part of "grasping how long it will take to code it"
 
12:11 PM
@JoeWatkins That would be wasted effort. No need to expose .NET in php
 
@Leri is already exposed, has been since .net existed iirc
@tereško I'm used to estimates without designs for freelance stuff because I've never done that part myself or had a permanent designer, so I'd just specify that a design is required, and explain what kind of features it would need to have to satisfy their functional requirements
 
Nope.
 
maybe they are looking to you for that ... gives you freedom in a way to drive the idea in the right direction, I've had designs provided and felt restricted by decisions designers made I'm not able to reverse or change ... silver lining ;)
 
@Fabien link?
 
@JoeWatkins You got me wrong. I meant exposing in real-world projects.
 
12:18 PM
@Leri ah yeah was backend sorta admin stuff he was doing, he had said that I think ... or said it after ...
@Fabien what's that ? (30)
 
broxxar.itch.io/flappy48 but you need to install some crappy flash thingy or something
 
@Fabien Combination before game end look likes a bug...
 
lol unity
1 message moved to bin
(Sorry, too much distraction XD)
 
@Fabien lol nice
 
exit or die, question is now?
 
12:26 PM
Fig A.
====

Q) Did you remember them ?
|
|---> Yes -> Not a problem
|---> No  -> Goto B

Fig B
====

Q) Did you look them up?
|
|--> No -> You lied at step A to make a point, you failed
|--> Yes -> Goto C

Fig C
====

Q) Would changing one or all of the functions parameter order magically make your remember the exact prototype for each function ?
|
|--> Yes -> The proposition was contradictory ... ie. a lie
|--> No  ->  Not a problem
2
 
exit
 
on order of parameters ...
is that funny or is it just calling a stranger a liar ?
 
@JoeWatkins Is that about php's builtin functions?
 
> The problem is not having three arguments, the problem is the haystack not being the first argument in str_replace.
I don't really think there is any problem, I don't see a logical pathway to a problem ^
 
12:30 PM
Neither do I
 
  public function pExpr_Exit(Expr\Exit_ $node)
  {
    return 'die' . (null !== $node->expr ? '( ' . $this->p($node->expr) . ' )' : '');
  }
Why is this @NikiC ^ ? :) (i.e. why die on exit expr)
 
The only real genuine WTF is the fact that string and array functions are reversed
 
@JoeWatkins Not an excuse for being inconsistent though.
 
but would it help you to change anything, wouldn't you end up taking the exact same action that you do now because nobody is capable of remembering all that they need to know, and I don't see anything special about these ten functions or the number ten or their meaning or frequency that would place them in any special position to make me think otherwise ...
 
@JoeWatkins I know the order of them :)
 
12:32 PM
so do I ...
but if you're someone that doesn't, then it doesn't help you to change is my point ...
 
@TOOTSKI exit() if it returns something, die() if not
 
@JoeWatkins If I was new to PHP it would have been nice if both were needle, haystack
 
there's nothing wrong with the way you solve the problem of not remembering now, if we changed anything, there's no reason to suppose you would be a person that could magically remember all of a sudden because we change the order of the parameters for four functions ...
 
@ircmaxell Thanks!
 
12:35 PM
@JoeWatkins If every single function had the exact same parameter order, all you would really need to remember was the name of it.
True, you might still need to look it up because reasons, but once you remember the name, you don't need to look it up anymore.
 
@ircmaxell Yes! For once I disagree with @ircmaxell :-)
 
Nothing wrong with that :-)
 
;-)
 
@PeeHaa I think you sent one post to me which I missed.
 
@Boris_yo Nopez. Not that I know
 
12:40 PM
In PHP 5.6+, documentation of obvious parameters like IDs could easily be done inline with type hinting:

<?php
function getRecordsForUid(int $id) { }
?>
Really?
I don't remember that RFC passing
 
@SecondRikudo sauce?
 
> Type hints can not be used with scalar types such as int or string. Resources and Traits are not allowed either.
Also known as scalar type hints.
Not implemented AFAIK.
 
^^ Makes a lot of sense, considering how buggy their flagship product BaseCamp is...
 

« first day (1285 days earlier)      last day (3666 days later) »