« first day (1303 days earlier)      last day (3645 days later) » 

@hakre No point, it'll be auto deleted in less than a week anyway.
 
@SecondRikudo when that question gets deleted now, then another of this users question got closed & deleted by users votes (not automatically), triggering a ban of that user earlier so that user visits the help-center first before asking any more questions.
 
@hakre That... made no sense.
Please rephrase.
 
10:07 AM
Mornrnrnrnrnrnr
 
@birdieblue wherever you put them. Framework should not dictate your application structure
 
Mormmrmmr
 
morning everyone
 
I consumed a greater deal of red wine than I thought last night
 
@hakre There's no point in deleting it now. The user won't be qbanned from one question. By not deleting it, you're giving him the chance to read the [help] and fix his question before it gets deleted.
 
10:10 AM
Go to bed sober, wake up hung over E_NOT_WHAT_I_SIGNED_UP_FOR
 
Rare, I know. But it happens. And if he doesn't, then it's deleted anyway, no harm done.
@DanLugg Conclusion: Drink anyway!
 
@Ronnin sorry fell asleep ... It should resize . in either case .. But I think I met add an alert message like 'image is gonna explode' for 40x40 image
 
Did our hammer come in the mail yet?
 
@DanLugg Not yet :(
 
10:12 AM
Thor took it :D
 
Morning
 
Myonyang @PeeHaa
 
@tereško Not sure I understand. Probably because my file structure is a mess and my classes tightly coupled. Trying to move away from that though. Saw someone else request a Hello World example, did you get any closer to that? I could put up a question here on SO if required.
 
@birdieblue I have been trying to reorganize it. Please don't looks at the fracture/fracture repository. It . well .. deprecated
 
@birdieblue What are you referring to? (for the rest of us)
 
10:15 AM
you model layer would usually be somewhere in /src/application/ directory
 
@SecondRikudo github.com/fracture, but as pointed out by teresko it seems to be in a migrating state.
 
@birdieblue looking for a framework or something to "boot" your projects?
 
@hakre ohh. It didn't get deleted yet?
 
@AmalMurali it's gone.
 
@Ronni Skansing actually in the code I wrote the js to resize if u uploaded a 800px image in 420 px ... I did think of 100px in 800 PX but not 40px
 
10:19 AM
1 message moved to Trash can
 
@hakre which one?
 
neither, I am just developing something for my own learning, but I never found a good explanation or example of how to set up my file structure
 
@birdieblue I would recommend folder by feature then =]
It is easy to be let into a convention structure, like a model folder, view folder etc. But really, I think it is as silly as making a Integer, String folder [=
 
@RonniSkansing I don't know, the difference is that Model is a type of object, while String is "an object"
(even though it's not treated like an object)
 
that is exactly what I have now, but I want to move into something resembling a PSR-0 structure
 
10:22 AM
@shortCircuit does the canvas work in your browser? (from the pastebin) I think you should disable the js first. Make sure the overall media boxing works. Then after that how the canvas reacts within the space allowd could be configured (both as in aspects inside the canvas and the dom element itself)
@birdieblue you can do that with a PSR-0 or 4 structure
 
OK .. yes it works to an extent .. I tried it in my ideatab tablet ... But still I will do as u asked ...
 
@SecondRikudo nope . "model" is not a "type of object"
 
^^ Was waiting for that to be said.
 
@tereško Right, bad example.
But Model is a logical "space" where objects live. So it deserves its own namespace/directory imo.
 
It compiles, ship it!!
 
10:25 AM
I have no problem with @RonniSkansing idea to split the model layer's logic in separate "features"
in theory it is a nice idea
but in practice you will have one repository "some business application"
 
101 ways to split up your model? :)
 
@tereško so what would a feature be?
 
@birdieblue notice the "in theory" part ?
 
@SecondRikudo but you could put your model/view/whatever inside each feature folder
Model tells me nothing
BloodPayment/Model tells me lots more
 
10:27 AM
Features as in game has generes !!
 
@RonniSkansing sure .. but you encounter problems, when two different "features" are using same domain objects or mappers
 
@user3622030 Stop that.
 
shut up you
 
@user3622030 Oh, you gone done it.
 
10:30 AM
@tereško I have not encountered it yet. But surely you right. I consider each feature kinda like a module, and use injection between
 
@RonniSkansing as I said. I like your idea in theory, but I would have to work it out in some example to see whether its actually viable
 
1 message moved to recycle bin
 
I am not really any wiser on the topic of file structure. Are there any good guides or answers around? I have yet to find one specific enough to use mvc and a domain driven design approach.
 
@user3622030 Stop being off topic or go away.
PHP OR GTFO
Well, I'm done feeding the troll.
 
@birdieblue your folder structure will be mimicked by namespaces. So, if a group of classes should be contained in the same namespace, then it too hould be in the same directory.
 
10:34 AM
@user3622030 Sorry, I'm not really into Pokemon.
 
@tereško if you ever find the time I would love to see the outcome. I have only used it in small projects. I started using the google js conventions and it seemed to workout great, then applied it to php
 
@shortCircuit Don't feed the trolly-olly-olly
 
10:40 AM
troll
 
ok enough! going to report this on meta!
 
you're welcome
 
@user3622030 Bring us something nice when you come back.
I was thinking more like beer, or chocolate.
 
I like that
/me waits in agreement
 
10:44 AM
Dammit. Woman drank all the coffee. Now I have to go buy one from the gas station.
 
@DanLugg You can buy women from the gas station?!
 
@salathe Uh, yea? Hopefully one that doesn't drink all the fucking coffee.
 
10:56 AM
@tereško Sorry, but we are gonna have to do this Mickey Mouse style. In a simple example, where would you place article.service.php, article.entity.php, article.mapper.php and article.controller.php? Considering that the entity could be used by other services and controllers?
/application
../-bootstrap.php

/lib
../FrameworkName
../../DataMapperComponent
../../-AbstractDatamapper.php
../../ServiceComponent
../../-AbstractService.php

/public_html
../-index.php
 
hint nr.1: stop putting the type of class as part of filename
 
@tereško hmm.. possibly, I have always found that useful when editing in eclipse, otherwise every tab is 'article'
 
learn how autoloading works
 
0
Q: What i have to do when i or my people are discriminated in chat room?

user3622030i came to php chat room http://chat.stackoverflow.com/rooms/11/php and was going to socialize eventually. but then i came across a post discriminating my people "turks" calling them "homosexual turks" http://chat.stackoverflow.com/transcript/message/16388277#16388277 to what i replied begin from...

 
user4203923
Hi all
 
10:59 AM
please if you answer do it constructively!
 
@user3622030 I do not think you need to censor anyone
people are clearly joking and having fun
 
user4203923
I have just finished to host my personal website and I wonder what things it's useful to know ? ( like amelioration, optimisation , reference , security or others things ). I'm new in web hosting
 
@RonniSkansing im not talking for censor but its the "homosexual" word is disturb
 
@user3622030 what is so disturbing about that?
 
then sorry your people are pervert homosexual too
oops i was just joking :-)
 
