« first day (878 days earlier)      last day (4053 days later) » 

5:00 PM
@dyelawn no, you should reference your own repository in composer.json
 
@Ocramius and autoload will still work with the package, even if it's in a namespace that does not match the vendor directory name?
 
@dyelawn I usually still keep my packages in the same vendor dir if it's a fork
no need to change that
 
@Ocramius how do you get it on a package manager? e.g. i want to make some changes to fakeperson/fakepackage. when i fork, it's stored at [github]/me/fakepackage. so when i try to submit it to packagist, it says fakeperson/fakepackage already exists
so i change the package name in composer.json to me/fakepackage
but then it installs everything in vendor/me/fakepackage/fakeperson/fakepackage
 
@dyelawn you can add a "vcs" repository type. That way, composer will first scrape your own repository before falling back to packagist
 
@Ocramius, one more thing. When I'm trying to create schema with command line tool I get No Metadata Classes to process. or I don't need, that either?
 
5:06 PM
you should NEVER submit forks to packagist :)
or I'll find you and hunt you down
 
@Ocramius you have a lot of people to hunt down then!
 
@Eugene that means your metadata driver is configured incorrectly
 
i saw a bunch today when i was trying to figure out how to do what i wanted to.
 
@dyelawn I usually try to contact them when something like that happens :)
@dyelawn add a package of type "vcs" with your github repo as url ;)
works also on private repos
 
in my requires?
 
thanks. makes much more sense
 
I ♥ JSON data format...
 
VC is difficult
 
@Ocramius odd. Path to directory is correct.
Driver is defined as I see
$driver = new Doctrine\ORM\Mapping\Driver\AnnotationDriver(
    new Doctrine\Common\Annotations\AnnotationReader(),
    array(__DIR__ . '/library/Entity')
);
 
@Eugene bbiab. I can check later
 
5:20 PM
ok, idiot's question. any way to revert a composer update? that is, to fix a "composer.phar update" where you forgot to add the name of the individual package you wanted to update?
 
@Ocramius sure. Would be greate. Thank you.
 
and all those nice, stable packages were removed and replaced with "dev-master"s
 
5:45 PM
Hi all, have anyone worked with websockets + php ?
 
@ocramius i get that slideshow up until slide 36. then i'm very confused
 
5:58 PM
blah
 
6:12 PM
so composer stability flags don't carry over to dependencies?
 
user895378
> Election closes in 1 hour.
 
user895378
If you haven't yet ...
 
nevermind, just going to set minimum-stability: dev and put @stable flags behind anything available in a stable version. this will probably still cause me to get dev packages for deps of deps, and i'm sure there's a better way to do it, but i can't figure this complicated mess out
 
CAM
6:36 PM
Anyone one in here on angel.co ?
 
6:47 PM
Hello every one
My first vote was Gordon
can any one look into this
0
Q: Relational database for address model

gowriI want to design an "Address" model for all types of entities like users, businesses, etc. I have two types of main models: one is User and the other is Business. Each one has different address types like below. User 1.Contact Address 2.Billing Address Business 1.Contact Address 2.something...

 
Evenings
 
Woot, definitely going to PHPNW again this year
 
I am stuck with this db design, can anyone advice me
 
@gowri Can you create new tables?
or add rows to the current tables?
 
Hey my avatar brother is back. Let me say something quickly
 
6:52 PM
for what
@Pheagey: you mean I want to create a address table for business
separately
@PeeHaa: who is that
 
@gowri Business->OneToMany->businessAddress
 
Hi All
I have the same problem as this question stackoverflow.com/questions/5697368/…
curl paypal
 
@gowri see mine and @Pheagey's avatar blend together when we are next to eachother in the list
 
@SamBattat spesific = specific ?
@PeeHaa :)
 
:-)
 
6:55 PM
ha ha ha :)
 
Same as in the question I'm trying to curl a buy it now button to confirm payment
 
avatar brotha's/
 
Yo bro!
:D
 
@Pheagey
 
@Pheagey: Can't we solve this with on global table
because in future I may add more entity type like business
 
