« first day (2237 days earlier)      last day (2727 days later) » 

10:00 AM
@bwoebi how does it work in terms of merge strategies for artax? Like is it sanely possible to "target v1 and merge up" in that same way as php-src?
oh in fact never mind, it wouldn't make sense anyway
 
anyway, I'm off
 
and just to stress that: I fail to see what this has to with my comment about populism
 
you are being told that populism is a crisis, because the populists are campaigning against the current establishment
 
@tereško I am not being told. I have thoughts of my own :)
 
and to enforce it, it is useful to portray all them as nazis and nazi sympathizers
@Gordon you still read/watch the news
 
10:07 AM
yes, because I cannot get myself to wear an aluminium head
I still believe it's better to watch/read established press from around the world than some dude's conspiracy theory blog.
 
@DaveRandom currently yes, it is just the Amp APIs which changed.
 
In Poland there is Duda's conspiracy theory and whole that clique who thinks previous 27 yrs gov's were post communists :)
 
HI
I have this sql statment
and it views birthdays which is now, but i want to show 10 upcoming birthdays not based on now
SELECT * FROM profiles WHERE MONTH(DateBirth) = MONTH(NOW()) AND DAY(DateBirth) = DAY(NOW())
how can i do that
 
@tereško what you are basically saying is that I cannot trust the "official" news? Is that it? Because that is exactly what the populists tell their followers, too. There is this word "Lügenpresse" which the right winged populists, like the AfD, like to use to discredit the free press claiming that it's all lies and that only them can be trusted.
 
please, stop putting words in my mouth
 
10:13 AM
I put question marks at the end. So it was questions.
 
can anyone help me
 
Anonymous
@tereško he asked if that's what you were saying
 
I am saying that every news source these days has an agenda.
 
@qaisali what do you mean by "not based on now"?
 
whether its CNN, Reuters or some shithead in basement with a tinfoil hat - they each have an agenda
 
10:14 AM
so? that's why you read/watch multiple and then make up your own opinion.
 
Do you want to pass in a date or what?
 
and the point is, that in Germany the "unfavorable opinions" are slowly choked
 
@DaveRandom i want to show 10 upcoming birthdays
 
Yes you said
you mean the next 10 birthdays that will occur from now?
 
@DaveRandom Seems like error_depth is always set. github.com/openssl/openssl/blob/…
 
10:15 AM
yes :)
@DaveRandom yes
 
So depth checking actually works, it just doesn't stop early probably.
 
@qaisali OK then what you need to do is calculate each profile row's next birthday (with year) and then order by that computed column ascending
it's not a cheap operation
 
@DaveRandom thanks, but right now i don't know how to write it
 
@tereško they are not choked. we have freedom of speech. It's one of the reasons why we actually have populists. it's one of the great ironys.
 
wow MySQL date functions are retarded
 
10:19 AM
@DaveRandom /s/date functions are/is/
 
Well yes
I mean wtf
why does that not have a 3 arg variant?
 
@DaveRandom What's the third arg supposed to be?
 
years/months/days
as ints
 
Anyone use Doctrine and have any idea why eager loading still results in relations being a proxy object (PersistentCollection) rather than the actual entites?
 
@DaveRandom Because you can just concat them. ^^
 
Anonymous
10:22 AM
!!version
 
@kelunik ugh, stringifying things as an intermediate to math is awful
 
@DaveRandom :P
 
Oh yes and of course you can't do partial diffs either
 
@tereško also what do you mean by "unfavorable opinions". hate speech is not an opinion.
 
10:25 AM
@qaisali I can't help feeling that it will serve you better to maintain an indexed column of nextbirthday in the profiles table
you can have a daily batch operation to update it or something
Because doing it on the fly is going to be very expensive
 
R.P
Hi all, has anyone else got SIGSEGV errors in with PHP 7.1.RC6 and Xdebug 2.5.0RC1?
 
What OS?
And under what circumstances?
 
@Jimbo blame ping @Ocramius
 
Morgning
 
@PeeHaa o/
 
Anonymous
10:38 AM
hoi pietits
 
Now I know why Chrome doesn't keep me logged in anymore... disk 100% full...
 
So I am driving a fiat 500 this week....
 
Anonymous
ew
 
Could be worse
could be a 206
 
@Ocramius ping when you've got a sec :-) You'll solve it in seconds rather than 30 minutes writing an SO question ;)
 