11:01 AM
ok they are. I'm not going to be buthurt
Although it is kinda typical
 
@PeeHaa then you have sort of problem
 
ok I have
 
fine
 
what is that singer?
 
11:02 AM
I kinda see a Jesus figure there
 
1 message moved to bin
 
ok i will forget now that someone understand ;-)
 
Yeah everybody else is wrong
moron
 
@user3622030 That was not appropriate, but to discuss that 12 hour old thing wasn't the right thing too.
 
why do you have to put a point above the i pfff..
 
11:03 AM
To the tiny gay avatar mobile!
 
just cut that thing and go forward with normal chatting
 
and now delete your meta question.
 
seeing meta question
 
@user3622030 What, close it? Looks like Robert Harvey.
 
11:05 AM
@DanLugg no the downvote ;-)
 
I dunno, but they keep coming.
 
...
 
E_LIPSIS
 
very mature from you
bravo
slow clap
 
11:06 AM
wow ... self-righteous , entitled biggot .. still spamming. You know, you could leave
 
^^ Best advice I've heard all day.
 
Who are you talking to? :)
 
@Jack =P
 
@DanLugg the difference is that im a teenager who shows maturity by not downvote counteracting. you are full grown and doing that to a teenager
who is the mature?
 
next stop: crying on reddit about how terrible stackoverflow is
 
11:08 AM
I'm tempted to just bin all that discussion.
 
@tereško not a chance..i have other things to do
 
@user3622030 lol, okay, before I abandon listening to you; A) I didn't actually downvote anything of yours B) You're a troll, piss off C) I'm pissing off, check y'all later.
 
It's not mature from both sides.
 
@bwoebi but i didnt downvote anything .. it was just good if after i delete meta question and message of the offence just leave me alone. no there is always a downvote in the between
@DanLugg and then you come with the troll again..
someone in this chat did ;-)
 
@user3622030 your meta post should have had a 1000 downvotes and the question is worth atleast 10 down votes to
 
11:10 AM
@RonniSkansing i deleted it okay? just stop it there
 
What did you expect, point people to a horrible question. Those people will vote if it is a good question or not
Each person seen it should have downvoted
 
@user3622030 asking the meta question wasn't mature. Downvoting from the others wasn't mature either.
 
@RonniSkansing not everyone is poet in writing like you .. i have mental deficiency and that is why i have no degree.. you happy now?
5
 
@user3622030 Hilarious :D
 
Yea now I am happy
 
11:12 AM
you can continue with normal chat
there is no need to speak with not grown adults without a life .. bye
 
