« first day (2600 days earlier)      last day (2364 days later) » 

Anonymous
2:00 PM
!!friday
 
@samayo Only 2 days, 9 hours and 58 minutes left until Rebeccaday, OMG!
 
Anonymous
heh...
 
Yeah, I'm kinda leery of AirBNB for that reason
 
Back in the day you just created a peep-hole. Technology has come so far.
 
Wes
2:05 PM
if that happened to me calling the police wouldn't be the only thing i'd do
i would destroy the place for starters
and maybe owner's face
 
Well, that'd likely leave you in a lot of trouble too.
 
Anonymous
Didn't know Igor was working for travis blog.travis-ci.com/2016-05-02-welcome-igor
 
Anonymous
that and that they are they
 
Anonymous
:D
 
Damn, I liked it when Igor used to hang around here.
 
Anonymous
2:08 PM
Yeah, I thought they were dead
 
$9889.00 1 BTC. Man they're close to 10k.
 
I can't seem to get involved in BTC, friends doing it, but gut keeps saying no
 
Yeah, hard to not deal in whole numbers too. Buying 1 coin is expensive
Just invest in something else like Ethereum or Litecoin
 
it just seems so strange though, a baseless sorta investment
plus all the difficulties of cashing out when you have to
non-tangible things are iffy, including code..
 
2:24 PM
@Darius like... tulips? :)
 
tulips or lillies, you name it as long as you can touch it lol
 
evenin
 
こんばんわ
 
O/
@SaitamaSama ....
 
2:33 PM
it translates to konbanwa in romaji, and evening in english :B
 
Wes
@Patrick starting to read now
 
\o/
 
@Patrick put it in your book great quote. :)
 
Clean code book arrived today! Been reading through the foreward
2
I'll see if I can ping you another email tonight
I think the mailbox storage thing might be my outgoing box
 
If you want a great quote for your book I got one.
> Man who goes to bed with itchy bum wakes up with smelly finger.
8
 
2:40 PM
:P
 
:D
 
:D lol
 
Wes
@Patrick Ignore the paragraph above if you work for NASA. i'd remove this :P or you could add a smiley, like this :P
page 9
 
@Wes can you mail me the feedback? ^^
I'm sure there will be lots of other things :D
 
Wes
oh ok
 
2:51 PM
@Sean got it
 
Yup, it was
I keep switching jenkins off because its logfiles fill my server up
 
@Fabor wow… just wow…
 
But the server rebooted like 21 days ago for some reason, and it switched jenkins back on
 
@Gordon Yup. Just make sure to stroke your mustache down to your chin with your thumb and index finger when passing on that quote.
 
@Wes check your inbox. new version :)
 
user895378
2:58 PM
Another chat drive-by to say that I've setup my home office and will be finally working home again starting in January. That means r11 chat will be online all the time! I'm getting married this weekend and then starting late next week I'll be back at the computer writing code most days. Very excited about hanging out with you nerds again :)
16
 
@Sean btw, any tips for getting better at OW in PC?
o/
 
@rdlowrey but you didnt answer my linkedin :P
 
@rdlowrey Many congrats!
 
Anonymous
@rdlowrey congrats
 
Gz!
 
2:59 PM
@rdlowrey Congrats!
 
user895378
@Gordon Many apologies but ... Java ¯\\_(ツ)_/¯
 
@rdlowrey :'( Thank you for my early Christmas present.
 
@rdlowrey heh, fair enough. congrats and all the best for the upcoming marriage
 
@rdlowrey congrats :)
 
user895378
@Gordon but i'll be working primarily as a contractor so there may still be some cycles left over
 
3:00 PM
@SaitamaSama Work with your team, learn to play decently with at least 2 characters per role, die less
 
user895378
we'll talk
 
@Sean hmm... the controls feel really weird after playing at console for so long :B
 
I think BTC might hit 10k tonight.
$53 to go
 