10:40 AM
I drove a 206 for a few days once, I could press all 3 pedals at once
 
@DaveRandom hehehe
@DaveRandom Good thing. That's exactly what I wanted \o/
 
Good morning guys,
 
@DaveRandom I'm not going to ask about the third pedal...
 
@Jimbo ?
 
It's worth noting that I don't have particularly big feet, and I mean I could press them all with one foot
 
10:46 AM
Are you a murican / old? Or am I missing the point / joke? :P
 
It made braking quite... exciting
 
I have some data in a table, this table have these columns (activity_id,subject,date_started,start_description,date_ended,end_description,t‌​ype_id,reference,constraints). I want to split each row into two rows, the split condition should be date start ,date end . i was wondering if i am better of doing this directly with my sql query or afterwards with my php script ?
 
What do you mean by "split into two rows"?
what data goes in each new "row"?
In fact can you show example data in the table and the result set you want?
 
Can somebody help me ? I got a vagrant server setup that i want to push to git.
FolderStructure is like
Project
-Server
--Vagrant

Everytime i try to add and push it only adds empty server folder...
 
@Traxstar check your .gitignore files
 
10:50 AM
@Gordon where is it stored ?
 
@DaveRandom pastebin.com/SMQtU6nW :)
 
@Joseph Ah OK. Well you could do this (but don't, just do it in PHP):
 
so php is better then a complicated sql query
 
@Traxstar either in your project folder or in your user directory. on linux, I have a .git folder in my home directory. in that folder is a .gitconfig file and when you open that it has a rule for ignored files pointing to a gitignore_global file
 
SELECT activity_id, subject, date_ended as dt, end_description as dsc, t‌​ype_id, reference, constraints
FROM tablename
UNION
SELECT activity_id, subject, date_started as dt, start_description as desc, t‌​ype_id, reference, constraints
FROM tablename
@Joseph well it's not that it's particularly complex, it's just very inefficient
 
10:54 AM
@Gordon in the gitconfig are just my user credentials
 
@Traxstar can also check with git config --global -l from the command line. That's a lowercase L. Or in the project folder just git config -l should also list the ignore files
 
You are generating double the number of results with a lot of duplicated data in it, and asking the database to do a lot of unnecessary computation
 
@DaveRandom thank you , always a good help you are :)
 
whereas if you do it in PHP you are reading half the number of results and doing very little extra work to emit two records into a data structure instead of one
 
0
Q: Setting fetch mode to EAGER in a oneToMany relationship with Doctrine still loads proxy objects

Jimbo Relevant information: I'm using Symfony 2.8.x, Doctrine 2.4.8 and JMSSerializerBundle 1.0. A Resource can have many Experiences. I'm making an API Call to retrieve a Resource and all associations with an Experience. However, the JSON I get back contains a null on $resource_id on the Experie...

 
10:57 AM
@Gordon git config -l output pastebin.com/SJQReWFR
 
@Traxstar also make sure that your git add actually works, e.g. run git status to find which files are staged for commit
 
@Gordon it just tells me there is nothing to add, but there is the folder that needs to be pushed...
 
@Traxstar try git add --force /path/to/vagrant/folder
> -f, --force: Allow adding otherwise ignored files.
is there actually something in that folder? or are you trying to push an empty folder? Because Git cannot commit empty folders. Git does not actually save folders, only files. One workaround is to put a file called "empty" with no content into the folder and then commit that
 
@Gordon ouhhh i see a problem... in the repo is scotch box repo linked... how could i push that ? or is there no way to do so ?
 
@Traxstar you might want to delete that paste since it contains your real name and email
 
11:05 AM
yeah. that is my vagrant image that got pulled from git.. and i dont have acces to push it
 
in general, you dont commit the vagrant images themselves but just your vagrantfile and/or any provisioning code
 
@Gordon is it possible then to share the project that is stored in the vagrant folder, so a friend can just vagrant up and see the webpage ß
 
@Traxstar yes, like I said, you usually just share the vagrantfile and any provisioning. so your friend can just checkout that and run vagrant up.
I assume you made changes to the original image directly in the box which is why you think you want to share that instead. Am I correct?
If so, you are better off forking that box repo and either treat it as a separate repo to include as a submodule or make it part of your project repo without any references to the original repo
 
