« first day (1496 days earlier)      last day (3462 days later) » 

3:00 PM
lol, no, it is international .. or at least - europian
 
oh.. =] ok. About abit over a year ago, I came to this room, thinking mvc was this and that... than you helped me understand that it was not quite so, really appreciate that btw.
 
posted on November 20, 2014 by kbironneau

/* by Tobi */

 
@ziGi first one, because of how it affects search, autocomplete and other "external" concerns
I have tried both .. btw
 
I still don't know what mvc is. I know what it isn't, however :P
 
^ same
but I have my interpretation, which I try to evolve
 
3:06 PM
@tereško yeah, I also do the first one, but the second one seemed more modular to me. Although the first one makes things easier because my namespaces coincide with the folders so I do $service = new \App\Services\Article($mapperFactory, $domainFactory);
 
What's a $domainFactory? I'll have have the whole domain thank you very much!
 
@Jimbo it is an example of shitty naming
 
@Jimbo true
 
as I said before, that codebase is rushed
 
Where's Dave today? :-/
 
3:08 PM
:D
Fair enough
@Fabor Let me check his calendar... yep, dave's got an aids day today
 
-3
A: Do we want hats?

PeeHaaI don't care about hats at all, neither do I care about people having "fun" with hats. What I do care about though is people hat-whoring pouring even more crap into SO just to whore for hats.

 
thank you for the remarks guys, I will fix it
 
That Dave, always with the aid :P
 
@PeeHaa That's totally not going to go down well :P
Because shudders it's putting women down!
Not all women wear hats!
 
lol @PeeHaa
 
3:12 PM
@ziGi lately I have begone referring to "domain objects" as "entities" within the code
makes for easier reading
namespace Fitnessant\Model\Entities;

class Account extends \Components\DomainObject
{
 
I was wondering about the difference yesterday and could not find the difference
 
@tereško As in, just dumb objects right?
 
but I think you weren't here
 
(no business logic?)
 
@Jimbo no, they contain the business logic .. then name is just shorter
 
3:14 PM
@tereško why the extend?
 
I thought that Domain Objects are actually compilations of entities and business logic where ‘entities’ are just plain data objects.
 
the method is used by mappers .. because I am lazy
 
Hmm, I've been referring to entities as dumb objects. They have properties, maybe a few setters and getters, and perhaps a little validation or use a validator object. But other than that, it's up to something else to create, populate and return entities
 
@tereško I do the exact same thing :P
lazyfist
 
lazybump
 
3:16 PM
If you remember my example with the articles and editors yesterday, I made a Domain Object containing single instance of Article and collection of users (the editors)
 
Also I have an extra method which uses requests like that
 
@ziGi yeah .. I still do not understand what you are trying to do there
 
@tereško that reminds me. I wanted to write a small class that populates an entity through reflection for use in mappers
 
yeah .. thought of that once ... conclusion was: why bother
 
fun, huge amounts of fun
 
@tereško well I want to have basic article object that has collection with people that worked on that article (the collection consists of names and emails, nothing special). I created a Entity that keeps the Article related information (id, title, content) plus a collection of User Entities that are partially populated (id, name and email). Then the Article mapper takes the Article Entity and has to populate the data. This data is split in two tables in the Database
 
The image apparently is "not appropriate" , but the text says the exact same thing :|
 
@PeeHaa Lol, it said "whore" on it perhaps
 
What I do is sometimes I would like to take the article information only, sometimes I would like to have the editors populated too
how would you do that?
 
@PeeHaa you need to find a guy with same cap
 
3:31 PM
I need some toy-project to get familiar with functional paradigms/sequence processing/async stuff with F#, erlang or scala. I could not think of any.
 
@Leri make a tick-based browser game
@ziGi I would have two separate instances: Article and EditorCollection
 
@tereško Well, I s*ck at games. Any game that falls under that category?
 
there is no need for the editor collection to be somehow inside the article .. it actually makes it all more complicated
 
Hm, I never thought of that, initially it seemed more composite like this, because you can pass the whole thing around
 
@PeeHaa lol.. the image alone could be .. misunderstood, but I think in the combo with "hat whoring" it was very funny. If you put the hat on a dude (or a dinosaur), I do not think you would have that problem..
 
3:34 PM
but there is no need
ok thank you
 
@Leri tps.pheelit.fr .. not sure if registration is open
 
I am making simple things complicated
 
@RonniSkansing I think we just have to live with the fact that you cannot put any image with a girl in it on the web, because of knee jerk reactions
 
@tereško It's open. Thanks.
 
the part of model layer, which knows how two domain things are related, is the service which interacts with them
that's one of the misconceptions which you have to give up when you stop using active record, because in active record you are forced to make those huge object trees
 
3:37 PM
@PeeHaa [= it is a tough crowd
 
hmmmmmmmmm the news :-)
 
@tereško hm I haven't used active record recently, but I had the misconception to have a service that does a lot of different things (also the mapper part)
so it was tightly coupled to the DB
 
sigh
The moral police just took it up a notch
 
@PeeHaa Sick of those people
Exactly, moral police
They're just hopped on the bandwagon, and you can't say anything because you're a misogynist
 
3:43 PM
@PeeHaa you have to revert it, because she made a radical change to the post
 
@PeeHaa pick your battles with care =]
no need to martyr it out
 
