« first day (2334 days earlier)      last day (2628 days later) » 

Wes
3:02 PM
@DaveRandom apparently it can't resolve the path
despite it's just a full absolute path
so strange
 
is there a windows version of ldd?
 
How & works in PHP? I cannot understand it 3v4l.org/l0J1m
 
!!docs &
 
[ The Iterator interface ] Interface for external iterators or objects that can be iterated themselves internally.
 
fucking hell
 
Bitwise operators allow evaluation and manipulation of specific bits within a value.
 
merci
 
@Wes procmon will show you what it's actually trying to open, I suspect that the path it is trying to open is not the same as what it's showing in the console
 
however still it's vague for me ....
 
also: is it tolerant of / (vs \ )?
 
Wes
3:08 PM
but why would that change @DaveRandom ? the same apache works with 7.1.0, with same conf
also yes, i tried both / and \
 
@Wes possible to teamviewer or sth? I am slightly intrigued
 
Wes
nah bu thanks, it's not the first time that happens. i usually go back to the previous minor version and that fixes it
already deleted everything, tho, and compiling 7.1.2 :B
but*
also updated apache to 2.4.25
 
@DaveRandom Yes, though I reserve the right to be snippy about having my talks declined.
 
something something blackjack and hookers
 
3:24 PM
tbh, I don't think many hookers would be that interested in 45 minute talk about interface segregation.
 
you might find one or two that programmed php to put themselves through pole-dancing school
 
user379888
I want to show a continue button in for loop and when user clicks it, I want to reload the page with the next item in the loop.
 
@FahadUddin Have you tried jQuery?
 
user379888
@Jimbo: Not yet
 
it's great and does all the things
 
user379888
3:29 PM
I have a for each loop in which I have a for loop looping through JSON feed
 
user379888
I want to show 10 items per page
 
 
@MartinAJ perhaps some example code will help
 
@PeeHaa So about that docs entry... I was hoping a big red box about not using it for password hashing might help. If you don't think it will can just delete it
 
big red boxes probably won't hurt, but do the people it would help read docs?
 
3:34 PM
I think the thing I have against it (although I am not too much against it) is having big red boxes on pages for functions which are just fine
 
the first dump: ```$mask & A``` returns 1 because bits 0b00000001 are set in ```$mask``` and ```A```
the second dump: ```$mask & B``` returns 2 because bits 0b00000010 are set in ```$mask``` and ```B```
```A``` is then removed from ```$mask```
the same dumps now return what you would expect, 0, and 2, because bits 0b00000001 is not set and 0b00000010 is ...
 
The poor functions can't help they are being abused
And there is a note already at the bottom
 
Wes
@DaveRandom 7.1.2 works. should i tell someone that the 7.1.3 build (the apache handler) on windows.php.net is broken?
 
I hate markdown so much
3
 
multiline MD in chat won't work anyway
Hate chat not markdown
 
3:36 PM
@Wes you could tell Anatol but it sort of seems unlikely, what's you apache build, apachelounge?
 
@PeeHaa My gripe with the note is that it's at the bottom in TL;DR-land
 
"You have 2 days to implement shitton of functionnalities". This is my last chance to keep this job… Wish me luck.
 
metric or imperial?
 
Wes
@DaveRandom yes. 2.4.23. actually i should try 7.1.3 with .25
 
@PaulCrovella Dunno, I should mail them
 
3:37 PM
and also what kind of shit, because elephants can create a tonne of shit in no time at all
 
Wes
markdown is crap for anyone that knows html, but hell it is so good in phpdoc comments. there html would suck hard
 
definitely need clarification from your project manager on this
@Wes html is crap for anyone that knows html
 
everything is crap for everyone
 
Anyway, I don't have time to discuss about the unit system used by managers (probably a shitty made up unit system based on scrum-hours/meeting)
 
Wes
also true, but it's the best thing we have
 
3:39 PM
@Wes I think it's unlikely that a php.net release would have made it out the door with a bad dll but it's not impossible
 
@Machavity I kinda see what you are saying though
 
what kind of bad dll ?
 
Damnit I shouldn't have asked and just removed it :D
 
Anonymous
@PeeHaa make a new one
 
afaik, windows dlls are built and then windows qa is run, so it can't be that bad ...
also they pgo builds
 
3:40 PM
@JayIsTooCommon chat or markdown? :P
 
Anonymous
chat :D
 
hello guys, anyone here knows laravel 5.4? I've this problem to "solve" and no one could awnser me.
http://stackoverflow.com/questions/42645488/one-event-to-multiple-handlers-laravel
 