yup, guys please stop, keep continue with normal chat
 
You mean "normal" chat
 
haha
 
My extension compiles! And then crashes php, I couldn't be happier.
 
at least it compiles :-)
 
@bwoebi It's probably related to the class setup, not to worry ;-)
I wonder if the zend_hash_str_X() methods still take length as sizeof() instead of strlen().
 
Gas station coffee: can't tell if I got coffee or gas.
 
@DanLugg you always get the best of both worlds if the cup is announced as "Black Gold".
 
> Stackoverflowers
@hakre AKA "Texas Tea".
 
fellow stackoverflowers :), can I flag an answer for deletion but it's not spam nor offensive just outdead cauz I fixed the code? - stackoverflow.com/questions/3757071/…
 
11:34 AM
@user3622030 Maturity is overrated.
 
^ supporter of "php-a-fractal-of-bad-design/" =]
 
@RonniSkansing le author stackoverflow.com/users/17875/eevee ;)
 
ah, =]
 
@RonniSkansing Well, PHP is a fractal of bad design. I thought everybody here agreed on that.
 
As is my work ... perfect match.
 
11:42 AM
@Jefffrey Of course, the title we agree with
 
Jeffrey, it is just ranting imo
 
Yup, it's definitely ranting. About a badly-designed language.
 
Sure, so what is the purpose?
 
Anyone here got a bulletproof way of checking if a web browser supports fixed positioning or not? Seen lots of ways to do it but they all seem to have problems in one browsers or another
 
@RonniSkansing To expose its ugliness? so that maybe people can understand they can work with better languages, therefore improving the industry?
 
11:45 AM
@David which does not?
 
Oo @David
You mean whether the user agent is lynx????
 
@Jefffrey PHP and this room is as government is to the general populace in so many countries; we all recognize it's broken, a few of us try to fix it, and we keep on living our lives.
 
Since lots of mobile devices don't support fixed positioning I have to do some style changes to accommodate those devices but I need a bulletproof way of checking
 
I call BS on that
s/lots of mobile devices/ios
 
@DanLugg The only difference being you can easily "fix" PHP by using another language?
 
11:48 AM
@Jefffrey And you can easily fix your government by moving to another country (generally)
 
That's... of course, not the same thing?
 
The only difference being is that we can fix PHP ourselves which is something that doesn't go that easy with other languages
 
Following the analogy, it is.
 
@PeeHaa I have 2 mobile devices here that don't supported fixed positioning and my dads phone doesn't support it either
 
11:49 AM
@PeeHaa (let's be fair, it's not that easy in PHP all the time either)
 
And I have read that lots of other mobile devices don't support it
 
Easier than to change something for c++ :)
 
@DanLugg The analogy was broken from the start.
 
@Jefffrey Rather than carry the broken analogy, what do you propose as an alternate solution?
 
Solution to what?
 
11:50 AM
PHP being so broken? And us using it? And you complaining about it?
 
@PeeHaa I have a mobile here with IE 9 and it doesn't support fixed positioning so the list is incorrect
 
@David are you picking random mobile devices or do you know which you should / want to support?
 
lol IE mobile :P
;-)
 
@DanLugg Use another language? And no, I'm not complaining about PHP because I don't have to use it, yet (for another week, than I'll have to start working on a uni project which requires the use of PHP).
 
I seen on the far right it is only supported in IE 10 on mobile
 
11:52 AM
@Jefffrey Okay, that's great. What language?
 
That's besides the point anyway. Do you know of any good way to use JS to check for fixed positioning support
 
Python, Haskell, even Ruby is better...
I've heard good things about Erlang too
Depends on what you have to do.
 
You feel they share the same ubiquity as PHP?
 
11:53 AM
Comparing erlang with php :|
 
@DanLugg wat
 
I'm going to wager a guess; your bright-eyed bushy-tailed perspective of how terribly broken PHP is comes from how broken PHP is coupled with the fact that you're a university student who hasn't been bludgeoned by the practical-use that is the reality of PHP in the web-dev circus.
 
It mainly comes from ~5 years of "working" (on pet projects, never finished) with it. And the recent realization that, outside the PHP world, there are shitload of much better languages. Never had to work with it (yet), and I definitely realize PHP is easy to deploy.
 
Maybe you never became good at php?
 
lol
@Jefffrey I can't argue that "better" languages (from a design, implementation, performance; pick your poison) exist. It's just that once you've been in the industry for awhile, you recognize that PHP has a reasonable stranglehold on the ecosystem.
 
11:58 AM
@RonniSkansing I'm not a good programmer in general tbh. But I'm trying to improve.
@DanLugg What's funny?
 
@Jefffrey Just @RonniSkansing's smug remark.
 
@DanLugg How does that effect how "good" a language is?
 

« first day (1303 days earlier)      last day (3645 days later) »