@Gordon yeah you are right ;) thank you :)
 
and I am not sure what you mean by the "project stored in the vagrant folder". usually, you just start a project and put a vagrantfile into it, not the other way round
 
11:15 AM
I need help checking if a value exists in a multidimensional array :l stackoverflow.com/questions/40885349/…
 
@DaveRandom We don't have stats built into @Jeeves yet, right?
 
!!uptime
 
@DaveRandom I have been running for 15 hours, 22 minutes and 53 seconds, since 2016-11-29 19:53:50
 
not apart from that ^ no
@PeeHaa did you restart it yesterday?
 
Nope
 
11:17 AM
interesting
 
I think I did update nginx, but I doubt it automagically restarts jeeves when I do that
 
I just fixed a stats dashboard at work. We don't do 60 requests per minute. We do 3k requests per minute. Oops.
 
it shouldn't
 
Or was that the day before not sure
 
@PeeHaa Some updates restart all services IIRC.
 
11:19 AM
O.o
 
@Gordon can you help me to wrirte a gitignore rule for .vagrant Folder ? im new to the gitignore stuff
 
Even unrelated ones?
That sounds bad
 
@PeeHaa Define unrelated in a world of shared libraries. If OpenSSL gets a security update, which services do you restart? Probably better all.
 
@Traxstar Just type vagrant and whatever else you want ignored into gitignore.io
 
@kelunik if openssl gets an update I restart the machine because that's easier
nginx and jeeves not so much related :)
 
11:20 AM
> jeeves.service: main process exited, code=killed, status=11/SEGV
 
\o/
Bob's shoddy programming
 
@bwoebi did you enable core dumps?
 
@kelunik you need better monitoring? I can help with that :D
 
@kelunik rounding error :P
 
Anyway, that dashboard issues made me think about @Jeeves stats again. We could record incoming events and have room stats as a side product.
 
Anonymous
11:22 AM
@DaveRandom You need to stop letting these amateurs touch Jeeves
 
@Gordon Monitoring is fine. Graphing wasn't. Accidentally used summarize instead of hitcount. :P
 
@bwoebi if you can look into it, Nov 29 20:53:48 ... systemd[1]: jeeves.service: main process exited, code=killed, status=11/SEGV
that's CET
@JayIsTooCommon it's working out pretty well, it puts pecl/uv through it's paces in a way that is both public and not actually important :-P
I'm assuming that will be a uv issue, although it may simply be that the stack overflowed. We end up pretty deep in the call stack sometimes, like traces with 60+ levels
 
@kelunik I can help with that, too :D
 
Although there wasn't really anything going on at the time
 
Anonymous
@DaveRandom :P
 
Anonymous
11:29 AM
I was really just slating Bob to make myself feel better
 
Oh then knock yourself out
 
@Gordon All work is done now. :P
 
Anonymous
@bwoebi you suck
 
Yeh Bob
 
@kelunik we have zero conf auto discovery of everything. and VR support :)
 
Anonymous
11:39 AM
Anyone else get a 500 when trying to eval this (add something to it first)? 3v4l.org/IqS6u
 
Nope
must be a transient error
 
Anonymous
Even if you try and add a new line to it?
 
Anonymous
with code
 
> Value for source contains invalid data object
fixitfixitfixit
 
Anonymous
that's the one
 
11:41 AM
!!> echo "@Sjon fixitfixitfixit"
 
Front end problem I think
 
@Gordon I should sue you for that
 
@tereško for linking a tweet? if you clicked the video despite the preview thumb and all warning messages, it's your own fault ;)
 
11:57 AM
T_T
 
and now imagine if it had VR support :D
I'd go instapuke
 
STOP GIVING THEM IDEAS
 
Anonymous
Why was it decided that array_column shouldn't return the original index?
 
though that game on VR is how I imagine an LSD trip without taking LSD.
 
@Gordon amazing
 
12:01 PM
@littlepootis if you like nausea
it plays much less amazing than it looks like
quit it after a minute again
if you are looking for a good game I can still warmly recommend Day R though. its what I've been playing a lot recently and enjoyed much. its a survival game in a post nuclear russia with loads of crafting reciples and quests.
they have a free version if you wanna try it first
 
@Gordon Well I'm scarred for life. Thanks.
 
I watched the entire thing.
My brain handled that pretty well.
I'd play it.
 