am trying some widow, and genji / McCree these days, and spending most of the time in practice range
 
@Fabor or the bubble will just burst
 
3:02 PM
@Gordon I'm not on that train so it's okay. Excited for people who are though.
Actually a lot of coins are up right now. Everything is turning up Millhouse for me atm.
 
Both play well when you know who you're strong against. McCree is fantastic against agile heroes and tanks if you can position & stun well, make sure you ult where it's hard to counter. More often it's when you flank and they're distracted by your team / teams ults
Genji messes up heroes like pharah and supports
 
mm, tho the flexible movements are quite amazing in PC, than in console. Doing mid air wall climbs, and flicking is so much nicer in mouse
tho, flicking with McCree is taking a lot of practice, but I still enjoy it :B
 
Be sure to use a XXL gaming mouse mat.
Mines a map of the world.
 
Morning
 
3:08 PM
@rdlowrey Double congratulations!
 
@Fabor woah, that's huge
 
@Patrick Physical too or eBook only? :o
 
I have one of those normal sized ones
 
@SaitamaSama 100% worth. Put your keyboard and mouse on it. You'll wonder why you didn't buy one sooner.
 
@Sean first ebook. Will worry about the physical version after the launch. Will probably have to reformat everything x_X
 
3:09 PM
mm
 
@SaitamaSama steelseries QcK+
 
user895378
@LeviMorrison thanks. I'm really excited :)
 
been using that since my cs 1.6 days
 
Wes
@Patrick i think you use the term "value object" (can't actually tell yet) not the same way i use it, but i understand why adam-bien.com/roller/abien/entry/value_object_vs_data_transfer
in DDD value object is another thing. i would stick to DDD definition just because it's more modern
 
@rdlowrey What sort of work is it? You mentioned Java but that's still pretty broad.
 
3:13 PM
@Wes I'm using the DDD definition. why do you think I mean the other one? i even wrote a blog post on it
 
user895378
@LeviMorrison oh no, I won't be doing any java ... backend php stuff working remote
 
Ah, I scanned too quickly it seems :D
Working from home; the dream of many. Hope it's all you dream of!
 
Wes
on page 18 (sorry i'm slow at reading english) you say
Sometimes when a method has too many parameters, you can reduce the number by creating a value object.
 
My wife would love, love, love for me to have a remote job.
 
user895378
@LeviMorrison yeah that. mine too. she's at least as excited about it as I am
 
3:15 PM
@LeviMorrison Yeah, remote is good. No trousers required.
Even if I do have to work US hours.
 
@Wes yeah you can use value objects outside of ddd code
 
Wes
it is one of the possible options sure, but sounds like that's the only option
 
@rdlowrey You guys going to move into the country so she can ride horses every morning? :D
That's what mine would want.
 
user895378
same here. We'll be in Manhattan for a little while longer, though
 
Wes
you can use a dto, a builder (probably antipattern), a map, a struct-like object, or a series of dto's, a series of maps, etc
 
3:17 PM
@LeviMorrison If remote you could move to any country :). I'm tempted to spend a few months moving around to different countries based on VISA next year.
 
Wes
value object is an immutable indivisible object pretty much, doesn't tell me how i am reducing the number of parameters with that
got my point?
 
@rdlowrey To ride horses and everything? Or just move out of the city?
 
user895378
I'd be down for horses myself -- I grew up with them. But I think she'd be open to that too
 
@NikiC That PHP-DS project looks worse and worse when I look at it more. Why on earth did they permit Hashable::hash to return any scalar?
Really terrible choice. You can't get good performance out of that, which is part of the whole point of the thing...
 
3:42 PM
@Patrick Does page 50 text look correct at the top? Weird alignment, looks justified when it shouldn't be.
 
nite all
 
Nightus
 
:)
 
Just gonna fill the PDF full of comments and send it back to you
 
@Fabor hmm can't see it in the current version. maybe I fixed it already
 
3:46 PM
I'll email you a screenshot
 
