« first day (2595 days earlier)      last day (2358 days later) » 

2:00 PM
Is there a git-less solution?
 
What's wrong with our solution?
 
Anonymous
inb4 too obvious
 
Ain't nobody has time for scavenge hunting some solution
 
inb4 "i don't use git because I like FTPing into prod"
 
@PeeHaa Yeah I am not asking anybody should go out of their way to find a solution for this. I only asked if someone have used something then please suggest.
 
2:04 PM
!!? tool to compare entire directory in windows
 
Search for "tool to compare entire directory in windows -site:w3schools.com" (https://www.google.com/search?q=tool+to+compare+entire+directory+in+windows+-site%3Aw3schools.com&lr=lang_en)
• WinMerge - WinMerge is an Open Source differencing and merging tool for Windows. WinMerge can compare both fol… (http://winmerge.org/)
• file comparison - Tool to compare directories (Wi… - 3 jan. 2013 - It is free and works pretty well (works for files and directories). … This one does a… (https://stackoverflow.com/questions/14138855/tool-to-compare-directories-windows-7)
 
@mega6382 ^^
 
@Patrick I am using git. But I have 2 backup zips of component that I need to insert. And I need to compare those to know which of those is more updated, as there is no other indicating factor.
 
Wes
guys, long story short, i am setting an array like so $arr[chr($a)] = ... where $a is unsigned byte... do arrays do anything special with non printable characters like "\0" or something?
ah i know what it is, it's "7" being converted to int(7) -__-
are there other special things happening though?
 
2:18 PM
@Wes There are some more casts iirc
 
Wes
i mean one byte strings (e.g. "7"), except numbers, are there others converted somehow?
 
Not sure. Don't think so
 
Wes
i don't know what the hell is going on
 
 
so, @FélixGagnon-Grenier, have you heard about this clusterfuck already (the particular source is biased, though)
 
Wes
2:26 PM
how do print a string as a stream of integers easily, like "abc" => "97 98 99"?
sprintf() pack() something something
 
pack() can not be called an "easy" way in any context (guess what? try to return to that code a year after you wrote it)
 
@tereško I believe I have seen some quotes on screenshots
this is also, very saddening, and frightening
 
just do str_split + array_map + ord + join and that's readable at least ..
 
@FélixGagnon-Grenier I am about 15 min in ... and probably would go with "enraging"
 
Wes
2:34 PM
wasn't there a one liner? :B
thanks tho
 
for loop? +ord?
 
@Wes array_map(function($char) { echo ord($char) . PHP_EOL; }, str_split("test")); ? :P
 
Wes
ahaha :B
ok thanks. iirc there was a sprintf kind of thingy
 
probably there is too
 
@pmmaga jut replace your lambda with simple "ord"
 
2:41 PM
and what about my beautiful new lines and actually echoing? hum?
 
he didn't want them in the first place
and you can do echo one time for the whole thing
 
echo implode(array_map('ord', str_split("test")), " "); better? :P
 
@pmmaga Switch the params though please <3
 
hahaha I quit! :P
 
Wes
@Danack if i'm not wrong i cannot add a watch for private stuff, right? they need to be accessible
 
Wes
3:05 PM
bah. i swear i touched nothing and now i cannot reproduce it anymore
 
uhmmm not sure how to respond to that :P
 
Anonymous
lol
 
evenings o/
 
Wes
i have no clue of what's going on
 
\o
 
Wes
3:07 PM
and the sensation never goes away
 
hahahahah
What did your doctor say?
 
Wes
:B
he said that that in order to reproduce i cannot do it alone
 
:D
 
Wes
what the hell tho
now i'm not sure if i should be worried about something broken or if i should not care
 
Always worry
 
3:11 PM
namaste!
 
Wes
3:30 PM
\o
 
konichiwa
 
Wes
chihuahua
 
btw, 'konichiwa' => ja => 'hello' :B
 
Wes
no shit :B
 
i.stack.imgur.com/9FxSC.jpg Goddamnit @JayIsTooCommon
 
3:38 PM
@PeeHaa that commercial line on the side of the bus xD
 
Wes
that's one awful crash
don't those busses have the engine at the back? :|
 
And Jay just watching at what he did
 
Anonymous
@PeeHaa sorry
 
:P
 
@PeeHaa that is one hell of a collision. they must have had a high speed or they buses are made of cardboard
 
Anonymous
3:44 PM
!!wotd
 
scrummy Chiefly British Informal. very pleasing, especially to the senses; delectable; splendid; scrumptious.
 
Anonymous
wat
 
You are so scrummy James
 
Anonymous
aw, splendid!
 
3:45 PM
@FélixGagnon-Grenier :D
 
Guys, in case you weren't sure about where to spend your money: medium.com/@taylorotwell/…
 
@FélixGagnon-Grenier s/they/the
 
yeah... that was a typo. I was not trying not to assume the buse's gender.
 
hehehehe
 
'Xe' might have been appropriate for that purpose as well then
!!urban xe
 
3:47 PM
[ Xe ] The chemical symbol for xenon ([atomic number]: 54).
 
the word "fail" comes to mind
 
just scroll down to the second def :B
 
@JayIsTooCommon Surely you knew scrummy before today
 
I'd say I still don't "know" it.
 
like, 95% used to describe food. Slang to say the food tastes nice
 
Anonymous
3:55 PM
@Sean well now that I think about it, I can imagine some snot nosed weird kid saying "Those fish fingers were scrummy". It was more the 'Chiefly British Informal'.
 
Anonymous
but if anyone I know used scrummy to describe their food, i'd probably leave
 
Hahah. Reckon it's mostly used by parents to their young
 
Anonymous
@SaitamaSama what? 'The' in that sentence would make no sense.
 
high speed or they buses are made of cardboard
 
I meant the second they, not the first one, ^
 
Wes
3:57 PM
14 hours ago, by Wes
i knew the word crummy, didn't know scrummy existed too
apparently they are antonyms
 
Anonymous
aah missed the second one
 
Makes sense kinda, I say scrummy is almost food-specific, but crummy is used more generally
 
Anonymous
ma jack tatties were scrummy
 
Anonymous
just doesn't work.
 
Lmao
Don't think I've ever said or heard jack taties
 
Anonymous
4:01 PM
:B
 
Wes
what the hell is that :B
 
Jacket potatoes
 
Anonymous
I'd love to take @Wes to NCL for the weekend
 
Wes
ncl?
 
Anonymous
Newcaslte - They have a slight accent there.
 
4:02 PM
Some backwash town that mistakes itself for a city
 
Wes
i love british accents. especially when they sound like game of thrones
 
Anonymous
ahahahaha
 
Anonymous
yeah... You won't get that in Newcastle
 
Anonymous
hold on, i'll try and find you an example
 
Wes
i don't remember where newcastle is, midlands?
 
4:03 PM
North East
Up from Durham/Darlington
 
Anonymous
that's the general accent.. Similar to Game of Thrones I suppose C:
 
what's up with this new trend of putting the smiles on the other side. sjws, these days
 
Wes
i am sure that was in transpotting though :B
 
Anonymous
C: - sarcastic smile
 
Wes
4:06 PM
that's basically impossible for me to understand
 
youtube.com/watch?v=UHPDqa_jSFQ Some more classic newcastle, oh and topless man
 
Wes
@JayIsTooCommon what accent is vinnie jones'?
 
Anonymous
@Wes landan mate
 
Wes
i heard london has many accents
the hardest english language show to watch for me is the walking dead. do you know eugene? :B
i never understand a word of what he says lol
 
@Sean tbh, that was actually quite hilarious...
 
Anonymous
4:16 PM
@Wes that's American you bum
 
Wes
no shit. i said english language
i know it's american southern accent :B
 
Anonymous
ah, I missed the language bit
 
Anonymous
you still suck.
 
Wes
your mum does too.
 
She's pretty damn good at it too.
 
Wes
4:19 PM
lol
 
Day is over. Only about 10 more classes to write unit tests for. Almost there.. pf
 
Wes
and also irish english is hard to understand. in fact almost impossible for me :B
 
I don't mind doing TDD, but doing it afterwards for a ton of non-covered classes sucks balls.
 
@Wes it does, and most of them aren't english
 
Wes
iirc former middle class had one accent, then others had others. something like that
how so @Leigh :B
 
4:28 PM
@Wes If I take those currently around me as a survey (maybe 25 people).. I count 7 English accents, 8 if we include Welsh
 
Wes
lol
 
Eng dept. Central London office
 
Wes
it's strange having different accents in the same city... london is big i know, but still...
big cities here have mostly the same accent... it changes just slightly
 
Oh actually, I forgot a guy, make that 8/9 + me 9/10
I can never remember strikethrough...
 
4:50 PM
someone broke the changelog page php.net/ChangeLog-7.php#7.0.26
 
@PaulCrovella ?
What should it look like?
 
is it not showing up unstyled for you?
 
Nope
 
probably a busted mirror then
 
@PaulCrovella nope
 
4:53 PM
ah, yep... us1.php.net’s server DNS address could not be found
 
Good. I am still sane
:D
 
Anonymous
> still sane
 
Anonymous
> sane
 
^^ beat me to it
 
Wot? :P
 
4:59 PM
@PeeHaa s/sane/insane/
 
That's not very nice of you all now is it?
I having feeling too you know
4
 
<3
 
I always knew it. You have one feeling.
BECAUSE YOU ARE ACTRUEALLY JEEVES!!!!!!1111
 
Would any one be kind to write an test to an function with cyclomatic complexity of 288?
 
5:02 PM
wow
that is the honest-est "write my code for me" request I've seen in a while
 
:P
 
It's only 1500 loc
 
Anonymous
@Raldo94 $3141
 
@Raldo94 You are going to need more than 1 test :-)
Or you could. Ya know. Fix the code if it's not performance code
 
Anonymous
Also a pie, i'd like a pie too
 
5:06 PM
Haha, ye I should probably fix it
 
Anonymous
ye indeed
 
@JoeWatkins Morning. And hello to you too, room.
 
o/
 
Hi nerds of the PHP-verse..!
 
To those who celebrate it: happy thanksgiving!
 
5:21 PM
Some of my friends were looking into cryto-currencies and they asked my opinion about it, but I don't know much about it, so I have come here asking your opinion about it.
So, can I have some real opinions regarding the Crypto-currencies.
 
I prefer investing in tulip bulbs
 
@mega6382 From an investment perspective or..?
 
@LeviMorrison A little in regards to investment. But mostly what is their purpose are they trustable etc. How to know a good crypto-currency from bad one etc.
 
Wes
\o
 
5:37 PM
@mega6382 Like any investment there is varying risk and you probably should only invest money you don't mind losing 100% of if things go poorly.
 
@LeviMorrison What kinds of risks are we talking about?
 
Like losing 100% of the money you invested.
 
I understood that, but I mean in what way?
I mean what kinds of thing should one look out for.
 
in JavaScript, 10 hours ago, by Kamil Solecki
man answering on SO is hard, it turns out you can't just make up stuff
9
 
6:32 PM
@tereško that's some good insight into the mind of a js developer
does it exist as a well documented unix tool? you can bet the JS community has remade a shittier version because.. well who knows why.
 
Any Apache people kicking about? Trying to verify a site is going to the right php fpm pool but it's not working
 
7:01 PM
@Sean define "not working"?
 
@DaveRandom I kinda think I've figured it out. So I've opened up the fpm pool's status page (/fpm-status) and I'm trying to access it by adding a Location block in my Apache vhost. My problem is that when there's a .htaccess file in the document root it overrides the request and shows the site instead.
Gotta find a way to try and bypass .htaccess, or add in a rule which whitelists the status path I think
it was just to verify the site is hitting the right FPM pool. I think it is now anyway but it's kind of annoying that I'm blocked out of accessing my fpm pool status
 
RewriteRule ^/fpm-status$ /fpm-status [END]
put that in the vhost config, rather than in .htaccess
 
apache -_-
 
Aye, a lot easier to bloody sort in nginx
Though nginx has it's own snakes to step on
That works @DaveRandom Cheers, I'm just not sure why. If I put it in my .htaccess at the top, it does nothing.
 
@Sean .htaccess is not / based
RewriteRule ^fpm-status$ /fpm-status [END]
^ for htaccess
 
7:15 PM
Oh.. I'm dumb :V
 
but do it in the vhost
and if at all possible, disable .htaccess processing
it's an epic performance killer
it is, at a minimum, a stat() call for every directoy level, for every single request
 
It's the cookie cutter redirect everything to index.php that doesn't already exist.
 
sure, but do it in the main config and AllowOverride none
 
Ah right, makes sense
Time to leave the office approx 2 hours later than I should have.. ._.
Cheers again for the help
 
(y)
 
7:25 PM
now I can't unsee it..
Nov 20 at 17:43, by DaveRandom
^ that's "woman needing a piss emoji", btw
 
Wes
webfonts are broken in chrome again
i am so tired
 
7:43 PM
@pmmaga Thought it was "dude tucking emoji"
 
8:04 PM
Pop Quiz: What is the returned value from DateTime::createFromFormat("H:ia", "23:45pm")->format("H:ia")? :)
 
Wes
23:45pm ?
i did check :B
i am not sure why it does that
must be because "a" defaults to AM when using the 24 hour clock format?
 
@Wes it returned that to you? 3v4l.org/rp0vc
 
Wes
echo DateTime::createFromFormat("H:ia", "23:45am")->format("H:ia");
@pmmaga no. it's what i'd expected it to return
if you try with "am" it returns pm. wtf?
 
ah :x
 
@Wes modulo 12 hours, I'm guessing
cc @salathe
Or something similar
 
Wes
8:15 PM
i don't get what's going on
 
o//////////////////////////////////////////////////////////////////////////
 
Wes
o\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\‌​/\/\/\/\/\/\/\/\/\/\/
 
Wes
ini_set("magic_quotes_gpc", 0)
 
oh-no-you-le-didn't.gif
 
8:18 PM
12 hours gets added when you use the a (or A) format character with pm (for any hour other than 12 noon). :)
 
@salathe Right, and the date advances a day too, probably, which causes the wrapping
 
Yes, exactly.
 
Wes
aaaah
 
@salathe ewwwwwwwwwwwwwww
 
@salathe github.com/php/php-src/blob/… == 12 should be > 12 and != 12 should be < 12
 
8:23 PM
@FélixGagnon-Grenier hehe yeah, this looks more like an oversight than intentional behaviour so can be fixed.
@DaveRandom yup something like that
 
Is PHP fully stored on GitHub these days?
Or is it still just a mirror?
 
the latter
 
still a mirror and probably always will be
github doesn't have granular enough permissions I don't think
and it's all tied into the global php.net karma system
 
It's good enough for node, methinks, although I'll admit I don't know the particulars
(of either project, really)
 
Most likely the answer is "it could be done, it's not worth the effort"
 
8:25 PM
The permissions have gotten much, much better than when we looked at it originally (many years ago), but we do things like only let you commit to a couple of subfolders in the repo... which I don't think GitHub lets you do.
 
Wes
gn
 
ttfn
@salathe yeh, certainly the concept of /Zend karma needs to be retained
 
and only a handful of people can touch php-src.git/main/php_version.h, for example
 
I mean it could be submoduled out or whatever but meh
 
!!lxr php_version.h
 
8:27 PM
@PeeHaa Nothing went wrong but I couldn't find a suitable definition
 
@Jeeves oh c'mon
 
@PeeHaa What?
 
Just find the file dude
 
@salathe only doable if github implement something like synchronous pre-receive hooks to call a web service, which I don't see ever happening for fairly obvious reasons
 
@DaveRandom yeah, I can't see it being a thing many people want/need.
 
8:29 PM
@PeeHaa I don't think we do file searches but we could
 
No you are wrong
You should
:P
 
lucene is a bitch for searches with a . literal in though
I remember fighting with it for ages once
 
What's the escape char?
 
iirc it's not even slightly as simple as there being a general escape char
I might have just been Doing It Wrong™ though
 
:P
Lucene is hard though
s/hard/powerful and hard/
 
8:31 PM
understatement of the century right there
I should update opengrok actually but it's such a mission
I forget what it was but there was a recent-ish feature in the changelog that seemed like something we'd want
 
I guess it's one of those things you don't want to touch unless it's actually needed
 
indeed, I need to exclude tests from the indexes as well though
 
Speaking of the thing
Sorry for bringing it up and jinxing it
But
It's been pretty stable right lately?
 
5 minutes later
 
I knooooow
I actually feel bad :p
 
8:33 PM
[daverandom@lxr ~]$ uptime
 20:33:43 up 125 days, 19:13,  2 users,  load average: 0.00, 0.01, 0.05
 
OH MY GODS, EVERYTHING IS ON FIRE
 
@Wes er, it looks like an array with a single element of "7" ?
 
ever since I moved it onto that crappy but dedicated hardware it's been completely stable
 
@DaveRandom Oh right
 
Oh my god, stable PHP software
 
8:34 PM
Wasn't it running on some frankenstein monster now?
 
@MadaraUchiha nope, Java :-P
 
@MadaraUchiha heheheh
jetti all the way down
or WTF it is called
 
@PeeHaa yeh it's running on a machine I made from the parts of 3 butchered small form factor desktops :-P
 
Jetty
I just puked a little in my mouth
 
:P
 
8:35 PM
Feb 27 '16 at 18:56, by Danack
function showRawCharacters($result) {
    $resultInHex = unpack('H*', $result);
    $resultInHex = $resultInHex[1];
    $resultSeparated = implode(', ', str_split($resultInHex, 2)); //byte safe
    echo $resultSeparated;
}
showRawCharacters('    ​$transformation');
 
@DaveRandom \o/
 
on VirtualBox under Windows 10
 
@DaveRandom would you want to point lxr.php.net at it?
 
@DaveRandom wat
 
Although to be fair, Java is pretty spot on for these sorts of things
 
8:35 PM
it is astonishingly reliable considering those properties :-P
 
The virtualbox thing is you bullshitting me now right?
 
Did ElasticSearch not work out for you though?
 
@MadaraUchiha It's the opengrok "appliance"
 
@salathe I can clone the VM and put just PHP stuff on it if you want
I can do that with very little effort
 
Oh god
I don't trust you saying that
 
8:37 PM
I'm moving all my VMs onto a better box soon (that crucially will not be windows as the host OS) so maybe wait until then
I have a 16 core xeon/64GB box that is about to become spare
 
@DaveRandom I don't mind much, we now have (at least) three OpenGrok installations with php-src but lxr.php.net left hanging.
 
@salathe just CNAME the lxr.php.net to lxr.room11.org :-D
 
@DaveRandom "spare". yeah noooo this machine died, really. I will dispose of it. Trust me
 
@bwoebi that's what I was thinking :)
can't be any more unstable than the old/dead lxr ;)
 
@salathe Is lxr.php still unstable as it used to be?
What?
is it down/dead now?
Ah it is :P That answers my question
 
8:40 PM
it's been dead for a while now, at least a month, probably more :P
 
@DaveRandom my jenkins could still use an extra worker.. it can't keep up anymore :P
 
@salathe CNAME it to php-lxr.room11.org so I can separate them without having to change the php.net zone files at some point in the future
 
Holy shit. This dude doesn't dick around when dealing with bugs:
 
@pmmaga lol :-P
 
8:41 PM
what's nevis doing these days /cc @JoeWatkins ?
 
@DaveRandom it wouldn't be me making the CNAME, not sure how we do that nowadays...
 
@salathe I know how it happens
 
@salathe that's exactly why I'd rather be able to rejig it myself :-P
 
I see a lot of people looking confused and pointing at eachother only to find out it's some machine somewhere hidden in a closet on some random service provider farm
 
it used to be editing the zone file (in a git repo), but I think we moved away from that.
 
8:46 PM
@salathe I've added the config to nginx so it will work when the records are updated, I'll just need to add it to the SSL cert
which obv I can't do until the DNS resolves to the box
 
Looks like we're still maintaining/using the zone file in git, but I don't have commit karma for that repo. :P
I'll get the CNAME added, it will be nice to have lxr.php.net again.
 
either php-lxr.room11.org or php.lxr.room11.org
I don't really care which, both with work
 
cool beans :)
 
@salathe you have SVNROOT karma, isn't that sufficient? :-P
 
@bwoebi *grin*
 
8:56 PM
Just to annoy everyone, lxr.room11.org is going to go down for about half an hour while I clone the VM :-P
 
!!lxr magic
 
[ /ext/fileinfo/fileinfo.c#45 ] struct magic_set *magic;
 
Damnit
 
lol
 
I wanted to complain
 
8:57 PM
Unacceptable!
:P
 
We just completed another huge step in our quest for sanity at work...
 
Finally dropped java \o/
 
Split off the frontend to its own repository (the main monorepo is ~12GB at clone)
 
Sweet mother of repo
 
NodeJS is 1GB
I have no idea how a group of ~10 people managed to screw Git up so badly.
 

« first day (2595 days earlier)      last day (2358 days later) »