6:57 PM
global address table?
user->1tM->addressTBO
business->1tM->addressTBO
like that?
 
CAM
Can you guys do me a favor and follow us angel.co/kareer-me?
 
other->1tM->addressTBO,
Etc...
 
yes
 
@Pheagey: After I curl request the buy now page (shows transaction details and asks to login to confirm payment) I submit the form with curl setting up all the hidden fields and login fields as well as cookies and headers
 
@SamBattat Sorry, I was just pointing out a misspelling on your question.
 
CAM
6:58 PM
We are supporting local startups in finding talent kareer.me
if you have a startup you can apply for free
 
@gowri Without knowing anymore information; yes, thats the way I'd do it. addresses.TBO and use a address_id in the users/business/etc TBO
 
@Pheagey: that was not my question, its just the same as my problem :) thanks anyways
 
TBO ?
 
@gowri table object. Sorry personal short hand.
 
guys, I have a quick question
what is the php.net site built with and can I download it anywhere?
 
7:00 PM
@David19801: go for it
 
@David19801 probably php...from php.net.
 
you can scrape it with curl
 
i basically want to build my own site for osmething else in that style...
is it downloadable like mediawiki or wordpress?
or is the site custom and closed source? in particular I want the style of: php.net/manual/en/function.strpos.php
 
oh the same script you mean as a CMS
 
yes! :)
 
7:02 PM
PHP is an open source web language.
http://windows.php.net/downloads/releases/php-5.4.12-Win32-VC9-x86.zip
but no,. it is not a content management system.
 
i mean the site, as a CMS...
like sam asid
 
@Pheagey: ok thanks I will check
 
@David19801 well php obviously
 
@David19801 bit.ly/ZGnhHt
 
but is it available to download?
is that a virus?
 
7:03 PM
You want to source of the php site?
 
yeah...kinda
 
@David19801 I will give the link. but not before telling you it sucks big time
 
:) gimme!
i will prob rebuild anyway
just want to see if they've done anything crazy or cool
 
It's a pile of crap, but github.com/php/web-php
@David19801 No they have not
 
7:04 PM
@gowri I'll post the idea on your question and if that works out help me out with a lil rep :)
 
thanks peehaa :) how did you find it?
i got nothing from googling...
 
@David19801 PHP has most stuff on github
 
k thanks...quick scanning it it looks like you were right :)
this code is not the best...but its something
 
@David19801 hey I warned you ;-)
 
@PeeHaa ironic how crappy this is
 
7:18 PM
@Lusitanian Ironic === sad? :)
 
@PeeHaa well yes, but also ironic
 
ironic that the PHP.net CMS is such crap because they -make- PHP...
 
eih
 
hie
 
when have you seen php.net down due to too much traffic?
 
7:21 PM
never. Only from bad commits
 
exactly. And it gets a ton of traffic
 
*not trying to be a smart ass, just humorous but:
EA proved once again: throw enough hardware at something and even the worse code will run...
 
alexa.com/siteinfo/php.net Number 330 in the world
 
@ircmaxell That is not entirely because of the crap code though :)
 
*Referencing the recent SimCity5 debacle
 
7:23 PM
@PeeHaa crap is relative. It's up, it's stable and it's fast...
 
@ircmaxell xvideos.com, #42, lolz.
'internet is for...'
 
Well it's not that they said we need this to be stable so we have to cut some corners in writing decent code. It's moar like old shit combined with puke.
BUT it is indeed damn stable
Because a.o. the mirrors all over the world
 
so?
 
So nothing. The code is crap is what I said. Nothing more nothing less
Don't get me wrong even with the outdated look (like I care what it looks like as a developer) the site is freaking awesome
 
@Eugene YT?
 
7:33 PM
Hi guys, Hola
 
Hi @JuanFernandoz
 
fast question: Im reading this tutorialzine.com/2010/03/ajax-todo-list-jquery-php-mysql-css I don 't undertand that line $GLOBALS['link'] (what is 'link' ? do you understand this ?
 
