« first day (2350 days earlier)      last day (2591 days later) » 

8:07 AM
@DaveRandom I suggest to put your boy into a Link costume next halloween/carnival/costume party.
Zelda Link. not http link
 
Actually I'm already going as linq.
I got 300 people to dress up as me with only very slight differences, and we will run round in a circle and I will pop out of the middle at the end.
 
videos or it didnt happen
 
(spoiler alert: it didn't happen)
 
I'm havin a look at martinfowler.com/eaaCatalog/dataMapper.html and tryin to implement (for learning purpose) it in addition with the link you gave me yesterday martinfowler.com/eaaCatalog/unitOfWork.html
 
Mornings \o/
Friday for me
 
8:13 AM
holahee \o
 
But, once again, and maybe I'm just stupid, but still confused with "nested objects". For example, client-side, i'll have a form where I can edit a "child". Set his name, first name, sex, birthdate, and add/remove Parents (mother, father, whatever). Both of them, with model, inherit from "person" class, and are "related" with a "many-to-many" association in database. How do you manage the datamapper to retrieve the objects? Do you build a "childmapper" and a "parentmapper"
 
@Julo0sS Sounds like you're entering into fully-fledged ORM territory
 
morning james o/
 
Somehow, i'll retrieve an object that would look like : ["name"=>..., "firstname"=>..., "parents":[ [...parent_instance... ], [ ...another_parent_instance... ]]
@Jimbo exactly...
 
mornings
 
8:16 AM
@Julo0sS in which case you might just as well use an existing ORM instead
 
@Jimbo I think everyone has to make an ORM in his life to see how bad idea it actually is :D
 
@tereško I never did that. Ain't nobody got time for that.
 
I tried it when I was just starting to learn about OOP
did the standard activerecord/late static binding thing
it was about the time when LSB was the "new feature" in php
 
@tereško I don't think an ORM is such a bad idea
Depends on where you put your abstraction limits
 
:D
 
8:19 AM
@MadaraUchiha you are totally right. it's not just "such a bad idea". it's the worst idea.
 
@Gordon If you see an ORM as a pure replacement to direct SQL queries, it's fine
 
@Jimbo have you already had your hands on Andromeda?
 
You layer your abstraction on top, and your model is unaware of it.
ORM does encourage leaky abstraction though, that's true.
 
@tereško I haven't played it yet, I've seen a single gif of an animation this morning and I'm not touching it until it's sorted: imgur.com/ZDXbz97
 
@MadaraUchiha no, it encourages denormalization
 
8:21 AM
so I should just go with doctrine or something
 
@tereško How so?
 
@MadaraUchiha because you can't use it for code, that would have 3+ joins
 
@tereško Why not? Recursion is a thing, you know
 
exactly
 
Wait
I assumed "cat" is a typo of "can't"
Are you suggesting I'm an actual cat?
 
8:24 AM
sorry
 
What do you mean then?
 
I am still trying to finish my first dose of caffeine
 
What's stopping me from having 10 joins? (except my coworkers beating me to death?)
 
@MadaraUchiha sql queries in a loop .. well .. nested loops
 
@tereško No, you construct the query recursively
But you end up with one query
 
8:28 AM
is it better to write a damn big + confusing SQL query ? or get everything and do the filtering in the application ?
 
@MadaraUchiha it's not as much of a help as you would like to think.
 
@tereško vOv that's a property of the normalization though
Not the ORM
 
if you guys are interested in the query dba.stackexchange.com/questions/139511/… + I do have There Objects mapped in Doctrine
 
no, I was referring to queries actually having conditions
 
@Julo0sS with doctrine, dont bother with something
@Vamsi depends which of the two is more expensive.
@Julo0sS you also might want to google "The Vietnam of Computer Science"
 
8:40 AM
@Ocramius No problem dude, I thought you might have changed your mind or something :) It can be any time really so we can work something out
 
Is there some alternative for Visual Composer(Can be payed). I need to be able to make my own components like in Visual Composer
 
Wes
8:57 AM
mornin
 
o/
 
boy, googling man pages is the worst… I just tried to get man fc and only got pages about manchester united. wanna see the man pages for strip? nope, you dont!
 
!!man fc
 
[ builtin, ] echo builtin command, specifying ``/bin/echo'' or ``./echo'' does not. While some builtin commands may exist in more than one shell, their oper- ation may be different under each shell which supports them. Below is a table which lists shell builtin commands, the standard shells that sup- port them and whether they exist as standalone utilities. Only builtin commands for the
 