Grats
 
Anonymous
congrats
 
@PeeHaa Think so!
 
@tereško You could retire now
 
3:56 PM
I really can't
I still have not found where I can sell fake internet points for real money
 
Companies who read your CV will buy them ;)
 
@tereško make sure to click Others with this badge and marvel at how I got this Mar 17 '13 already :D
 
I know
 
Get on his level
 
But gz. I still find it funny how only you, Skeet and me have this badge. It's probably a bug.
 
4:01 PM
Jon Skeet needs to chill though.
Still the only MVC one though.
 
Anonymous
@Gordon I thought so too. It can't be only 3 people
 
Anonymous
If it's a bug, then it's jon skeet
 
@Gordon it's not a bug
the requirement is 1000 points and 200 answers
 
@Patrick type hint -> type declaration :P
 
4:37 PM
@DaveRandom I guess I'm late: @PeeHaa fix certs
@Danack I guess I'm late: make trivial debug docker box
 
!!canonicals
 
@rdlowrey Nice dude! I'll be looking for remote stuff sometime, any tips?? Not worked remotely before but it's my long-term goal
 
5 messages moved to Trash
 
Remote work is a pain in the ass
especially in payment disputes...
 
Not for me
 
4:47 PM
what you gonna do, fly over there ?
 
I work for a company as a remote worker, not contractor.
 
That's different then
 
Indeed
Still remote though
 
I was contracted with a place in Dubai, took 3 months to get final payment, thought i was gonna trash the project.
After that.. never again. Too annoyed
Had contracts setup for late payments, etc. Lawyer just said "good luck with international affairs, not worth it unless it's over xxxx amount of dollars"
 
Yeah, allow that. Clients are no fun.
 
4:57 PM
@LeviMorrison I think it's not unreasonable
I mean, may not all, but at least integer or string
You don't want people people to implement hashing for strings themselves or even explicitly delegate it
Ideally you would actually return a structure of all fields that should be part of the hash -- unfortunately php just doesn't have an efficient way to do that
 
How inefficient are arrays?
 
Though I'm not sure if say you have multiple string fields to hash, whether you'd be better off returning a concatenation that will be hashed internally or xoring explicit hash calls
@LeviMorrison Pretty inefficient
 
What's the proper way to "destruct" a zval? Z_TRY_DELREF_P?
As in I have an array of zval and I'm done with my copies?
 
@LeviMorrison zval_ptr_dtor
Everything else is only if you know what you're going
 
Wes
5:21 PM
\o
 
@NikiC I'm trying to discover how terrible it would be to have a vector_of factory that doesn't store the type info for every zval since logically it should all be the same. For string, int, array, bool, and object is the stuff we store in u1 and u2 of a zval localized to usage site? Meaning can I create blank ones whenever I need to create a zval from a zend_value?
Well, the type info wouldn't be blank, it would be the type_info stored on creation, but I think you get what I meant.
 
5:37 PM
Obviously bool would need some special casing.
Hmm.
Can't find anything else that would cause issues...
Well, maybe that I'm returning it by value and things will want pointers to zvals, maybe.
 
About 35 comments in, on page 5. I'm thinking I need to start skimming to get it back to you in time :p
 
@Sean wow I suck... :D
 
You don't suck at all :V I'm actually pretty hyped to get stuck into the next chapters
 
6:14 PM
@Patrick yeah mine was just a little pedantic. Commas etc. So I stopped doing that and just reading through now.
 
@Fabor that's still good feedback though. As long as you still get to finish the book ^^
 
Save that for the hard-cover
Type Hint -> Type Declaration needs to happen though :P
 
Already noted
 
Type passive-agresive suggestion.
 
lol
 
6:22 PM
@Ocramius perfect timing. In your project, does your webpack config touch 'resolve' at all?
> Module build failed: Error: Couldn't find preset "es2015" relative to directory "/projects/hellofuture/dijon/dijon/common_js"
......because of course it's sane for webpack to be trying to find libraries by scanning up the directory tree, rather than using the directory it was invoked from.
 