@DaveRandom you was before already so doesn't count ;)
 
12:20 PM
@JoeWatkins is there a good reason to not do gist.github.com/ciaranmcnulty/38a16a088af3dc36216e40c8a1ce2787 as an easy win for optimising function f(Foo ...$foos)? I can't think of one
/cc @bwoebi @NikiC ^
I mean it has limited use cases I guess and wouldn't play nice with variance, but you wouldn't lose anything there
dunno how the cost of the extra branch at insertion time would stack up
 
@Gordon it might already have as long waiting list as the real one
 
@tereško he's too young for it anyway. But maybe next year
 
12:55 PM
@tereško M1 ordered
 
hmm .... then I should do some research regarding other parts, that you will need
 
@Jimbo the rifle?
 
especially the SFX power supply units, mITX motherboards and the blower type video cards (I assume, you intend to go NVidia, since AMD has not released anything interesting lately)
 
Definitely having the 1080 ftw hybrid, so mITX mobo w/ wifi and DDR4, and an i7 that isn't too expensive but has good OC to 4 / 4.5ghz
and a cpu AIO that'll fit the case and is quiet
So not much then :-)
 
1:11 PM
how can we read CAPTCHAs.png file in php ?
any idea !!!?
 
Anonymous
!!!?
 
it was just an expression
 
Illegal Expression.
 
@DaveRandom don't remember
 
evening
 
1:20 PM
@DaveRandom is there a core dump now?
 
@DaveRandom values are too volatile
we can reliably track key types, but not values
 
@DaveRandom you can maybe use it to elide some typechecks statically, but not a lot more
 
how does php actually handle static vars inside functions under the hood?
 
@Gordon a hashtable it creates references to
 
@NikiC what if you treat references as implying "untyped"?
@bwoebi do you know where it would be?
not in the directory of the script but I have no idea what the cwd would be
 
1:26 PM
@DaveRandom dunno
 
Nothing in /home/jeeves either
 
Doesn't the thing just have a sane name you can locate on?
 
no idea
We should chdir(__DIR__) in run.php
Also how do you enable core dumps
#lazyweb
 
/me looks at bob
 
Is that how you enable them?
 
1:28 PM
Yes
 
You don't even have to say anything to him?
 
Nope just give him the look
 
What's a Bob?
 
find / -name "*core*"
^ finds nothing relevant @DaveRandom
 
I have no idea what I am doing, but doesn't it just dump stuff in syslog or whatever the systemd replacement is
 
1:30 PM
nah
 
Nothing useful for a segfault
 
gee sorry
Was just trying to help
 
you'd need to inspect the memory layout (i.e. a core dump)
 
[root@149-210-224-55 ~]# ulimit -c
0
^ core dumps are definitely off
 
Well I tried but I have no idea how to do that
<i_have_no_idea_what_im_doing.jpg>
 
1:36 PM
Vagrant up is taking over an hour. And I have to explain why this is a problem. Presumably I will need to use short words to be understood.
srslyomgwtfbbq
 
@Danack every vagrant up or vagrant up including provisioning?
 
@Gordon not sure what you are asking. I mean vagrant up after a vagrant destroy.
 
So including provisioning then
 
@Danack vagrant up --provision versus vagrant up
 
Because people are still making significant changes to how the boxes are setup, and not everything is written to be eventually consistent.
 
1:38 PM
it obviously takes longer when it needs to install all the things
 
@Danack I can recompile an custom BSD machine in that time
 
@Gordon I didn't (and don't) know what the difference between those two. Both of them do provisioning?
> A --no-provision flag can be passed to up and reload if you do not want to run provisioners.
a --provision is assumed by default?
 
@Danack what do you mean by "making significant changes" and "not everything is written up". The config of the machine should be handled via Ansible or Puppet or even some scripts and put under version control.
 
And it's npm things that are taking the extra time from yesterday, when I was already peeved that it was taking almost 15minutes to run.
@Gordon various changes such as someone changed gulp dev from being run outside the VM to be managed and run by puppet inside the VM a couple of days ago. For "not everything is written to be eventually consistent" I meant that I don't believe the scripts are run in a way that doing vagrant provision will give the same machine state as doing a vagrant destroy -> vagrant up cycle.
 