What's an Oper- ation?
@Jeeves Sort your shit out
 
9:02 AM
@Jimbo What is the biggest heartbreak you've had?
 
@Jimbo emm ... so ... was it worth preordering?
 
@Jeeves @PeeHaa's mom
 
@Jimbo Are you sad today?
 
@Jimbo lol hardcoded hyphens :P
 
@tereško I don't know yet, I'm deliberately not playing it until I can answer YES
Genuinely don't have the time to start it yet anyway
 
9:02 AM
then, why did you preorder?
 
Because muppet
Okay? I ACCEPT I WAS A MUPPET
 
this is one of those "teaching moments" I have heard so much about
 
:D
 
@Jimbo as someone who is much older than you, I can confirm that it won't get better with time
 
mornes
 
9:08 AM
morgen @pmmaga
 
moin
@DaveRandom ping
 
morgen joe sir
 
so TIL about fc. When you do fc -e vim -n 5 0 it will open with the last 5 commands on each line. When you :wq, it will exec these in order. handy.
 
@Gordon I know :-( It's a struggle to get an hour or so to play games sometimes
 
This is Luna. It's her first time outside and a bee stung her nose. Completely h*ckin uncalled for. 13/10 where's t… https://twitter.com/i/web/status/844704788403113984
 
9:12 AM
@Jimbo I can assure you, it's safe to remove the "sometimes" from that sentence once you are my age
 
@Gordon I blame children fo dat
 
\o
 
o/
@Sean You still have a job? :P
 
@PeeHaa Aye haha
 
:-)
Good
 
9:15 AM
@PeeHaa totally
 
@Gordon How many of those monsters do you have btw?
 
@PeeHaa one
 
k
 
24 hours ago, by Gordon
on a completely different topic: if you ever wondered what parenting is like or have kids, you want to browse http://www.fowllanguagecomics.com because it's all true
 
@Sean how did the "interview"/"meeting" go yesterday?
 
Wtf is going on with the drupal stuff + larry garfield?
 
@Jimbo yeah...
 
Some people are properly weird
5
WTF would anybody care
 
yeah, as I say, everything is allowed in love as long as both adults are consenting.
 
Anonymous
Internet points of course
 
Anonymous
9:32 AM
This is too long for me to read garfieldtech.com/blog/tmi-outing
 
I really don't get why personal stuff gets in the way of technical stuff at all
s/personal/any non technical/
I mean just look at @Jimbo. He is into ancient Dutch women. Do we judge him based on that?
 
@JoeWatkins pong
 
@PeeHaa she's his grandma
 
Hey folks, it's been 5 years since I developed application using PHP, I got this family project that I have to use PHP but im unsure of which free IDE is prefered to go with. I can remember in my time PHP Designer was the top notch. Which should i use as for today?
 
for IDEs there is phpstorm
for editors there is: atom, sublime and vs code
 
9:40 AM
and vim
if you want a free IDE there is only Eclipse
 
@someFolk Willing to spend money? PHPStorm. Simple & Fast? Sublime / Atom. Heavy and feature rich? Aptana (Eclipse)
 
@Gordon vim is what you use at 4 am on the production server, while your project manager is panicking at the other end of phonecall
 
@Sean you should try vs code
 
Old school? Notepad Younger than old school? Notepad++
 
vs code is actually pretty nice
 
9:41 AM
@tereško I use vim on a daily basis and not at night
 
I prefer atom .. but that's just me
anyway, of the werk
 
!!xkcd butterflies
 
I can remember Aptana, is it still great?
 
I think it's dead
 
9:42 AM
Ah, shame
 
ohh
 
anyway, AFK
 
Anonymous
@Gordon Is there a vim editor other than the terminal? because I find vim atrocious
 
@someFolk Eclipse with php dtp?
 
9:43 AM
If vs code is the free one I've tried it before, seemed really nice
 
@JoeWatkins sexy :-)
 
Question is, why isn't there a PHP ide built in php :P
 
Because PHP is a shitty language? 😛
 
@MadaraUchiha It's true, but there are IDE's written in JS so that cannot be the reason
 
@PeeHaa True dat.
 
9:45 AM
There should be an SQL IDE written in SQL
 
Although, VS Code is written in TypeScript
So almost JS, just sane.
 
html editor written in css
 
ThW
Building a good IDE is a lot of work.
 
And dedication
 
ThW
and PHP still lacks an easy way to build client side GUI applications.
 
9:47 AM
libui?
 