@Jay knows laravel, in the biblical sense ...
 
Anonymous
@Linus ^^ someone needs your help
 
Wes
@DaveRandom tbh it happened already, unless i did something wrong, obviously...
or not a windows specific problem
 
3:53 PM
@JoeWatkins great
 
Hi room.
 
Anonymous
@JoseSilva you won't get much Laravel help in here, probably best to ask here laracasts.com/discuss
 
Does anybody use something different from notepad++ for Php programming? I tried many IDEs in past, but they are not good for fast developing. Any ideas?
 
@PeeHaa If the note were closer to the top with a link to password_hash (i.e. no red box) that might be sufficient. I made that after a straight-faced answer that suggested MD5 with a link to the manual
@GianpaoloPapa PHPStorm is the best IDE I know of and it's worth paying for
 
Anonymous
@GianpaoloPapa sublime in my case
 
3:58 PM
ms word
 
yeah I like ms word. it's so simple and quick lawl
 
the tip of a hunting knife and my own chest
 
@PaulCrovella MS Word: It's nowhere near as bad as Frontpage 98
 
Well... I never use local projects for development. I have my dev environments on remote hosts, so I never find useful a IDE that would try to load all the libraries and anything useless when I have to only code and immediately test online
 
occasionally I use an old post office stamp with the rotating rubber things but I'm only allowed ink for it on alternate thursdays
 
4:00 PM
are you guys all use IDEs? noone using a simple text pad?
 
@GianpaoloPapa once you start using an IDE you don't go back, really, and once you start using php storm you never use anything else
2
 
Wes
phpstorm > *
 
@JayIsTooCommon thanks, i'll try there
 
@DaveRandom I started many times, but really... they are useless.
 
php storm is the crack cocaine of php development
 
4:02 PM
but never tried phpstorm
 
@GianpaoloPapa then you weren't using it right :-)
 
Wes
@GianpaoloPapa the beautiful thing about phpstorm is that is just a simple text editor if you want
 
Anonymous
I went from storm to sublime.. so screw you.
 
@GianpaoloPapa They have a 30 day trial. Give it a whirl
 
@GianpaoloPapa there's a month free trial
 
4:02 PM
@JayIsTooCommon Now go to VIM
 
canadians
 
Wes
minimalist interface, no intrusive stuff. we couldn't ask better than that
 
Anonymous
I thought Felix was french?
 
french canadian
Québec born and raised
 
4:04 PM
the version of french that apologizes for it
 
yeah sorry
 
Anonymous
so French without the evil, nice.
 
Anonymous
/cc @Trucy
 
Wes
lol
 
@JayIsTooCommon He's really a Russian spy. They're developing PцP over there
 
4:05 PM
also without the pleasant accent though
 
@Wes and @DaveRandom I am sorry, but I don't understand why to open a heavy IDE if I need only the text editor with variables and functions recognition
 
@Machavity I could live with that
 
Anonymous
@Machavity :P
 
@PaulCrovella some backcountry places have really nive staunch accents though
 
@Machavity wouldn't it be πxπ?
 
4:07 PM
@GianpaoloPapa then don't use it. you asked for opinions but it seems like you're only looking to validate a decision you've already made. sorta pointless conversation.
 
@PaulCrovella that's not true. I would like to change the notepad++ with something better. Not heavy as an IDE and with many features
 
@Dereleased I dunno. You'll have to ask Vladamir Putin
 
Wes
"why to open a heavy IDE" why do you even close it? :B
 
@GianpaoloPapa why? you've said it already does everything you want.
you haven't bothered to try phpstorm but you're sure it's wrong, so...
 
ugh... I so wish to go to phpsc
 
4:12 PM
@Machavity I don't know him personally, but I suppose I could go through nearly any member of the executive branch of the US federal government right now. I'll get to the bottom of this, don't you wo---- *disappears*
 
@GianpaoloPapa code inspections, refactoring tools, integration with web servers, integration with version control, integration with testing tools... the "I" in IDE. If you don't use those things then you don't use them, but they are all useful.
 
no, where did @Dereleased go!!!??? were they... unreleased from this world!!?
 
@PaulCrovella well, n++ is not complete: cannot use the function list in newest versions and compare function is shitty
 
Wes
i don't use any of those. only the raw editor, refactoring, file picker
 
4:13 PM
@FélixGagnon-Grenier No, they were dereleased
Can't you read?
 
lol. indeed
 
If anyone here groks elasticsearch (the ancient version of 0.9) syntax - does:
{"query":{"range":{"pub_date":{"gte":1483228800}}}}
look like a valid query ?
 
