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

14:00
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.
14:04
!!? 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
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?
14:18
@Wes There are some more casts iirc
Wes
Wes
i mean one byte strings (e.g. "7"), except numbers, are there others converted somehow?
Not sure. Don't think so
Wes
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
Wes
14:26
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
Wes
14:34
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
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"
14:41
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
Wes
@Danack if i'm not wrong i cannot add a watch for private stuff, right? they need to be accessible
Wes
Wes
15:05
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
Wes
i have no clue of what's going on
Wes
Wes
15:07
and the sensation never goes away
hahahahah
What did your doctor say?
Wes
Wes
:B
he said that that in order to reproduce i cannot do it alone
Wes
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
15:11
namaste!
Wes
Wes
15:30
\o
konichiwa
Wes
Wes
chihuahua
btw, 'konichiwa' => ja => 'hello' :B
Wes
Wes
no shit :B
i.sstatic.net/9FxSC.jpg Goddamnit @JayIsTooCommon
15:38
@PeeHaa that commercial line on the side of the bus xD
Wes
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
@PeeHaa that is one hell of a collision. they must have had a high speed or they buses are made of cardboard
Anonymous
15:44
!!wotd
scrummy Chiefly British Informal. very pleasing, especially to the senses; delectable; splendid; scrumptious.
Anonymous
wat
You are so scrummy James
Anonymous
aw, splendid!
15:45
@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
15:47
[ 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
15:55
@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
Wes
15:57
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
16:01
:B
Wes
Wes
what the hell is that :B
Jacket potatoes
Anonymous
I'd love to take @Wes to NCL for the weekend
Wes
Wes
ncl?
Anonymous
Newcaslte - They have a slight accent there.
16:02
Some backwash town that mistakes itself for a city
Wes
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
Wes
i don't remember where newcastle is, midlands?
16:03
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
Wes
i am sure that was in transpotting though :B
Anonymous
C: - sarcastic smile
Wes
Wes
16:06
that's basically impossible for me to understand
youtube.com/watch?v=UHPDqa_jSFQ Some more classic newcastle, oh and topless man
Wes
Wes
@JayIsTooCommon what accent is vinnie jones'?
Anonymous
@Wes landan mate
Wes
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
16:16
@Wes that's American you bum
Wes
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
Wes
your mum does too.
She's pretty damn good at it too.
Wes
Wes
16:19
lol
Day is over. Only about 10 more classes to write unit tests for. Almost there.. pf
Wes
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
Wes
iirc former middle class had one accent, then others had others. something like that
how so @Leigh :B
16:28
@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
Wes
lol
Eng dept. Central London office
Wes
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...
16:50
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
16:53
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
16:59
@PeeHaa s/sane/insane/
That's not very nice of you all now is it?
I having feeling too you know
4
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?
17:02
wow
that is the honest-est "write my code for me" request I've seen in a while
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
17:06
Haha, ye I should probably fix it
Anonymous
ye indeed
@JoeWatkins Morning. And hello to you too, room.
Hi nerds of the PHP-verse..!
To those who celebrate it: happy thanksgiving!
17:21
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
Wes
\o
17:37
@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
18:32
@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
19:01
@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
19:15
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
19:25
now I can't unsee it..
Nov 20 at 17:43, by DaveRandom
^ that's "woman needing a piss emoji", btw
Wes
Wes
webfonts are broken in chrome again
i am so tired
19:43
@pmmaga Thought it was "dude tucking emoji"
20:04
Pop Quiz: What is the returned value from DateTime::createFromFormat("H:ia", "23:45pm")->format("H:ia")? :)
Wes
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
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
Wes
20:15
i don't get what's going on
o//////////////////////////////////////////////////////////////////////////
Wes
Wes
o\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\‌​/\/\/\/\/\/\/\/\/\/\/
Wes
Wes
ini_set("magic_quotes_gpc", 0)
oh-no-you-le-didn't.gif
20:18
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
Wes
aaaah
@salathe ewwwwwwwwwwwwwww
@salathe github.com/php/php-src/blob/… == 12 should be > 12 and != 12 should be < 12
20:23
@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"
20:25
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
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
20:27
@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.
20:29
@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/
20:31
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
20:33
[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
20:34
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
20:35
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
20:35
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
20:37
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
20:40
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
20:41
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.
20:46
@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*
20:56
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
I wanted to complain
20:57
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 (2579 days later) »