Without opening that link. I think you may want to avoid that tutorial
 
@SamBattat Hi first time I look you here :P
@PeeHaa why?
 
globals? in a tutorial?
@JuanFernandoz avoid it
 
7:36 PM
@Ocramius security problems?
 
no, bad practices
 
@JuanFernandoz: Yeah I have been here just for the past few days, trying to get help with php curl
 
@JuanFernandoz Using it will become a pain to debug later
 
@JuanFernandoz among other things
serious security problems though
 
yeah, ok. Im not gonna use this tutorial but can you explain me why he use the "'link'" think? I mean I don't keep the doubt (and I really dont undertstand that use).
 
7:38 PM
@JuanFernandoz: yeah there is better ways than just using globals
 
forget the globals problem...
 
@SamBattat I have a project and my most important part of the code is a curl - asp one. Curl with asp is a very bug pain sometimes...
Im not gonna use the tutorial, I really apreciate what you say.
 
@JuanFernandoz: I'm trying to confirm a "buy it now" button payment with paypal
@JuanFernandoz: you could use the tutorial just modify it to avoid using globals
I'm pretty sure he is using globals because he has the code in a class toDo
 
But I have the simple doubt because I don't get the 'link' think. I really don't know when 'link' appears from the firts time its like indefinite thing.
 
Every tutorial which uses stuff like that is bound to have more problems
 
7:42 PM
@SamBattat yes, He is using globals because the class.
@Lusitanian how I do that?
 
I guess I'm a kicker
 
@ircmaxell :D
 
lol
 
@JuanFernandoz you dun have enough rep
 
@Lusitanian :'(
 
7:44 PM
@ircmaxell your announcement about having an announcement piqued my interest btw
 
I thought everybody had a vote=
 
@PeeHaa you needz 150 rep
 
:-D
 
as long as it's not PHPphpPHPphpPHP
 
Or worse. PHPJAVAPHP
 
7:45 PM
oh dear
 
PHP on rails
 
18 rep to do.. Im gonna do the most importand question of staroverflow history so in order to get the rep that I need. I have 10 minutes to make it possible!
 
It's CoffeePHP
 
*coughy*PHP
MD #fail :(
 
CoffeePHP...now with syntax that makes no sense
(I'm not a fan of coffeescript)
 
7:47 PM
I could swear I had a discussion with somebody about it. And he/she said it was freaking sweet and creal
 
@ircmaxell wait, was someone complaining that phpunit is too heavy? wtf
 
@Lusitanian I like you, you don't like anything :D
 
@Ocramius YT?
 
@webarto meh, it's yet another way to use javascript without using javascript. i mean...it tries to shove a different inheritance model down its throat
seems silly
 
@Eugene yep, so did you figure it out?
 
7:50 PM
> The Enterprise Web Library (EWL) is an extremely opinionated library for web applications that trades off performance, scalability, and development flexibility for an ease of maintenance you won't find anywhere else.
 
user895378
@JuanFernandoz Go vote!
 
@rdlowrey yeah! where??
 
user895378
@JuanFernandoz Vote for Gordon #1
 
7:51 PM
@rdlowrey yes, I like Gordon! for mod :D
 
Election closes in 8 minutes.
Oh boy, oh boy, boy
 
BTW who are your guys number 2 and 3?
 
1st choise button?
on gordon topic?
 
user895378
Yes.
 
@JuanFernandoz yes
 
user895378
7:52 PM
OMG I'M SO FLAGGING YOU! :p That was funny.
 
can't touch him. nananana
stop @Lusitanian time!
 
Ok, appears a message saying that I have iother two votes?
so lic on 2 and 3 button?
 
@Lusitanian yes, in #phpc
 
@ircmaxell -_-
 
yeah! Gordon!!
 
7:55 PM
wut, 4 mins? :O
 
five minutes :3
 
Someone cue up The Final Countdown..
 
3... 2... 1...
 
Let the DDoS begin!
 
7:59 PM
oh, my clock is off. sync time.
 
36
20
3
 

« first day (878 days earlier)      last day (4053 days later) »