« first day (2922 days earlier)      last day (2251 days later) » 
00:00 - 19:0019:00 - 00:00

Wes
Wes
00:07
i might have reached that point in a open source project where the commit message must be accurate -- rather than "change all the things"
00:34
@Wes
Wes
Wes
do u actually get that? :B
I don't. went over my head
@Wes you bought me AoE
damn dude, you're getting old
memory is failing
Wes
Wes
i did but i don't think you ever played it?
I played it before you bought it for me
and a few times after
it's not a new game for me
Wes
Wes
00:36
wololo
"i have extra wood" was my fav
hahaha wololo wtf
Wes
Wes
01:05
01:15
Is there a military tactics Stack Exchange that anyone know of? Made it from the Iliad to the second Punic Wars and want a place to talk about it.
#TotallyOffTopic
Wes
Wes
not more offtopic than weird dogs
@Wes The fact that it took me ~2-3 min to figure out why this was funny is really sad....
01:59
Generate 'link' elements in HTML head, for rel="next", "prev", "up", "start" – #77018
 
3 hours later…
04:35
Can't seem to sleep tonight...
 
3 hours later…
07:33
Hello every body
Wes
Wes
07:50
RIP Paul Allen :(
linguaphile a language and word lover.
08:59
Conflicting info re. PHP.INI section headings – #77021
moin
09:22
hey everyone
Spaß ist verboten.
:(
Wes
Wes
09:33
\o
nichts ist verboten
quick question, what could be the root of the problem when a deprecation warning gets written into an email I'm sending out?
It's a deprecation warning of PHP 7.2 about the deprecated `each` function, used in ZF1 in my case here. The mail gets sent in a script running in the CLI environment, error_reporting is set to ignore deprecated there though
@GNi33 do you use a library for smtp communication or do you use sendmail?
Wes
Wes
today i got another pr merged for hacktoberfest. it's a 4 char change :B
sendmail
Wes
Wes
09:39
*9 including indentation :B
@GNi33 sendmail uses popen which forks, which I guess means it inherits its parents stderr. Do you happen to have display_errors = stderr set ?
10:01
@GNi33 maybe you're using a template library that uses an output buffer to collect the generated email? ZF1 might dynamically replace your error handler with it's own one while it's doing it's thing....
These Google people sure seem like murderous dicks http://nyer.cm/F6IGcTD
/big tweet is big.
@Wes chinese? or indian?
morns
also, morning
Wes
Wes
lol
@tereško definitely chinese
10:20
thank you guys, I'll have a look at all that. error_reporting settings look good
Wes
Wes
11:06
@NikiC how does the function scope's hash table work? does it have a min size? is it preallocated, or it resizes incrementally like arrays?
11:34
PHP-FPM cannot shutdown processes – #77023
11:47
@Wes assuming you are not using variable variables or similar, there is no hash table, instead a fixed number of slots in the stack frame are used
If you do use variable variables, then it behaves like a normal array
Wes
Wes
ah so it knows beforehand how many variables there are, and it just refers them by number
Morngins
12:03
\o
Yo Pieter-san
@MadaraUchiha you around?
is it possible to change an accepted answer @MadaraUchiha?
4
A: How to modify ~/.ssh folder & files in windows?

BrysonI have created and regularly use a ".ssh" directory on Windows 7; as mentioned in the above comments, Windows Explorer doesn't support them, or more specifically, the error-checking in Windows Explorer does not allow you to give a file name that starts with a period. That same restriction does no...

@Tiffany only OP can do that
@Tiffany No, even mods can't do that. We can delete the accepted answer if it's too terrible.
@MadaraUchiha Just a question, if you award bounty to a user and that user's account is removed, do you get that bounty back?
12:14
But that won't reassign the checkmark
@MadaraUchiha ah
@mega6382 Almost sure that no.
@MadaraUchiha hmmm, well that sucks, stackoverflow.com/questions/19267934/…
OP accepted his own answer, and it's bad... doesn't explain anything... but it's downvoted to oblivion so that helps
@Tiffany I've often seen that people only check the top most answer, and when an OP accepts his/her own answer it doesn't automatically comes on top, like other accepted answers, so that should help people who would come to that page.
12:17
I don't accept my own answers, it feels weird
@Tiffany I once did, stackoverflow.com/questions/17027043/… but then the other answer grew too much so, i accepted that instead
@mega6382 but does it? you paid a bounty because of the answer, not the answer provider.
at least, that's how it is supposed to work
@mega6382 Nope
I kind of wish I created an account on SO earlier... I put it off for so long
@rlemon Yes, it was because of the answer, but it was to someone, and as that someone doesn't exist anymore, that bounty is just wasted.
12:20
but the answer lives on. the bounty was for the answer
@mega6382 if you buy something, and the seller dies, do you get a refund?
@Tiffany the first account I created was in 2012, but it was blocked and then deleted, for classified reasons :P
rep doesn't get you anything but an indication of how well your answers are (or how many thousands of questions you asked about jQuery)
@Tiffany I awarded the bounty after the answer was provided, just as a gesture of my appreciation.
@rlemon but if you have 10k+ you can see deleted stuff :P
@rlemon that's not entirely true. It gets you the occasional swag and it can somewhat help you finding jobs
12:21
@mega6382 regardless... so you play a free game, and purchase it afterwards as a gesture of appreciation, and the developer dies, do you get a refund?
that is fun, but there is no great information contained in deleted content most of the time.
@rlemon for the curious... it's like burning in the back of my head...
"what's it say what's it say what's it say what's it say"
@Gordon I've yet to see any swag from SO, even when I won it (grumbles in old man) and I get way more hits from github than I do here. not that my anecdote doesn't mean it doesn't help.
@rlemon but sometimes there is stackoverflow.com/questions/234075/…
@rlemon answer more :P
12:23
like I said, it is fun, but there is no information there that's going to help me fix my db issue
@rlemon well, yeah. in general, you'll need lots of reps in order for it to pay off
@Tiffany nahh, I'm good. thanks 😀
@rlemon you need to be atleast 100k to get swag, but i believe after 20k you can email them to send you some swag, and they might accept.
won it
has @MadaraUchiha received anything?
@rlemon won what?
12:24
swag
didn't get it tho
they used to do weird competitions on meta
@rlemon from that counting coins and candy stuff on meta?
nahh, old one - write a poem about christmas or something
they 'sent it', I never got it. Tim said they'd send it again, never got it again. gave up
Wes
Wes
12:26
css parser spec is so weird
@Tiffany you seem to be really against it, :P
I remember when I backed Secret Hitler on Kickstarter... my game box was missing a single envelope for the allegiance cards... I emailed them and asked if they could send me one. They sent me a whole new game instead.
@mega6382 not against, I just agree with rlemon and Madara
trying to form the situation in another way to see a different side :P
@Tiffany I've been meaning to give it a try on table top simulator for a long time... How do you like it?
@Tiffany But buying a game or anything means that the money you give can be spent, but rep can't be spent and when an account is removed the rep is lost, I was just wondering that instead of the rep going into the oblivion the one who awarded might get it back,
@pmmaga it is fun. It's sometimes hard to get people to play it because it has Hitler in the name, though.
12:29
fine, you give me a star sticker for A+ work, I wear it on my chest proud and then get hit by a car. do you chase the ambulance down to get that sticker back?
😉
@Tiffany laughs and cries at the same time
@pmmaga I gave the extra copy to my boss (after I took an envelope from it), and he's been trying to get his friends to play it with him, but they won't
@rlemon Now I can see that I just can't win, :P
you can't win?! dude I just got hit by a car!
@Tiffany A few things, yes
I have a coffee mug somewhere, a few shirts, some stickers
ChrisF the bastard got a god damned beer mug
12:32
@Gordon what did you get?
The only tech related shirt I have is my "PHP 6 Certified" t-shirt
@rlemon Not to be insensitive, but if that sticker can help me, I might just chase down that ambulance :P
you'll have to pry it from my cold dead hands
it's MY sticker
@mega6382 I've bought a lot of thinkgeek shirts over the years
ugh, they suck for international shipping
also, game developers like to give t-shirts at PAX (not really tech-related, but still somewhat related)
SplFileObject::__toString() may return array – #77024
12:35
I've ordered quite a bit from thinkgeek, but then stopped when they sent me a DOA lamp, that cost me $30 to buy, and another $30 in duty because idk.. I've payed less than that for legit electronics.
@tereško around?
@Jeeves <3
they offered to replace it, but I had to send it back, pay the shipping to do so, and pay the duty on the new item again
so a $30 lamp would cost me well over $100 by the end
@mega6382 let me think. I got swag for 100k and 250k. I also got swag every now and then while in the all time top 100. well, and I got swag for being a mod. Items included a tankard, a cornhole toss game, a mug, pens, stickers and shirts and a thermos. I might have forgotten things.
@Jeeves hahaha.. oh well...
12:37
@Gordon cool, and whats a "cornhole toss game"?
@mega6382 kinda similar to throwing horseshoes, except you're trying to throw a bean bag into a hole
though, there may be finer rules to either game that I'm not aware of
@mega6382 it's a redneck game here
@Tiffany Never seen that before, just opened their site, it seems more for nerds than geeks though, nothing about programming just some pop-culture crap
@mega6382 they used to have tons of programming shirts. I have one "Think globally, act within local variable scope"
that's sad
@mega6382 what Tiffany said. It's a black wooden frame with a hole in it. Says stack overflow on it. You throw small bags through the hole. Just that I dont have the bags anymore and most people think it's some sort of trophy.
@Tiffany I brought my php 6 shirt from made in production, they have some good programming related shirts there, you should check it out.
12:43
@mega6382 they still have some programming shirts, but only a handful compared to everything else :(
@Gordon lol
@Tiffany I was just thinking about and did a couple of searches on google, and apparently there is no consensus about whats the difference between "geeks" and "nerds"
I always thought it was "geeks: people who are smart and likes to work on fields related to maths, like physics and computers" and "nerds: the socially awkward people, who wears glasses and people think that they are smart"
Geeks are people that like nerdy stuff. Nerds are people that wonder about the difference between geeks and nerds. :D
And I've always believed that dorks are the people who like anime :P
@Wes You know we invented wheels a long time ago, i don't see whats the point of making robots have legs
Wes
Wes
when american army fought on the italian alps, none of the vehicle they had did well on that kind of terrain. italian army just used donkeys, american were amazed by that but found them humiliating. so now they are making mechanic donkeys. now you know the story behind that thing :D @mega6382
@mega6382 wheels are notoriously bad for all kinds of terrain
@Gordon Even so, we also have cracked the code on howto make things fly, so there is that too
USR1 is used to cycle log files in fpm, right?
@Gordon yeah, I saw that on twitter a few days ago
@Wes They did a good job of making this thing super, super creepy.
Wes
Wes
i'm not sure why they didn't give them a face yet
13:41
at last I have figured out how to pick the spool pins, yay
@Sean yup SIGUSR1 re-open log file / SIGUSR2 graceful reload of all workers + reload of fpm conf/binary
@tereško Its not hard really
If I have a key that can just fit into a lock, I can most likely pick that lock with that key
.. you probably tried to sound smart
@tereško No, just tried to say that picking a lock is incredibly easy
14:11
Hi guys I need some help quickly. I'm trying to update a table, but there seems to be an issue. Problem is there are no errors being reported
@JamesBaloyi contact your paid support for quick help regarding undefined problems
I am tech support
@JamesBaloyi ...then you should be painfully aware that your first message contains nowhere near enough information to help you (you didn't even say where the "table" is or what sort of rdbms you are using)
also there is always an error message, even if it's no more specific than sigsegv
Tried to install php-mbstring and aptitude completely fucked my PHP install.
@JamesBaloyi do you have errors turned on?
14:22
If nothing is hitting your error log then the application is probably swallowing the error. It might be spitting it out somewhere else or just suppressing it
But yes, way too unspecific for any real help
inb4 half an hour later it turns out the query starts with INSERT IGNORE
@Sean Sorry, just figured it out... the issue was not with the PHP rather the JS on the previous page... So sorry for having wasted your time, Fellaz
@Sjon Cheers! Just fixing a long standing issue with logrotate hah
@Sean np, what did your distro supply instead of postrotate; /bin/kill -SIGUSR1 `cat /run/php-fpm/php-fpm.pid 2>/dev/null` 2>/dev/null || true; endscript ?
Oh yeah I forgot about that. It does have its own logrotate file but the destination of site logs were changed
14:41
does all packages via composer have to be registered with packagist? or is it enough to publish versions to github?
i'm trying to figure out how composer actually discovers libs
So my company has written a PHP extension which acts as a bridge between a C utility and PHP. They handed me an RPM file but I'm on Debian so I used alien to convert it and installed it.

The extension should be installed, but if it is it's not enabled. How do you enable a third party extension like that? My coworkers are saying it just worked when they installed the binaries with Fedora's package manager.
@Daniel pretty sure you have to register it through packagist
there are loads of PHP libraries in github, not all of them are accessible through composer
@Allenph is it a phar?
@Tiffany No. It's a binary.
Well, a package wrapping a binary.
14:43
@Daniel getcomposer.org if you click "Browse Packages" it links to packagist
@Daniel you can mark a package to be retrieved directly from github. Read more here
@pmmaga but that would have to be the user downloading the library, not the library's author
but author could provide it as "here's how to install this through composer"
@Tiffany ahhh, indeed, from a publishing perspective yes, it has to be via packagist
though I think users might be hesitant to install it if it's not registered through packagist, unless it was something experimental or the like
What's the returned type of an empty row in php? I am getting nonnumeric value rror thrown on a line of code where I'm using the pow() function on the values
I thought if I could gettype it, then I can add condition and convert it to a fixed value within the loop
14:51
@Allenph echo 'extension=foo.so' > /etc/php.d/30-foo.ini ?
@R1ddler empty row? from your db?
Could be an empty string, could be null depending on what you mean as empty
e.g. if gettype($value = nonnumeric) then $value = 0.00
@Sean yes
@DaveRandom I'll try that.
Thanks.
@pmmaga Thanks, that gives a definite answer.
@Allenph basically you need to know where the .so is, and you need to make sure it is being loaded in the config. It should either work or you will get some sort of "...in unknown on line 0" error when you do php -m
if you get neither then it's not even trying to load it
well, or you could get a crash I guess
tbh building from src is possibly simpler, if you have access to it
14:54
Yeah. The main problem is finding the so.
I have no effing idea where it is.
@Allenph if you converted a deb to a rpm. look in /usr/lib/php
No. I did it backwards.
RPM to Deb.
oh, then i forget where the default is, I think maybe $PREFIX/ext?
you could always just extract the package
Ahh. I got the little bastard.
you can either put it in extension_dir or do extension=/absolute/path/to/lib.so
14:59
The closest thing I found to that path you gave me is /etc/php/7.2/mods-available,
yeh I was in rhel mode
In which I see a bunch of ini files. I'm sure that binary path is used for the utility. Where can I just hand it an absolute path?
@Allenph there's usually a mods-enabled dir as well, with symlinks to the files in mods-available
@Allenph anywhere in php.ini, but probably best at the end
Oh. I see. These files are just one liners.
usually yeh
they are generally just extension=foo.so
sometimes there will be ext-specific ini settings in there as well
basically they are there so that apt/yum etc don't have to modifiy the global php.ini
@Allenph if you are just testing then you can do php -d extension=/path/to/foo.so -m
15:13
Do I need to like restart PHP?
@Allenph not on the cli
if you run php -d display_errors=1 -d error_reporting=-1 -d extension=/path/to/foo.so -m you should either see the ext or get an error message
dave@dave:~$ php -d display_errors=1 -d error_reporting=-1 -d extension=/path/to/foo.so -m
PHP Warning:  PHP Startup: Unable to load dynamic library '/path/to/foo.so' (tried: /path/to/foo.so (/path/to/foo.so: cannot open shared object file: No such file or directory), /usr/lib/php/20170718//path/to/foo.so.so (/usr/lib/php/20170718//path/to/foo.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[PHP Modules]
calendar
...
15:32
@DaveRandom Where do I get the php-devel package on Debian?
php-dev ?
Guess it's different on Fedora.
*-devel is a rhel convention
15:44
Note to self: don't mess with registry when my brain is half here, half everywhere else, I may have fucked up a development server >.<
Note to self: don't mess with registry
that's all you need :-P
@Tiffany Why is that a WS feature?
I'd expect it to be an IIS feature
@MadaraUchiha me too
@MadaraUchiha annoying thing is in Windows Server 2012, I have to manually create the record for TLS 1.0 and DisabledByDefault, they don't exist like they do in 2016
@MadaraUchiha granted, this server doesn't have IIS installed... it uses tomcat...
but tomcat is set up to use 1.2... 1.0 still shows enabled though
16:12
@Tiffany depends on the app, but I'd be surprised if there's no IIS module that lets you do it with a config xml
the stuff in the registry is just the defaults, you can do it programmatically with all the underlying impls I have ever worked with
@Tiffany are you... are you running tomcat on windows?
I found an attribute to set in tomcat sslEnabledProtocols="TLSv1.2,TLSv1.1", so I applied that and restarted tomcat, I'm checking now to see if it's correctly disabled
@DaveRandom yes
!!? how to tie a noose
Search for "how to tie a noose -site:w3schools.com" (https://www.google.com/search?q=how+to+tie+a+noose+-site%3Aw3schools.com&lr=lang_en)
• Afbeeldingen van how to tie a noose -site:w3schoo… - No description available (/search?q=how+to+tie+a+noose+-site:w3schools.com&lr=lang_en&tbs=lr:lang_1en&tbm=isch&tbo=u&source=univ&sa=X&ved=2ahUKEwjoyIvarYveAhULzaQKHfROCc8QsAR6BAgFEAE)
...lol
16:15
@Tiffany yeh afaik tomcat will be running on openssl, so messing with the registry won't help
the registry settings control w32cypto stuff
blah
hopefully this attribute does it...
if not, opening a support ticket with the vendor
since it's their tomcat product
also with openssl all you really need to do is configure the cipher list to disallow old transports
done that
...all that said, I found tomcat to be so problematic that I just shoved a nginx rproxy in front of it
tomcat does not play nice with letsencrypt
htbridge says the server isn't PCI DSS compliant because it has TLS 1.0 enabled or misconfigured or something
yaaay, TLS 1.0 is disabled
16:19
more important that that is the cipher list
and whatever tomcat calls the honor_server_ciphers directive
your life would be sooooooo much easier if you just set up a gateway proxy server on nginx
as in, for everything
it uses an xml file for server configuration, there's a Connector tag, and an attribute for sslProtocols, sslEnabledProtocols, and ciphers which are all set now
It's a shame that convert_scalar_to_number converts objects to long, and does not attempt float at all.
@rtheunissen I would argue that it should just error, it's "convert scalar to number", object is not scalar
or rather, there is no obviously correct behaviour
@rtheunissen It does
Your PHP version is just too old :P
16:37
Hah! 7.2...
16:54
@rtheunissen That's so 2017
17:14
Thanks @DaveRandom.
hello ladies
17:31
Hi, I am working on a VO library for form validation with common field types. Each data type implements the `Type` interface and they are injected with the field data. Upon failure, they throw an `InvalidArgumentException`. A validator for that type can be injected in the ctor itself, it will fallback to the default validator for that type otherwise.

https://github.com/2DSharp/Phypes

Now, I was thinking about password types. Different websites have different requirements for a valid password. So, I was thinking of having `an options[]` argument as the `isValid()` method in the validator c
(see full text)
@2dsharp Just pass a callable
If you want to allow the consumer to define behavior
@MadaraUchiha I was just wondering, are mods able to see a user's past behavior? like suspensions etc?
17:46
@MadaraUchiha huh. Callables might actually be able to replace my validator classes... rethinking.
@mega6382 I hope not
@Gordon @MadaraUchiha I'm back, thanks for lession :)
^ You guys have got to stop giving people lesions.
Those godly mods and their wrath ... ehh
@SagarNaliyapara for how long were you suspended this time?
17:54
60 days I think
61, I believe
@SagarNaliyapara amateur
I didn't remembered exactly
@SagarNaliyapara Hope you have improved as a person this time
It's their monarchy, so I've to bear with them.
Let's hope community will accept me this time :P
@mega6382
17:57
@SagarNaliyapara No, lets hope you will accept the community's rules this time
>Monarchy

Doesn't seem much of a change to me
@2dsharp Wait for 120 days ban then :D
@SagarNaliyapara Why were banned in the first place?
Didn't remembered anything
looking forward for fresh start
18:00
Ahh, damn. I can't even see the text on the edit textbox. For some reason, the background of the textarea won't turn dark. :/
Aug 8 at 9:38, by Sagar Naliyapara
@Tiffany he has some ego issues he don't answer to random people
Truth is always truth
Yeah, but sometimes it is better to keep things to yourself
let's hope these guys are improved for community help.
I'm the most banned person in this room, so learn from me
18:03
for what reason?
This place is a great source of knowledge, just focus on learning and keep your thoughts to yourself
That sounds good @samayo
what was the reason for ban? @samayo and how long it was?
@SagarNaliyapara Then I hope you can control yourself, cause you troll here like kids troll on forums
let's hope together :)
jeez, I am surprised to see how the mods here don't lose their shit more often.
18:10
@SagarNaliyapara It doesn't matter. I was silly enough to take things seriously. I was opinionated and didn't know much about trolls and baits, and I fell victim to the lord himself aka @tereško :)
@tereško is very good guy though
as compare to others
He is, and he helped me A Lot!
Hmm... There was plenty garlic in my omelette this morning. That was very good.
tereško, Gordon and DaveRandom are my top 3 of my fav people in this chatroom since I joined like 6 years ago.
probably people I met online too
18:13
fav in terms of?
helpful or annoying?
@tereško saved my ass a couple of times.
favorite, as in the people I like the most :)
.... so I just wrote function print_poolers(Pooler[] $poolers) and wondered for two full seconds why phpstorm was complaining.
pls make the time pass
strtotime('later');
@FélixGagnon-Grenier stop yelling at me
user image
8
hahahaha
with my open mouth, that's awesome
18:21
Guys, is it correct to have all of these (in this order) in the same <virtualhost> block?
RewriteEngine on
RewriteCond %{SERVER_NAME} =lamtakam.com [OR]
RewriteCond %{SERVER_NAME} =www.lamtakam.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]

RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
@samayo your avatar, is that from tekken?
Yeah, Tekken 3 ... and Lei is my favorite character of all time
Orisa might be second :)
@samayo Oh, I know how much you like Orisa, you never let me take it or anyone else :P
hehe, I get that all the time :P
@samayo My favorites were Heihachi, Marshall Law, Yoshimitsu
I believe some arcades near me might still have Tekken
@samayo I haven't played overwatch in like months
18:27
Law was my second main in Tekken, Heihachi used to beat my ass, I never liked him. Yoshi is okay
@mega6382 same here
I was addicted to Fortnite for 5 months, but it is starting to bore me now. I realized online games are much more fun to play with someone you know, other than a random lobby
It just doesn't feel the same
@samayo I always lose at fortnite, I stopped playing after 8 games
@samayo Yeah, with someone you know, you can always show-off later :P
"autoload": {
        "psr-4" : {
            "\\": "."
        }
    },
HP Fatal error: Uncaught Error: Class 'File_Iterator_Facade' not found in

WTF PHPUnit. You're killing me.
@mega6382 yup, let me know if you a teammate, I now play only on weekends though
18:50
that game is addictive seriously. @tereško
ah, so you actually liked it, @Shafizadeh :D
not sure how much 2GB costs, but that's how much you have paid for that entertainment
any issues with graphics?
game?
did you check that the video setting were all correct?
@samayo "This War of Mine"
18:53
looks dope, bookmarked
@samayo I would describe it as a "2D version of 'State of Decay', but in a more serious setting"
@samayo he had the same attitude toward games as you had toward animes
:D
00:00 - 19:0019:00 - 00:00

« first day (2922 days earlier)      last day (2251 days later) »