> On the first vagrant up that creates the environment, provisioning is run. If the environment was already created and the up is just resuming a machine or booting it up, they will not run unless the --provision flag is explicitly provided.
so the first vagrant up will always take longer, because it will run the provisioning
and depending on how much provisioning that is, it may take an hour. it shouldnt take that long afterwards though
 
1:46 PM
@DaveRandom well, then please enable core dumps…
 
11 mins ago, by DaveRandom
Well I tried but I have no idea how to do that
I will look again at some point
 
@DaveRandom giyf?
 
I looked at a couple of retard-friendly guides but they did not marry up with things I saw on the system and don't have the time to actually understand the issue rn
 
Anonymous
lol
 
neo
is there anyway I can sell the idea of a website ?
2
 
1:51 PM
@Danack oh well, npm and gulp… just add bower to the list for the full package of javascript tooling apocalypse
 
Anonymous
@neo wat?
 
E_TINY
 
@neo Ideas are worthless unless executed (or patented)
 
@Gordon it is there already.
 
And make sure you include node-sass in your package.json, this will make use of gcc which is important for it to take more time
 
1:52 PM
@bwoebi ping
 
neo
@JayIsTooCommon I have an idea of a website that is high potential for success but cannot implement by myself
 
@nikita2206 apparently using pngquant also makes gcc be installed. I'm not sure why, just saw it scroll by a while ago.
 
@JoeWatkins pong
 
@Danack so in reality, you have much bigger problems than vagrant up taking an hour ;)
 
neo
@Gordon I have an idea of a website that is high potential for success but cannot implement by myself
 
1:53 PM
did you see in irc msgs about phpdbg ?
 
@JoeWatkins Should be already fixed in run-tests.php
 
Anonymous
@neo Right, so what is your question? How to get people to help you ?
 
@bwoebi excellent, thnx
 
==> default:   ⚠ The `imagemin-pngquant/node_modules/pngquant-bin/vendor/pngquant` binary doesn't seem to work correctly
==> default:   ⚠ pngquant pre-build test failed
==> default:   ℹ compiling from source
==> default:   ✔ pngquant built successfully
 
neo
can i sell the idea of the website to some comapnies and get a fortune
 
Anonymous
1:54 PM
You can ask for investors, yes
 
@JoeWatkins ref: git.php.net/…
 
@neo no, but you can come to a conference where I am at and tell me the idea over a beer. I will pay for your beer.
 
@neo no. People only care about implementations.
 
@JayIsTooCommon you will not get VC funding for just an idea
 
@bwoebi cool, I just looked too
 
neo
1:55 PM
@JayIsTooCommon no i cannot code...I realized i am not a good coder inef to build a website by my own
 
tfw you are intrigued enough to unignore and then wish you hadn't fallen for it
 
@JoeWatkins I tested locally with TEST_PHP_EXECUTABLE=auto, which is the only way it works…
@DaveRandom I hope coredumps are now properly enabled on your server
 
neo
@Gordon i can draw sketch and give the architectural idea but dont want to code
 
Anonymous
@Gordon I wasn't talking about VC funding, just in general you can ask for investments for an idea
 
@Danack yep, building node-sass every time on our CI server is a very efficient way to eat all of the CPU... I've tried looking at the sources of build-scripts of this package and it seems like there's no way to make it use some cached alternative, it either builds the thing or downloads it from a hardcoded CDN (and we can't use CDN because sometimes it fails which means the whole build failed, and random failures are bad). node is fun
 
1:56 PM
@bwoebi @PeeHaa fixitfixitfixitfixitfixitfixitfixitfixitfixitfixitfixitfixitfixitfixitfixitfixit‌​fixitfixit
 
@DaveRandom I said enabled, there's no dump yet
!!uptime
 
@bwoebi I have been running for 18 hours, 3 minutes and 30 seconds, since 2016-11-29 19:53:50
 
^ crash it and I'll have a look
 
@bwoebi oh you mean you enabled it?
 
Anonymous
@neo Yeah you're gonna struggle
 
Anonymous
1:58 PM
@neo What's the idea :-) ?
 
@DaveRandom yes
 
oic
 
neo
@JayIsTooCommon haha you think i am going to dump it here ?
 
I think (from what I read) that it's processed at logon time
I don't know how that plays with services, but may require a reboot
or at least restarting the service
 
Anonymous
@neo :)
 

« first day (2237 days earlier)      last day (2727 days later) »