in SQL, is it possible to have an additional SELECT query in the SELECT portion? gist example <- I do not know if this is correct, this is just my assumption of how I would write it. This is Oracle SQL*Plus, btw.
 
pffft:
"presets: ['es2015', 'react']," =>
"presets: ['babel-preset-es2015', 'babel-preset-react'].map(require.resolve),"
is of course the solution.
@Tiffany yes, dev.mysql.com/doc/refman/5.7/en/subqueries.html but I'd recommend being more explicit about the join, rather than using the comma syntax
 
6:39 PM
@Danack thanks
dunno what it is, when I started learning SQL, none of the code I referenced from used JOINs. it wasn't until I started messing with MySQL that I found out I should use JOINs.
at this point, I'm still grappling at how I'm going to write this query, because it's going to be fucking massive
 
@Danack you need a .babelrc at the root of the project
for some reason, JS people think that putting things at the root of a project and always assuming that cwd is correct is a good idea
PLOT TWIST: THEY WERE WRONG.
 
@Ocramius It's not only JS people
Python also just loves their cwd-dependent relative paths
 
@NikiC yeah, I know, I just don't like assuming paths. It causes enough problems with stuff like composer.json
wish it was a class...
final class ComposerDefinition { public ALL_THEM_HORRIBLE_DEPS = []; }
 
It's a programming language failure really
Path abstractions shouldn't accept relative paths lightly
Dependency on cwd should be explicit
 
7:01 PM
@Ocramius no......the equivalent of that config is done through webpack for use. It was just chat.stackoverflow.com/transcript/message/40220485#40220485
to tell it, load it from the correct directory, not just start searching parents.
 
@Danack I'll add "Of course! I knew that immediately! So obvious!"
 
I was going to tweet almost exactly that......but couldn't make it funny, and not totally despairing.
 
@Danack I think I might see what you're saying now... this might turn out easier to use joins instead of what I'm doing
 
@Tiffany yeah. At least from the snippet you showed, I couldn't see a reason for wanting the sub-query.
as it's just joining two sets of data.
 
I have three of those subqueries in my root SELECT
X_X
I'm trying to combine like three or four cursors
 
7:08 PM
ive made too many functions to avoid having to invalidate the cache
 
7:24 PM
and the code is disgusting
 
7:39 PM
@Ocramius any chance of getting you to read/review my book? :D
 
@Patrick I'd love to, but realistically I won't get to it until february, sorry :-S
unless there's a paper version
 
@Ocramius until February there might be one :P
@Ocramius I could print and send you one if that makes a difference ^^
 
Anonymous
8:01 PM
@DaveRandom eh?
 
@Patrick send me a mail, but I can't promise anything, sorry :S
 
@Ocramius totally understand, no worries
 
@Patrick :+1:
 
8:33 PM
Afternoon.
 
grats @tereško. now you can hammer all these oop dupes!
 
yeees, yeees
on an unrelated note - this was the most disgusting code I have seen today: stackoverflow.com/questions/47529247/…
 
@tereško be like
 