^
deploying the runtime is no different from less complicated than Java, and people do that all the time
 
Although @JoeWatkins made the bindings work in php so it probably sucks because it's frontend
 
ThW
@PeeHaa And where is the IDE to click a GUI together and just add some event handler with PHP?
 
@samayo there are keybindings for vim in every major IDE so if you want to use it with PHPStorm…
 
fuck you @PeeHaa
 
9:48 AM
@ThW JS also doesn't have that
Websites are also not made like that
Moot point imo
@JoeWatkins I love you too <3
 
Feb 11 '13 at 10:10, by Gordon
let's build a PHP IDE with PHP-GTK :)
obsoleted by
Nov 3 '16 at 10:33, by Gordon
so what about the PHP IDE using libui now?
 
hehe ^
I wonder what we will have in two years
 
ThW
@someFolk more personal need.
 
@FlorianMargaine I just read. You're an idiot if you put out your private life when you're a spokesperson or 'high' person
Absolute muppet
Who on earth thinks that, as a public figure almost, it's a good idea to tell anyone your sexual preferences, or put them online?
 
@ThW oh shit..
 
9:50 AM
@JoeWatkins I've realised in doing all this that it's actually not a giant leap to have actual delegate types (the same syntax as bare functions with no body, possibly with the delegate keyword instead of function but possibly not), would you mind if I steal quite a bit of your ext code to experiment with making that work?
 
@Jimbo Depends on your audience
 
ThW
I tried Frontpage (all these years ago) and after that I built my own webeditor. Today, here are good IDEs/Editors around and JS fulfills the special need of an IDE that runs as a WebApplication in the browser.
 
If your audience are a bunch of self-righteous, close-minded people (which is true most of the times), then yeah, it's a bad idea
 
@Jimbo what drama did I miss?
 
9:51 AM
heh, gonzo is totallly "I am looking at you @ThW"
 
:P
 
ThW
:-P
 
@PeeHaa a headache
 
@DaveRandom I stole bits of your idea, you can steal bits of my code ...
 
ThW
In other words, here are better things to spend your time on. For example help fixing bugs in the PHP core :->
 
so that does that mean if you do Drupal you develop BDSM fantasies?
50 Shades of Drupal
 
@Jimbo because someone digged it out of private channels and used that as an attack to fire him from the drupal association?
 
what the fuck am I reading
 
@FlorianMargaine My problem is on both sides. First, you're a complete and utter idiot if you post any pictures of yourself, regardless of whether it's in iCloud or a registration-only forum, when you're in a position of power / people look up to you.
Secondly, whoever found it and grassed him up is an asshole
His choices are his choices, it's nothing to do with anyone else.
He should have been warned that they're still public and that he has to sort it out
BUT, I think they're saying that it's his lifestyle that they don't agree with, not his views. Although I don't understand too much on this point
And they shouldn't have kicked him out, they should have quietly told him to hide that shit asap!
My pragmatic 2c
 
@Jimbo fundamentally disagree with this
 
9:59 AM
Same here
 
Anonymous
@Gordon lol
 
That is utter fucking bullshit
I don't agree with that hippy often, but when I do it's just now above
 
Hmm, maybe I'm not explaining correctly. I don't think what he's doing is wrong, hell no! He can do what he wants!! and it's absolutely nothing to do with anyone else. But if he posts that online...
That could be drawn back to the org he works for
 
It really shouldn't
 