I don't think me reverting would help @tereško
 
Scum, subhuman scum.
 
Now if a 3rd party would do it... wink wink
nudge nudge
 
any of the dutchies looking for a job in rotterdam? This company looks quite nice: qandidate.has-jobs.com/…
 
3:44 PM
32 hours. Nice.
 
their blog is quite interesting to read
 
Ah as if they got rid of that pun
 
Aaaaaaaaaand the thread is killed
knee jerk reaction -> people don't agree -> abort abort abort kill nuke
 
Right, I need alternative words for whore
 
> High performance developer’s laptop with SSD and 16GB RAM, docking station and two big 24” screens on your desk;
 
@Gordon I'm a pro!
 
@Jimbo "incredibly open-minded"
 
A big 24"... not a small one.
 
3:48 PM
Done it
> He who-removes hats is boring, though.
See it?
 
I do now :P
 
@Fabor Fake, bike shouldn't stand up like that
 
@Jimbo it has a kickstand. It's just hard to see
 
@Machavity Badly photoshopped lies.
 
3:57 PM
Oooooooh laura is the same person as this clusterfuck. That explains a lot
/me dives back into code
 
@PeeHaa What the actual...
Was that just for women?
 
Yeah
 
I think I went mental at that... as I know some really good guys who are quiet and don't have anyone to speak up for them who would love to get into programming but can't. What a joke. Anyway, yeah, let's not go there...
 
Exactly let's not ;)
 
in JavaScript & Mattress buying, 10 mins ago, by Retsam
public class Square {
    public int width;
}

public class Rectangle extends Square {
    public int height;
}
internet makes me sad
 
4:01 PM
@tereško Yeh just saw that one :P
 
@ircmaxell lolwtfgtfo
 
@tereško f* mathematics. :-)
 
Guys, if you like games and geometry
that is for you then -> euclidthegame.com
 
@ziGi been there, done that, completed all levels
 
4:05 PM
@Jimbo The preferred way of saying it without invoking bad reactions is rep farming.
 
@Danack I am aware, just the alternative isn't as terrible as it was made out
 
@ircmaxell "But person x does it" is never a good argument :P
does/uses
 
@AndreaFaulds @bwoebi @Gordon The php 7 ast extension is already done, see github.com/nikic/php-ast.
 
@NikiC oh, great. Just not (yet?) merged into php-src?
 
should it be?
 
4:09 PM
Well, pretty much everyone is waiting for it :-D
 
If we have ext/tokenizer in php-src, this one should be too.
 
@Leri I hope you know that both class Square extends Rectangle and class Rectangle extends Square are equally wrong.
 
guess we could do it - not a particularly heavy extension after all
 
@NikiC I would argue yes
@tereško if they are immutable, then Square extends Rectangle is fine
 
Do you comment both the interface and the class that implements it?
 
4:12 PM
@tereško Not sure I understand?
 
@ircmaxell not if you adhere to LSP, because inherited getSide() has no meaning in rectangle.
 
Fira is odd; it uses a weight of 350.
But the CSS says it's 400 and by the definition of mismatched font weights it should work.
 
@tereško can you elaborate? Which method becomes invalid?
@tereško huh? getSide()?
interface Rectangle {
    public function getWidth();
    public function getHeight();
    public function getArea();
    public function getPerimeter();
}
class Square implements Rectangle {
    //...
}
 