3 messages moved to Trash
 
nice.
 
4:14 PM
@Danack Does "god I hope not" help?
 
3 messages moved to Trash
 
denied
 
5 messages moved to Trash
 
that a very good janitor
 
@FélixGagnon-Grenier You. I like you.
 
4:14 PM
the love is shared
 
alternative released
 
Wes
@DaveRandom turns out that 7.1.3 works :B so it was the slightly old apache?
so strange though
 
@Wes you sure you had the right combination of x86/x64?
I forget what the variables are there but I know not everything is compatible with everything
 
Wes
yes. it's quite some time that i do it. i don't know what i'm doing but i do it systematically :B
 
:-P
weird, I would see if I can repro but to be brutally honest I just don't care enough
 
Wes
4:25 PM
me neither :B
 
is :B just :P for people who got their tongues split?
 
errr... sorry :-P
 
@JayIsTooCommon I'm the only french with Florian here init
 
@Trucy with @Florian in it? weird
 
4:36 PM
@Trucy You only French with Florian?
 
in JavaScript, 7 mins ago, by ssube
JS has, has always had, and encourages inheritance, not composition
 
I'd french Florian
 
@JayIsTooCommon lol :P
 
@tereško I'm beginning to think JS is to programming as interpretive dance is to MMA fighting
11
 
@tereško someone got kicked?
 
4:39 PM
in JavaScript, 7 mins ago, by ssube
none of that really applies to the question "should I put method X on the super class"
@FélixGagnon-Grenier not yet
 
@Machavity @FélixGagnon-Grenier you shits understood what I said
 
@_teresko I'm beginning to think JS is to programming as interpretive dance is to MMA fighting
 
slack is down just for me?
 
4:42 PM
Anyone legit know how to deal with balancing work and emails? Just flooded with bug emails. I can't actually do any work because everyone wants me to "Just have a look at this for me please"
 
@tereško hmm... it seems I'm having trouble too right now
 
Yeah
 
@Sean outsource your customer support to india
 
@Sean Inform everyone that to work on existing bugs you need to disconnect from email. And then do just that.
 
old clients moved their server towards funio. had to deal with their support. laughable. they directed me to a git tutorial when asked why they deactivated yum from our server
 
4:44 PM
We have an internal bug report system, our phones are on mute deliberately so they have to go through it instead. In reality, they just bombard me with emails, or email my boss who pulls my focus away lol..
@LeviMorrison I think I might have to lol. Ready to pull my hair out
 
Usually, I have hours during which I respond to mails
 
@Sean merge the bug-mails directly in the bug reporting system. Assign it a ticket number and low priority. Send user automated response that a report has been received and ticket with a given number has been created
 
@Sean tell them there's nothing you can do unless it goes through the bug report system, let your boss know what the impact is on your work - if he keeps pulling you off then that is kinda up to him to do
 
if user call to check the progress of his created ticket, bump its priority by one
 
also stop checking email constantly throughout the day, cut it back to once every couple hours if you can swing it
 
4:48 PM
@PaulCrovella Sods law. The second I start ignoring them my boss wants me to chase up one that's just came through.
 
@FélixGagnon-Grenier @tereško slack seems to be working for me
 
Then I look like an ass for ignoring my emails
 
@Dereleased yup looks back online
 
But cheers, I'll see if I can speak to him about it.
 