Nope, it shouldn't. At all. But it will be
(kind of obvious that's how people are)
 
Anonymous
10:01 AM
I can't understand how your secret bedroom daredevil stunts get 'exposed' somehow. Don't you people lock your houses?
 
Yes, but instead of fixing the actual issue (it having impact on your role (pun not intended)) you are limiting what people can / can not do
 
@samayo canadians dont
 
Don't you @FélixGagnon-Grenier?
 
@Jimbo Larry is a coworker
@samayo because when you want to date and find other people with the same interests as yours, today, you use the internet for that.
 
hahahahahahahahahahahahah
-3
Q: what is diffrence between getter and setter in php?

Ponnuchamy T<?php class test { /** * foo container * * @var AbcClass */ private $foo; /** * Gets the foo container. * * @return AbcClass */ public function getFoo() { return $this->foo; } /** * Sets the foo container. * ...

 
10:03 AM
@FlorianMargaine Sure, but it's obvious that putting sexual pictures up of yourself is.. dodgy.. if someone else finds it..
 
WTF level SO
 
and I hate how people responded, but everyone knows that's how 'people' will respond
It's not how it should be, but it's how it is
 
@PeeHaa he probably wouldnt be so confused if someone hadn't felt that the setter should return this
 
For some reason I doubt that. My expectation is pretty low :P
 
@DaveRandom You see my point though, not saying it's bad, just how people would tend to respond is a known problem space. You see my point right? Not being a dick or anything (hopefully)...
 
Anonymous
10:16 AM
Aug 11 '13 at 18:08, by Simon _eQ
24 Answers And, I don't understand none of them. I'm too lazy :)
 
Missing documentation for is_iterable – #74296
 
!!rfcs
 
There are no RFCs in voting. Sorry, but we can't have nice things.
 
Y U NO UNPIN?!?!
 
@Jimbo what is this a bullshit. If there are other people offended by that and complaining, they shall be reminded that they are in no way affected by that and shut up.
 
10:23 AM
Wow Bob is talking sense
Is it backwards day today? :P
 
@bwoebi Agreed
That's a good point actually, people being offended by stuff that's nothing to do with them
I keep drawing it back to politics though... idiots and the media. Okay so... if he just put "this is what I like, and am interested in", then fuck no he's done nothing wrong. If it's pictures, if different
 
And obama
 
@Jimbo That pretty much sums 2016-2017 in a nutshell
"People being offended by stuff that's nothing to do with them"
 
@PeeHaa … is that a surprise?
 
Don't bite man :P
 
10:27 AM
@bwoebi no, it's a joke :)
 
A bad one. But still :P
 
yeah... @bwoebi don't be offended for being an asshole... it's okay... oh wait :P
 
@bwoebi I'm kinda surprised you actually used &hellip; there and not ...
 
Bob is fucking annoying like that
Just use dots like a normal person…
 
@MadaraUchiha It's alt+dot for me, easier than typing three dots :-)
 
10:28 AM
@PeeHaa agreed…
 
You are french. You can't help yourself
 
@FlorianMargaine Shhh he didn't notice :P
 
@MadaraUchiha :P
 
10:30 AM
@MadaraUchiha I am even usually using the &hellip; … you've never noticed?
 
I feel like offending people today
!!poop @Jimbo
 
@bwoebi Nope, just now
 
💩 @‌Jimbo
 
@FlorianMargaine Okay I've read the post more. Someone was actively trying to out his stuff, wtf.
What asshole would do that? Who's this klaus fella?
 
10:31 AM
oh fuck you
 
Seriously
hahahhahahahaha
Damn you are evil
 
lol
 
hahahahhahahaha
 
@Jimbo yes, that's the whole "bullying" stuff...
 
10:32 AM
 
@Jimbo Legend has it he gives presents once every year in december to children
 
some of that transcript is pretty shocking stuff
 
@JoeWatkins Ah that's horrible, it goes deeper than just finding his stuff online, it's about him being harassed about it and forced out
 
BTW @MadaraUchiha can you also do actual ninja edits or will it alwsys show up in history?
 
@PeeHaa I can remove history completely
But I can't prevent my edits from showing if I don't do so.
 
10:34 AM
kk
 
I'm not saying it was dealt with in a reasonable way ... I'm just observing that as a matter of fact, some of that is not very nice to read ...
 
@JoeWatkins That's basically what happens when a person airs their dirty laundry online.
(That's also why mods are forbidden from speaking about the circumstances of suspensions, unless the suspended decides to air it themselves)
I think it's gotten pretty serious if a person feels that they have to air everything themselves to clear up rumors about their private lives.
 
yeah, I feel sorry for him ...
 
@MadaraUchiha thay are not suspensions!! they are shadow tribunals!!! lousy mods suspending people like they want!!! moneky with guns!"!!1
 
In case @Gordon doesn't respond in the near future. Don't worry. Everything is fine. You haven't seen anything.
 
10:47 AM
:P
 
Question time! If you have T&C agreement checkbox, should you be storing if that was checked or not, even if it was a mandatory field?
Guess you probably should track the time it was checked or the T&C version for revision tracking purposes
 
@Sean I do so yes
@Sean Even better
 
Maybe the blood type / dna sequence too, so when it comes to claiming their soul you can verify they were the ones who signed it
 
blood type is not a good way to identify
 
10:52 AM
@Sean Who cares about that
 
retinal scan, dna, fingerprint
 
As long as you can reap souls
 
and apparently voice, though that has to be pretty weak
 
@Sean I thought about this briefly. No. :-)
 
10:55 AM
@tereško next time I meet a Japanese person, I'll be sure to lecture them about it ...
 
@JoeWatkins that's because you have blood type B
obviously
 
lol
 
@tereško wrong! he obviously has blood type C
 
Anonymous
any recommendations for db clients?
 
Anonymous
also moin
 
10:59 AM
@JayIsTooCommon for which db? and on which platform?
 
Anonymous
maria, MAC
 
on windows I use sqlyog. its really nice and does all the things, but its not free
 
I tend to stick with workbench, or CLI
 
on linux I use the thing in phpstorm and the cli client
 
sqlylog can be run on wine too
 
11:04 AM
yes, but the experience is "not that pleasant"
at least I will never not use that again if I dont have to
kept crashing on me frequently and looks butt ugly
 
Simple comparison fails – #74297
 
everything on wine looks nasty ... didn't experience much crashing, but didn't use it for very long, or very complicated things
some crashing (especially on process shutdown) is par for the course with wine ...
was actually a client that wanted to use it, so I installed it so I could walk through stuff with them ... they ended up just using cli ...
 
wow that is slooow
 
Christ, that Drupal post
 
3 messages moved to Trash
 
11:13 AM
Imagine getting kicked out of something you've dedicated your life to for years because some asshole didn't like you. The one group you'd expect to care ends up sticking the knife in your back
 
IKR
 
@PeeHaa actually they just turned one single function into an extension
and looks like it was pretty pointless ... the C isn't as efficient as it could be ...
 
Lol even worse :P
 
11:29 AM
@DaveRandom 😍
wasn't there a proposal to use interface for validating callback types? hrm
kinda wish we'd gotten that, even if I would've preferred extended callables
@Ocramius are you sure retiring it was a good idea?
 
o/
moin Paul
 
11:45 AM
\o
 
11:56 AM
umm... stackoverflow.com/a/42974889/4332216 <- what should I flag it as?...
 
@Saitama Flag it why?
 
@MadaraUchiha isnt it the same as stackoverflow.com/a/4286437/4332216 ?
 
@Saitama Well, it is in that it doesn't add anything new
It isn't in that it's not copy/pasted from it.
So just downvote, comment if you want, and continue
 
well.. true... legit enough! thanks! ^^
 
12:40 PM
3v4l.org/2jMHH Why DateTime, why?
 
@DejanMarjanovic I didn't even know that was a valid thing
 
It totally is man
3v4l.org/oFlFY such relevant slug
 
Anonymous
> unknown error occured while reading the configuration files
 
Anonymous
learn to spell and give me the fucking error git -.-
 
Is it a bug? /random ping @bwoebi @NikiC @Sara @JoeWatkins
I guess @DaveRandom too :-P
 
12:56 PM
Look at this one: 3v4l.org/rObnk
It looks like it goes bad when the diff happens =/
 
Evenings o/
 
Well, I know why I've done it in the past: laziness and/or deadlines
 
@Saitama That is html
 
@PeeHaa No, this is Patrick
 
@Dereleased Yeah, someone is wrong here :-)
 
1:17 PM
@Dereleased No, this is Patrick
 
@DejanMarjanovic Yeah, clearly not enough jQuery is involved.
 
@PeeHaa ikr...
 
@Patrick I need a way to upvote without starring
@DejanMarjanovic I'm guessing that performing the diff shouldn't modify the original? Am I wrong?
 
umm... is there any way I can attach my own handler to the websocket stream (for this chat)
by handler, I mean those, onopen, onclose handlers
 
@Saitama From an extension? A userscript? The console?
The JS room would probably be able to help you better with that one
 
1:31 PM
@MadaraUchiha userscript and/or console
oh, alright! onward to r17
 
:P
 
@Dereleased It's the same result with DateTimeImmutable I think
 
wait, we arrived at the same thing and it got the same ID? That's p dope
 
1:45 PM
:-D
What's the "correct" now? :-)
 
moaning
 
@DejanMarjanovic so, where's the bug there?
@DejanMarjanovic you see that it's fixed in 7.1.3?
 
Yeah, I see it now, too late
 
@samayo Did you get this fixed? Having the same problem with vagrant
 
… :-D
 
1:56 PM
@bwoebi 3v4l.org/uaAXn Actually it was fixed in 7.0.17 :-P :-D
 
@DejanMarjanovic it's been fixed and merged up…
 
Cool story bro, too bad I have 5.3 :-D
 

« first day (2350 days earlier)      last day (2591 days later) »