@AndreaFaulds …did you see Johannes Schlüter's reason for voting no?
Err, missing context. I mean he will vote no on removing PHP 4 constructors because your tool doesn't identify when parent constructors are called.
 
what other methods do you want to add? because there may be some Square specific ones, but as long as it's immutable it's fine
 
4:15 PM
extends ...
but I see your point
 
now, if it's mutable, then all bets are off
 
Oct 27 at 13:45, by ircmaxell
please stop using "physical" OOP class analogies. It doesn't work
 
Morning!
 
this is not a physical OOP class analogy. This is having an object represent a geometric concept
 
Also, @AndreaFaulds, this bit of Derick:
> I've voted no because of […], as well as this introducing exceptions in ext/standard functionality without that having been OKed first.
 
4:19 PM
Doing a page-by-page check of a new site before launch... we found an inconsistency in language. The user account drop-down has a heading that says "log in or sign up". There's a button that says "log in with facebook", then text "or sign in using your email address". At the bottom, it says "or visit our login page"
So... do you login, signin, sign up, or log in
Never log up, for some reason.
 
I mean, isn't voting on it now the OK?
PHP Internals is so hard >.<
 
I would go with "register" and "sign in"
 
I like that word, register.
 
@AndreaFaulds ^^ Out of curiosity, in this particular case would it use covariance?
 
@ChrisBaker I love how most ads for websites now use "... just log on to our website for more information", even though there's no registration process involved whatsoever
 
4:24 PM
Yeah, as a synonym for "visit". Sounds like old people.
 
If I have a class file that runs methods for an injected class. (Reason being so it's easy to swap out what it's running, like switching PDO and Mysqli), what's the name for this class file?
 
@Fabor decorator?
adapter?
magic?
 
adapterator
 
^ hihihi
 
@Fabor you could call it a facade or an abstraction layer.
 
4:34 PM
Adapter is probably the word I am after :P
 
velociadaptor
2
 
batman
wait, aren't we just throwing random words around?
 
@FlorianMargaine Batman!
2
chat never forgets
unless I tell it so ;)
 
:D
 
dam
1 message moved to Orphan GIFs
 
4:39 PM
MOD FIGHT
 
and he dealt with it ;D
 
:P
 
Ah man that's awesome
 
@Gordon .. who is that? ^^
 
Who do you think it is? LOL
 
4:39 PM
@FlorianMargaine Bruce Maxell
 
@BatProgrammer, Gotham
3 tweets, 12 followers, following 3 users
 
Needs a bruce extra
@BruceMaxell
Not affiliated with @BatProgrammer
0 tweets, 0 followers, following 40 users
 
uhhhm twitter WSOD's on me
 
4:46 PM
Going to watch "The Imitation Game" tonight :)
Oddly the wifey wants to see it more than I do.
 
it comes out next week here
 
user image
6
Uh oh, we have trouble
 
LOL
 
lol
 
ROTFL
 
4:51 PM
@ircmaxell I'll mention no spoilers then :)
 
@DanLugg who is it? :s
 
Gordon
 
@tereško oooooold news. went through the chat yesterday at least three times ;)
 
4:59 PM
not for me =(
 
It's a good one to repost though.
 
@DanLugg say what you want. I can wear everything.
 
I was kinda busy playing Mount & Blade: Warbands
 
Going to Star it to people know it's been posted and new people can be aware.
 
5:00 PM
it's already starred
 
@DanLugg It's the goohker
 
yesterday, by Gordon
this is pretty awesome: http://thehackernews.com/2014/11/lets-encrypt-certificate-authority-to.html
 
@FlorianMargaine yeah and that was old news when I posted it, too
 
needs less redirect
 
Wow
 
5:03 PM
posted on November 20, 2014 by kbironneau

/* by Ban */

 
Lol
Developers want to kill IE
Omg Hahaha
 
@DaveRandom fancy my new ashtray? :-D
 
5:31 PM
@jitu Well, you'll note the largest part of the pie chart...
 
@Machavity Man, that's a classic.
 
Wow, eclipse is such a piece of shit
 
@NikiC Yes it really is
It's one of the biggest pieces of shit I have to work with :(
 
…I am currently installing GCC 4.6.4.
I guess 4.7 is too hipster for the version of nvcc I'm using :/
 
(cons cat (cons cat nil)) http://t.co/BmmyKhPEt8
2
 
5:44 PM
^^ Thanks for sharing that.
/cc @salathe I think you will enjoy that ^
 
the list of contributors on github (here) is the exhaustive list of people who contributed to php-src? 199 sounds like a low number.
 
@FlorianMargaine I guess it's only those who can push to this repo
 
@nikita2206 afaik it's all the people who have a commit in the project :/
 
@FlorianMargaine The list only contains people who've committed and have their author email linked up to their GitHub account.
 
ah. Makes sense.
 
5:53 PM
@LeviMorrison :)
 
