« first day (2592 days earlier)      last day (2356 days later) » 

3:00 PM
New Simpsons is terrible :(
 
@Fabor you mean the stuff since about 2005?
 
lol yes
 
Wes
i drank 2 liters of sparkling white wine. for no reason whatsoever
 
hi
i have a question
 
I have a pen.
 
3:02 PM
ya i know
 
I have an apple
 
Wes
getting drunk is expensive tho
 
but is it good to use oracle in php connection
i have cloce :P
 
I have an anime
 
3:03 PM
clock:P
 
UUUH! Apple-pen
 
no my question
now
now*
but is it good to use oracle in php connection
 
Wes
3:14 PM
not sure if i should add a deeply unpleasant answer or keep it soft
 
Deep and hard, then go soft on review.
 
@Danack this might sound sacrilegious, but after listening to that, I'm starting to wonder... could it possibly be that, tests could also exist in classes/files/modules being tested (as opposed to all in a "tests" file)? as a side-effect, solving the meaningless "how to test private methods" struggle, but more importantly, maybe increasing the probability that tests testing code evolve at the same time as code it tests.
 
Wes
"i have to ask you stop commenting" lol
fuckers.
and uncivil. people asked me questions and i did the courtesy of answering them
 
3:30 PM
When's 7.2 out?
30th Nov?
 
pls make a release on december 24th some day @Sara
 
@Wes I don't understand comments like that, I really don't. You're having an open discussion and because someone doesn't agree with you, you want them to shut up?
The main two other authors who are as bad as this are Taylor O and that fool who runs OpenCart
 
Wes
i don't give a fuck about them, but:
> You are setting a precedent that people already asked to emulate in other static analyzers that are much more popular than phpstan. This is not just about you already. It is your responsibility to design it well, since it would be your fault if it is not.
i would be really pissed if phpstorm copied the syntax that is clearly going to be incompatible with the language or anything else that is reasonably designed
 
@FélixGagnon-Grenier 25th, let it be released packaged in giftwrap
 
Wes
also he mentions that "phpdoc" is open for extensions... but it's really not, or at least it shouldn't be
 
3:33 PM
:)
 
Wes
what the spec says is that you can add @vendorName\Mytag value
not that you can do anything you want with @param
 
italian hand waving intensifies
 
Wes
no. i am still very calm... atm i'm puzzled by the priorities of people that aren't me
apparently writing array<int, Foo> is much harder than writing array<Foo>
lol
 
<3
coffee time
 
@Wes We should just introduce special types for maps and lists and leave arrays alone.
 
Anonymous
 
Yeah okay @Gordon liking them now.
 
who?
 
Die Antwoord
 
ah
 
3:50 PM
o/
 
/me waves
 
Wes
\o
 
\o
 
"Could not read from remote repository" - Using PHPStorm > VCS > Git > Pull. We're using docker. We use ssh keys on host machine, works fine.
Copying the private key over to the container and adding it makes no difference to PHPStorm, still same error
 
3:56 PM
sounds like it hates you @Jimbo
 
Wes
@DaveRandom i am pissed off that i need to add that getDataSetID() thing also to iterators. i need an interface that i need to implement everywhere. it is awful
 
posted on November 20, 2017

New Cyanide and Happiness Comic

 
what's the url look like ?
does it maybe say https, and it should be git:// ?
 
Wes
atm i am considering leaving the concurrent access error
 
4:10 PM
@Wes It's clear to me that at least some of the people in that discussion do not care about technical feasibility and it's clear some others don't even know basic terminology of the domain.
:|
I added some; hopefully a few people will see the light.
 
Wes
Poka-yoke [poka joke] is a Japanese term that means "mistake-proofing" or "inadvertent error prevention". The key word in the second translation, often omitted, is "inadvertent". There is no poka-yoke solution that protects against an operator's sabotage, but sabotage is a rare behavior among people. A poka-yoke is any mechanism in a lean manufacturing process that helps an equipment operator avoid (yokeru) mistakes (poka). Its purpose is to eliminate product defects by preventing, correcting, or drawing attention to human errors as they occur. The concept was formalised, and the term adopted,...
 
!!wiki wabi-sabi
 
In traditional Japanese aesthetics, Wabi-sabi (侘寂) is a world view centered on the acceptance of transience and imperfection. The aesthetic is sometimes described as one of beauty that is "imperfect, impermanent, and incomplete". It is a concept derived from the Buddhist teaching of the three marks of existence (三法印, sanbōin), specifically impermanence (無常, mujō), suffering (苦, ku) and emptiness or absence of self-nature (空, kū). Characteristics of the wabi-sabi aesthetic include asymmetry, roughness, simplicity, economy, austerity, modesty, intimacy, and appreciation of the ingenuous integrity...
 
So next time you cause a bug just tell you boss Wabi Sabi.
 
With the MIT license, do I change the copyright to myself on modification, or do I keep it as the original?
 
4:26 PM
@Gordon ping.
 
@Fabor make it quick
 