@Sean Good luck getting it changed. I have a boss who is a former Engineer for 20 years, and even knowing what this means for our productivity, he still wants us to answer email/slack within seconds, and wants to be able to walk up to our desk at any moment and demand our attention. Some days nothing happens, but some days it's like a context switch every 15 minutes.
He also is familiar with every study about how to make workers more productive (leave them alone in quiet, private spaces, don't face them at walls, etc), and he does the opposite because he's been too brainwashed by working at MegaBigCorp, and he says he doesn't "trust us" to do anything if we had our own quiet offices.
 
Wes
4:51 PM
@JoeWatkins no worky. pastebin.com/3aGH7FPV what it could be?
 
one thing I implemented with an old team was a rotation where individuals would have a couple full days a week uninterrupted by bugs and the like entirely - they were expected to not deal with any incoming stuff and focus on projects completely.. only significant emergencies broke through that
 
that sounds sensible
 
doesn't sound like much, but it was a big step there and helped a lot
 
"and he says he doesn't "trust us" to do anything if we had our own quiet offices." holy shit
 
yay zero year =p
 
4:58 PM
@Trucy Yeah, I know. It's frustrating when the single biggest detriment to your productivity doesn't trust you to be productive without his oversight
I've been at the co longer than him as well =/
 
@RonniSkansing nearly 9k :P
(docs)
 
yep it's a bad one
 
5:21 PM
@Wes found smth nice-to-have feature in other JetBrains IDE what do you think?
 
I don't like the new stackoverflow's UI. That fixed header bothers me. Since my screen size is just 14 inch :-(
 
Screen size doesn't matter, important is do you have FullHD/1080i on it or not!
 
Wes
@brzuchal meh :P
 
@Shafizadeh there's an option in your user preferences to make it not fixed
 
Wes
also i don't do recursion. i loop :B
 
5:27 PM
@PaulCrovella oh wow .. I like it now :-)
 
@Wes Sure, recursion is bad, but with this feature you could see it from "long distance" :P
 
@Wes first do implement, then bind
 
@brzuchal you cannot say "screen size doesn't matter at all" .. but yea, the resolution (FullHD/1080i) is important in this case too.
 
!!lxr zend_do_bind_traits
 
[ /Zend/zend_inheritance.c#1676 ] ZEND_API void zend_do_bind_traits(zend_class_entry *ce) /* {{{ */
 
Wes
5:30 PM
dunno, i wouldn't abuse the phpstorm guys. they have a lot of work to do. php is a mess :P
thanks Joe <3
oh my fictional god it works :o
\o/
it's great being excited for "hello world" kind of stuff :B
warning C4013: 'php_info_print_table_start' undefined; assuming extern returning int
how do i fix this? it's a warning
 
@Wes put the function definition in the header I believe.
got a link to where the code is?
 
Wes
#include "ext/standard/info.h" i suppose
 
!!lxr php_info_print_table_start
 
Wes
yeah that worked
 
[ /ext/standard/info.c#1064 ] PHPAPI void php_info_print_table_start(void) /* {{{ */
 
5:38 PM
@Shafizadeh I had 13" Yoga 2 Pro earlier where was 3600px wide screen everything was so small so I had to decrease resolution to 1080i, now I hot ThinkPad Yoga460 with 14" and native 1080i it.s awesome everything is perfectly fine for me also stackoverflow :)
 
good for you :-)
 
@brzuchal I'm using an LG ultrawide 34-inch (3440 x 1440).....it's quite roomy.
 
@JoeWatkins What do you think about github.com/php/php-src/pull/2407/files? It's probably not the most efficient eviction strategy, but I think it's way better than not caching at all once the cache is full.
 
@PeeHaa i have recently install firewall so it blocked port 80 :-P i forgot it to make it active ...thanks \0/
 
Wes
@Jeeves I KNOW C
 
5:47 PM
@Wes And then why do you ask?
 
Wes
brutal
 
Wes gratz :)
 
Wes
@Jeeves because i only barely know it :B
 
@Wes I know.
 
dayum
 
6:06 PM
@Linus :P
 
6:35 PM
@PeeHaa Ok, removed the old patch and submitted a new one with notes up under the description. See if that works
 
@Danack Niiiiiiice, 3440 on 34-inch is amasing :)
 
@Machavity tnx <3
> Committed revision 342043.
 
Cool
 
Anyone have a link to or know what SQL flavors support deferred constraints in transactions ?
 
6:56 PM
@brzuchal How's your Docker API thing going?
 
7:17 PM
A classic older paper on the patriarchal scientific method. The author is a gender studies professor today… https://twitter.com/i/web/status/839190928879468544
 
@bassxzero Postgres, Oracle
From a quick Google search for "deferred constraints"
@tereško Dear lord...
 
yes indeed... ^
 
@Machavity I tend to agree. JS is pretty wild.
 
hahaha @Machavity
 
It's definitely a different thought process from PHP (or the sane languages)
 
7:27 PM
> If you want to make this a more prominent on the page consider simply making it a warning instead of a note.
 
But I've been having a really big crush on TypeScript recently.
It's JS, with all the power and expressiveness of JS, just sane.
 
guys is it OK to have variables or methods only for unit testing purposes ?
 
@FaisalJulaidan Usually not, the actual answer is "depends"
 
In your actual code?
 
7:31 PM
You generally want to make your code testable, but not write test code in production.
 
No
 
There are a few (very specific) cases where it's OK
 
If you need that your code is most likely wrong
 
I don't think you have one of those cases.
 
@MadaraUchiha screw that. blanket statements FTW \o/
 
7:32 PM
immm but its hard to test without using them becuase iam testing a code that have a loop that is inside an infinite loop
 
@FaisalJulaidan Example please
 
@FaisalJulaidan test the code that is run inside it
 