6:08 PM
evening
 
6:56 PM
evenin
 
@Machavity by "modern" you mean 2001...?
 
@Fabor If I find something interesting to say and time I will. :)
 
7:21 PM
3 hours to get to wembley, 6 hours of driving tomorrow ...
 
@JoeWatkins The reason why I want in warranty one, at least I wouldn't give a damn why it broke.
 
one day ... maybe ...
 
:-)
@webarto you say that
I had a Chevy cobalt
 
I paid $6000 for the CX7 4x4 for the record, so I'm not too excited wasting $12000 for a new crappy city car.
 
was in the shop literally 15 times in a year before I finally ditched it
a warranty is great, but I'd rather have a car that didn't need one
 
7:27 PM
Therefore, Mazda :-P
Kia was giving me troubles in warranty too, got rid of it.
 
Kia have a really good reputation here, they are the ones doing 100k miles or 7 years or something ...
 
FALSE... :-) 3 years for important parts, 5 years for parts that normally never break, 7 years for pretty much nothing... also, dealer specific probably..
 
yay!!, I have passed two Round 2 of the job thingy =]
 
Mazda on the other hand, pretty poor reputation, the RX8 is like a disposable car, or you can rebuild it, completely, every 40-60k, the sporty petrol lump they put in everything else that isn't a rotary has some documented problems that mean they aren't reliable either ...
@RonniSkansing w00t
 
@RonniSkansing Congrats, better be worth it :-P
@JoeWatkins I'm scared of the 2.3 DISI Turbo, if something breaks, no one here can fix it, and they tend to break for some reason.
Mazda 3 with 2.0 CVVTi engine, 0 problems for 30.000 miles.
 
7:33 PM
@JoeWatkins I want an RX7
 
Therefore, you shouldn't buy "experimental" cars from Mazda. Like CX7 and RX8.
 
they are like gold dust @ircmaxell, at least here ...
dunno if you can see that but top of the line RX8 from 10 years ago, literally worth one dollar ...
 
well, that's an 8
 
yeah ...
 
which was an attempt at bringing back the 7's magic
which failed
 
7:35 PM
[= insta-happy
 
The thing guzzles fuel and oil, plus you're lucky if you get 20k miles without problems.
 
But if someone has extra cash, meh, worth it.
 
niiice
 
This thing is modified, I have the same steering wheel in 2008 :S
 
7:37 PM
steering wheels from 1992 don't look nice ...
I dunno though actually, the rest of the dash matches
 
@webarto not arguing, but it also has a power/weight ratio unsurpassed by anything else on the market
 
@ircmaxell Best car in the world according to Jeremy Clarkson...
I knows, drove this one :-)
 
I love all that ...
 
Licence plate N(uremberg) RX 231 (as in 231hp) :-)
 
fancy ...
my subaru has the plate WR51XWV ... just by chance ...
 
7:44 PM
<3 :D Also has VW buahaha.
 
I'm not so much in love with it at the minute, it's broken and stuck on driveway for the foreseeable future ...
 
People still write WV here.
 
I got a runaround, which I don't really trust ... E46
 
BMW?
 
yeah
 
7:46 PM
That's an awesome car in general, but BMW can be sometimes PITA to maintain, complicated and expensive.
 
@JoeWatkins Hey I once had one of those (older though)
 
I had a coupe for about 5 minutes a while ago ... I like this one more ... but meh ...
 
Or at least shittier looking
 
@PeeHaa Haha, I just like you more from now on :-P (nohomo)
This programming chat room has a petrol-head problem.
 
just had someone tell me that read-only SQLi isn't a major deal oO
 
7:50 PM
Tell this to them.
 
that's true, I think I heard that somewhere ...
 
Read only as in you can't change the data but just read it?
 
@webarto correct
 
WRONG
Andi disagrees.
I believe I could have pushed something to php-src?
 