> $validation = true;
if($validation === true){
 
soo ... the next nearest gold badge now seems to be
 
8:42 PM
oh wait it gets better
 
@tereško you missed something today then...
7 hours ago, by Человек и PHP
guys check this framework php - https://github.com/Rinozet/dvijok_framework
 
@Patrick PHP4 called. They love it!
 
@Patrick MY EYES, MY EYES !!!
 
isn't it beautiful?
 
well ... I guess Np++ does not have the option to change line heights
 
8:48 PM
@Machavity My PHP3 code looked better.
It was almost entirely embedded in HTML, but it hurt less.
 
@Patrick I think this is a lot prettier - it has so much whitespace, that you could call it racist
 
@Trowski Party like it's 1999... Get hacked like it's 2017
 
holy shit
how does one even write this
 
maybe he was hoping that the whitespace disguises his horrible code?
 
8:52 PM
It's not a real class unless it's at least 500 lines long.
 
At least he finally put it on GitHub. You must have got to him tereško.
 
I wish there were un-stars on github
 
yeah .. a little button with "shit" emoji
 
that'd be perfect
 
9:15 PM
author: gameeer22
website: dvijok.000webhostapp.com
Ah... this brings back memories...
 
he's about 5 years older than I thought
 
@Patrick that reddit thread got downvoted into oblivion - guess folks are really not keen of naming issues :|
I didn't put much thought into it either btw
 
@Ocramius which thread?
 
9:38 PM
Yeah that guy got pretty ultra-banned today.
@tereško He did finally put his code on github though. After the whole debacle last night.
 
at least something good came of it
next step would be to beat him till he starts using composer
... and then actually learns OOP
@all, we should get our shit together and start working on producing a newbie manual
:(
 
ThW
@tereško two problems: no benefit for us (motivation), to much is obvious to us (quality)
 
the benefit would be: for teaching junior devs in our respective companies
as for "shit's obvious" ... yeah, that's a big problem
 
@tereško Well after people (Gordon) told him that using globals was bad he went on the defense, culminating in an all caps rage telling us to eat dicks or something.
Apparently the creators of PHP wouldn't make GLOBALS if they were bad. #logic
 
ah .. looks like I missed some excitement
 
9:53 PM
heh yeah, you should read up.
 
I wonder if he was aware, that some of the people, who he was talking to, would be what he meant with "creators of php"
 
Well I did try to tell him.
 
ThW
Does anybody know if here is an implementation of primitive (primitive.lol) in PHP?
 
My personal favorite line
> Gordon it is only your opinionthat globals and statics are bad, IF THEY EXIST, the can be used, so the fact is they can't be bad
 
ThW
@Fabor urgs
 
10:04 PM
@Fabor is he really 22 years old?
 
@tereško Physically probably
 
I wonder if we should create an issue on his repo about the globals and statics :P
 
10:22 PM
@Fabor Oh boy.
 
@ThW O_O
 
ThW
@Ocramius it's fun to build
 
I'm pretty sure tereško was there to ridicule me when I wrote a "framework" 2 or 3 years ago.
 
@Allenph he's here to do the same today
 
And I'm glad for it @Ocramius. Much glad. Wow. Such good thing.
#IAmRoot
 
ThW
10:34 PM
The basic goals for good programming are simple: "separate and encapsulate"
 
@Allenph it should be sarcasm, but I have this nagging suspicion, that it might not be
 
@tereško What do you mean? I'm glad someone was here to tell me I was a dumb ass.
 
ThW
lol
 
11:02 PM
@ThW did you ever experience truncated WSDL definitions? Unsure if that's even your area...
 
.. sometimes I can't understand - are the downvotes I get revenge or am I actually wrong :(
 
that's also a viable option
 
Also... ext-soap ARRRRGGGHHHHH
 
;D
@Ocramius to get this amount of karmic payback, you must have been a mass murder in your previous like ... or worked in advertising
 
11:23 PM
@tereško if I wasn't in my previous life, I might as well become one in this life
seriously... SoapClient complaining about invalid XML... something to do with how the data is transferred :|
 
ThW
@Ocramius nope, I don't have much experience with soap.
 
im so confused
for some reason one js file wont cache
 
@ThW thanks, and sorry for always poking you for when XML goes bad :|
 
ThW
:-)
 
ha, looks like the WSDL is a yomama WSDL, so it is chunked
WHOOOPS!

```
Content-Length: 390
Connection: close

========
Response Body (length 391):
```
there we go :P
 
11:52 PM
got some swanky amphp stickers 😃 thanks @Trowski
3
 
@Ocramius Just use Laravel or jQuery
2
 

« first day (2600 days earlier)      last day (2364 days later) »