Oh if you're busy don't worry. I messaged you on steam.
Can ask later
 
I'll pop my steam ID in the discord when I get in :o
 
you did? I see not message
 
- me: "hey I don't need this folder naming redundancy (platform/platform) let's move everything one level higher
- narrator: "moving node_modules was, indeed, not a good idea"
 
Wes
4:32 PM
lol
 
4:55 PM
Morning.
 
ohayou o/
 
@FélixGagnon-Grenier moving node_modules is generally not fun.
 
yeah... I am just seeing the effects it have on jetbrains ide reconstructing indexes...
 
> I regret everything
 
@Wes Name of your testing framework?
 
4:57 PM
:D
 
Wait, why isn't node_modules in your ignore?
 
Wes
@Allenph Supashit
 
Should it even index it?
 
Wes
but one day i will finish it
 
to make this even worse, it seems mercurial also have to index it, because while node_modules was in the ignore, it's not one level higher
 
4:58 PM
@Wes Rofl. You don't see how Poka-yoke might evolve into a decent name with it's meaning?
 
@MadaraUchiha I knew I was using webstorm wrong
 
@FélixGagnon-Grenier You're using Mercurial?
 
yes, indeed, I should ignore node_modules at ide level (if that's even doable?)
 
I've never seen anyone use that still. :p Is it still pretty common? Is it better?
 
@FélixGagnon-Grenier I think it's doable.
 
4:59 PM
@Allenph per project basis, we are using mercurial
 
I think it automagically ignores things your VCS ignores
 
I feel dumb
 
5:16 PM
Stop feeling him.
 
Anonymous
Did you just assume Dumbs gender?
 
I did that once, pulled a muscle, couldn't walk properly for weeks
 
#triggered
 
Anonymous
those healthy eyes
 
Trying to get PHP Mess Detector running in PhpStorm, installed it via composer on my machine but in PhpStorm when I try to validate I get "Can not run PHP Mess Detector". I hear this is just phpmd --version. So I open a prompt in the same .bat folder and it returns fine for thatc ommand.
Env variable seems fine, new prompt runs phpmd --version fine too.
 
Anonymous
5:27 PM
@JoeWatkins hah! someone cancelled your stars. Fuck you <3.
 
So it seems whenever you run this bullshit commandline tool "artisan", even if you run ./artisan --help it will go off and execute it's cron schedule in the background
 
@Fabor Windows?
 
@DaveRandom Correct
 
@Fabor Try completely exiting all PHP Storm processes and starting them again. Existing processes don't inherit changes to env vars.
 
@DaveRandom I did but for my own sanity I will do it once more.
 
5:29 PM
I don't think the "Restart" option in PHP Storm works either
you have to actually exit and start them again
 
File -> Exit. Same issue.
 
and make sure all the processes are gone from task manager before starting a new one
it does some overly clever stuff where it keeps a master process around for fast warmups, and it doesn't die until a few seconds after all the windows are gone
(iirc)
 
Let me just restart the PC while I make a drink. Overkill maybe but w/e
 
oh wait
 
waiting
 
5:32 PM
it makes me put the full path in anyway
 
Yeah
I could blank it I suppose
 
so it shouldn't be dependent on env vars
just just trying it now, waiting for composer
 
True. Stupid PHPMD.
 
@DaveRandom given how windows sucks, not surprising
 
@Fabor where did you point it?
you need to point it at <project>\vendor\bin, not <project>\vendor\phpmd\phpmd\src\bin
 
5:41 PM
I did. selected the .bat
 
weird, works for me
 
Oh wait
Yeah, had the phpmd one. thanks
 
(y)
^ that's "woman needing a piss emoji", btw
 
How is that - nevermind
 
curvy hips with crossed legs
 
5:49 PM
How cpu intensive is phpmd?
 
It has timeout (line) stuff built in
 
@Sean add yourself as a separator copyright holder, with appropriate years.
 
lol
 
@FélixGagnon-Grenier up to you.....I don't do that, but I do have my tests mirror the application layout, with just the top level namespace replaced Foo => FooTest, which is almost the same as having them alongside.
> solving the meaningless "how to test private methods"
Or ........just don't.
 
Why would you want to test private methods?
 
6:14 PM
I'm not sure either @Allenph. I'm wondering about because, presently in Code Complete's chapter about unit tests, there is a concern about "opaque box" and "glass box" testing of a module/class, the argument being that indeed, at one level of testing you only care about the interface of a class, but you should also care about how data is treated internally
 
posted on November 20, 2017 by CommitStrip

 
@FélixGagnon-Grenier I mean...that's a little much isn't it?
 
well, if my class design was of superior craftmanship, I would possibly assume that I have few enough responsibility in my classes so that interface testing will be sufficient to ensure stable behaviour, but reality being what it is, sometimes I'd feel better about testing an internal method.
 
The whole point of OOP is to have isolate blocks of code which only perform one thing...right? As long as it does that one thing...then...
 
of course, redesign might be a better alternative than testing private methods
 
6:17 PM
You should be able to identify responsibility just from the interfaces, shouldn't you? :p
 
Oh...wait. I see. You could end up writing the same or similar private method 943 times for each object that implements a certain interface, huh?
 
hmmm... I don't think I follow.
 
I can't think of a way to explain it.
 
Anonymous
6:37 PM
@Shafizadeh did you fix your problem
 
Anonymous
6:51 PM
!!wotd
 
deontology ethics, especially that branch dealing with duty, moral obligation, and right action.
 
None of that here.
 
hi
could someone point me where to look for the solution to my problem
 
i have set up a website with 000webhost and am now receiving a lot of spam email that have probably been sent through the contact form on my website
how can i stop the spamming?
 
thanks
 
7:09 PM
@Danack When you thinking about doing that dry run?
 
january sometime
 
:thumbsup:
 
8:02 PM
@Allenph I think the point of objected oriented programming is to structure things (orient) around objects.
Not trying to be cute; nobody seems to agree on anything except that objects are involved.
 
@LeviMorrison But what's the point of THAT?
 
Bjarne Stroustroup likes classes because they give you a way to organize your code.
 
Wow. A quick Google yields a lot of debate on specifics.
 
“Animals” can’t feel pain or emotions? “Animals”? We aren’t plants, fungi or bacteria, so that makes us animals. At what point in our evolution do they think we became capable of feeling pain or emotions? Australopithecus? Homo habilis? Homo erectus. https://ind.pn/2zVlo0T
2
 
I guess sweeping blanket statements are generally a bad idea. Who knew?
@tereško If I remember right Socrates or one of his immediate intellectual descendants pretty much figured that one out already.
 
8:09 PM
Any of you guys work for a company with limitless vacation days?
Self/Unemployed doesn't count.
 
@Fabor I have before. You mean those companies that say "Unlimited PTO"?
 
How did it work out for you?
PTO?
 
Paid Time Off.
It's a trap. At least it was for me.
 
details?
 
@tereško About the unlimited PTO or the ancient Greek thing?
 
8:12 PM
time-off
 
They used it as a selling point in the interview and then turned it around and used it as a weapon and I probably got LESS time off along with longer regular hours.
Essentially instead of having a buffer of days I could use at any time, they decided when it was appropriate to take time off which was essentially never and then bogged us down with more work than we should have had.
I don't know though...it could be a positive. :p
 
Ayy fatty boom boom!
 
I used "essentially" way too many times there.
 
Essentially you did.
 
The essence was essentially essential to my essential point, essentially.
 
8:57 PM
o/
 
Anonymous
9:12 PM
It is worth it to buy a psp
 
Get a switch instead, I guess
 
Anonymous
It's too big and I only need to play ps2 games
 
You have your answer, I guess
 
Anonymous
I'm far behind the gaming world so it's better to ask
 
Anonymous
Not sure if I should go for the razor gaming phone
 
9:18 PM
I am far behind too... I don't see myself ever catching up.
 
Anonymous
10 years since I owned a console
 
Anonymous
My cousin bought a ps3 and we played games this weekend and now the nostaligia is all back
 
Anonymous
Damn growing up
 
Being an adult means you can buy your own console.
And eat ice-cream for dinner.
I actually had ice-cream for breakfast this morning.
 
@Fabor And it was glorious.
 
Anonymous
9:21 PM
Meh I don't have my own place yet
 
So you don't even pay rent, even easier to buy a console and ice-cream.
@MadaraUchiha It was okay :P, ice-cream here is... meh.
 
Anonymous
Nah .. am living with 5 people in 1 room :/
 
Anonymous
But def gonna buy a ps4 or gaming pc once I get my own place
 
Anonymous
Ps4 is 199 already \0/
 
9:37 PM
5 people 1 room. How do you decide who gets the bed and what happens if you all get hurry-tummy?
 
Anonymous
5 beds you silly
 
Anonymous
3 bathrooms
 
So you have 4 rooms.
 
Anonymous
No. 1 room 5 beds
 
So you have 5 beds, 4 walls but 3 bathrooms.
 
Anonymous
9:42 PM
Nah there are 4 other rooms with 4-6 beds inside
 
I think they call that prison. Or camp
 
Anonymous
That's one way to describe it
 
Basically it's a dormitory ftr.
 
Anonymous
Aside from snoring and farting it's all good
 
So the fapping is okay? :P
 
Anonymous
9:44 PM
Man I hate people who snore with passion now
 
Oh yeah, some snorers are insane.
Gotta rotate them over.
 
Anonymous
Some of the guys I suspect are here because their wives threw them out for the sole reason of snoring. It is so unbelivably loud that I laugh sometimes
 
@tereško I'm glad that they voted on it and reached an informed consensus.
MPs stands for Morons in Parliament or something?
 
10:03 PM
@MadaraUchiha Mormons*
 
I loved Married with Children
 

« first day (2592 days earlier)      last day (2356 days later) »