ok wait
do{
for (int i = 0; i < phases.size(); i++) {
currentPhase = phases.get(i);

// Set the nextPhase before activating the currentPhase
if (i == phases.size() - 1) {
nextPhase = phases.get(0);
} else {
nextPhase = phases.get(i + 1);
}
System.out.println("phase activated: ");

// for testing purposes
currentPhases.add(currentPhase);
nextPhases.add(nextPhase);

currentPhase.start();
}
}while(forEver);
/**
* this method will be responsible of executing the cycle of phases in the junction.
* it will also set the current and next phases to be used by other classes in the same package.
*
* @throws Exception
* this exception will be thrown when there are no set of phases to control the junction
 
arrow up + ctrl +k please @FaisalJulaidan
Also you don't need to test the loop
 
what do you mean
 
7:34 PM
You need to test everything inside it
You don't need the loop for testing
 
@kelunik I had some problems which cames from understanding generators and all that loop so I had limited time and used Clue React Client for now
 
i need to test that i have a correc currentPHase and correct nextPhase
 
@kelunik better than nothing I suppose
 
the loop is in the production code
 
so?
Are you worried that the loop doesn't work?
 
7:35 PM
@JoeWatkins I guess so, too. And better than just throwing away everything once the cache is full. ^^
 
agree
 
i worring that the varibles currentPhase and nextPhase are incorrect
variables*
 
You seen the latest gitamp commit? @Ekin
@FaisalJulaidan So test that
You don't need the loop for that
 
@kelunik maybe also check ttls
 
immm i need the loop to make my porogram work correctly. what do you mean i don't need the loop !
 
7:38 PM
because looping anyway, and there's more chance of being able to free more entries, right ?
 
@PeeHaa Just did, great :-) Another one down.
 
@FaisalJulaidan No you don't
 
@JoeWatkins TTLs are checked on find. No reason to check it there, too. Would be additional traversations.
 
Why would you need that?
 
@MadaraUchiha shit like that is why I would support cutting all of the public funding for gender studies
 
7:39 PM
ah right, looking at it in isolation
I forgot everything I knew about it :D
cept that it's shit
 
in a junction i want to activate the phases of that junction in sequence forever. that is why i need a loop
 
It might free additional memory, but I think it's not worth the CPU time required to check all the things.
 
okay, sounds reasonable
 
i want to test that every phase the currentPhase and nextPhase are correct
 
have you heard the last news from wikileaks?
https://wikileaks.org/ciav7p1/
 
7:45 PM
@FaisalJulaidan So test that
@Machavity do you have that original patch still somewhere :P
Yes I suck
 
@PeeHaa No, I just clicked to delete. Why?
 
You are going to "love" this
20 mins ago, by PeeHaa
> If you want to make this a more prominent on the page consider simply making it a warning instead of a note.
:D
Otherwise I will just add it
@salathe is such a bitch
 
@PeeHaa
Yeah, I don't have that tab open anymore so it's gone
 
@PeeHaa you keep saying so test that so test that :) how without have variables that been created for testing purposes only ?
 
k no worries. I will add it and claim it was my idea all along
 
7:50 PM
@brzuchal :-(
Just ask questions if you have them.
 
@FaisalJulaidan What does that loop structure do?
Not the body, just the loop structure
 
@kelunik I suppose I can start a new open-sourced project on this, then I might have questions. The most important question would be does someone else would need such project
 
loop through a list of phases and set current and next phases
and activate the current phase
 
@kelunik It's kinda specific, mostly there are ready to use API Gateway+Composition+ReverseProxies
 
@FaisalJulaidan No that's the body
 
7:52 PM
immmm sorry
what do you mean loop structure ?
 
Anonymous
wikileaks.org (vault 7) /cc @tereško very interesting
 
You do this
currentPhase = phases.get(i);
In the loop
There is no reason why you wouldn't be able to do currentPhase = phases.get(0); in your test
You don't need a loop for that
 
@JayIsTooCommon I had heard about this like a year ago
it looks like the result of info that was auctioned off on .. emm ... "dark web" for the lack of better description
 
what about next phase ?
 
the rumors were that someone had managed to pick up several command&control servers for CIA related malware
 
7:56 PM
@FaisalJulaidan What about next phase? That's also just phases.get(0); or phases.get(n);
 
i think i got your point
i dont have to test the value of currentPhase in every single iteration
am I right ?
just the functionality
 
Yes
 
aha thanks very much
 
At some point you are testing a loop instead of the actual code you want to test
 
yup makes sense now
 

« first day (2334 days earlier)      last day (2628 days later) »