Every screenshot image I see I look for tabs and bookmarks I can judge.
 
7:53 PM
just makes me wonder who Andi Gutman is
 
Well, get to know your victim first, right?
 
@Fabor This one looks to be from a stalker :P
 
Also check for the weather.
 
lol
 
ah, andi gutmans
part of the zend name, right?
 
7:54 PM
yep
 
He was first in users table.
I could have just picked @bwoebi but he wasn't even born when PHP started.
BOOM
 
no... come on
he's not that young
.. right?
 
16 or 17.
Maybe 18 by now.
 
He's 18
As is Andrea. NikiC is 18 or early 19.
 
WHO'S STALKER NOW @PeeHaa? ^
 
7:57 PM
:D
 
Stalking is such a bad word. Passionately following is better.
6
 
Do you use some sort of software to track finances as in how much you've spent?
 
lol
I'm not a big spender... I usually end up at >0 every month, so it's fine...
 
I don't buy new guns and grenades every week so no.
 
8:02 PM
Well, buy is a strong word, innit.
@FlorianMargaine Same here, but should try to save something starting new year.
"Optimize" the spendings.
 
I'm the same as @FlorianMargaine, don't spend much. Savings naturally occur.
 
Being a nolifer doesn't count.
:-P
30-40% of my salary goes on recurring expenses.
 
You're not far from wrong :P. I've only just got the date for my surgery so I can book holidays now.
But I don't drink, I don't drive. I previously couldn't vacation (last year or so) so yeah...
 
Understandable, I'm chained to office for the next year, so that rules out "vacations" far away. I don't drink out too (bar, etc.) but do spend quite a few on gas.
Thanks for input. No more guns, time for kids.
 
3 freaking years: drupal.org/node/1201452
 
8:08 PM
heh. Yeah, I should add I don't have kids too.
And wife and I split everything 50/50.
 
@ircmaxell The DSN build code is horid... by itself.
 
I'm sigh because of the discussion I had today with some of them...
I have inbox invitations if anyone wants
 
8:24 PM
and I have oneplus invitations :)
 
is __call discouraged or are there any best practices or pitfalls or whatever?
 
I discourage it, yeah.
 
@NikiC Ah yeah, my memory was bad.
@LeviMorrison Oh, yeah, that's unfortunate. I'm not sure how I should handle the whole parent thing... I suppose I could scan the entire codebase and build up a map of classes.
@LeviMorrison Nope!
 
@AndreaFaulds It's simple. Your tool identifies the bad constructors (or he upgrades to PHP 5.7 and gets E_DEPRECATEDs) and then uses Netbeans or PhpStorm to rename them.
Bam, badda bing.
 
8:39 PM
I'm not adding that functionality. But someone else would be welcome to :p
 
@LeviMorrison Looks good to me.
 
Given this XML:

<main id="0">

<sub fec="22/11/2014">

<segment num="U2952" />

</sub>

<sub fec="16/12/2014">

<segment num="U2904" />

</sub>
</main>

How would I get the value of the 'num' attribute in the <segment> element using xpath?
 
Also, most people won't upgrade to a MAJOR.0 release anyway.
^^
They wait for MAJOR.1 or at least a MAJOR.0.1 (but usually the former)
 
I like how stas's first name is inconsistent
In some emails he's Stas, in others Stanislav
 
so I think I may have found a pretty significant SQLi vulnerability in WP
 
8:56 PM
@AndreaFaulds I wonder if that's like "Bob" being short for "Robert".
 
@LeviMorrison I'm pretty sure it's just an abbreviation for Stanislav, yes.
 
@ircmaxell I would not surprised. Good luck, mate.
 
STAS may refer to: Short Term Air Supply St. Thomas Aquinas Seminary, in Winona, Minnesota St. Thomas Aquinas Preparatory Seminary, a Catholic high school seminary in Hannibal, Missouri, closed in 2002 Société de Transports de l'Agglomération Stéphanoise, a public transport executive and operator. Stas (name), a reduced form of Stanislav, Anastasius or Eustachius Superman: The Animated Series Spider-Man the Animated Series School of Technology and Applied Sciences, MG University, Kerala Stewart Army Subpost in New Windsor, NY...
@ircmaxell Responsible disclosure?
 
@AndreaFaulds I need to prove that it's an issue first
 
@ircmaxell Alright.
 

« first day (1496 days earlier)      last day (3462 days later) »