« first day (3335 days earlier)      last day (1613 days later) » 
00:00 - 22:0022:00 - 00:00

12:08 AM
How can I compare an array of elements to a string?

If I have if($onboarding_data->getStatus() == "1") It will give me an array error because it's an array to a string. How can I write if any of those elements = 1?
 
12:21 AM
@GabrielDube use a foreach loop
 
I do already but this is a second object in my loop
@Tiffany
<?php
foreach($document_collection as $onboarding):
?>
<td>
<php
echo $onboarding->getDocument();
?>
</td>
<td>
<input type="checkbox"
name="status" value="1"
<?php if($onboarding_data->getStatus() == "1" && $onboarding->getId() == $onboarding_data->getDocument_Id()->getId()):?>
checked="checked"
<?php endif;?>
</td>
 
so use a nested loop?
you really need to learn separation of concerns :/
 
@Tiffany If I do that it gives me the error that getStatus() is an array and I'm comparing it to a string
 
mixing PHP with your HTML becomes a mess and is difficult to maintain
@GabrielDube because you need to compare the elements inside of the array to the string
@GabrielDube work through this some time: github.com/PatrickLouys/no-framework-tutorial
 
@Tiffany I thought of using in_array but I'm afraid it will give me if any element matches "1" and not specially the one corresponding in the loop order
<?php if(in_array("1", $onboarding_data->getStatus())) && $onboarding->getId() == $onboarding_data->getDocument_Id()->getId()):?>
@Tiffany I will!
 
12:27 AM
and get a copy of Clean Code
 
@Tiffany What is the best way to condition the loop if $onboarding_data->getStatus() equals 1?
 
@Tiffany I'm afraid if I use another loop inside of the loop it will create more check boxes as it finds matches because the current checkboxes are created with the first loop and the second array is to check if the status of that element in the loop matches 1 the box should appear checked
@Tiffany I could be wrong
 
this is why you should separate your HTML from your PHP
 
@Tiffany I will do on my next app I'll follow the guide you sent me
 
12:38 AM
where's that template website teresko used to link ...
 
@Tiffany T_T
@Tiffany Is there a way without rewriting it to check in the current loop if there's a 1 matching in that array?
 
@GabrielDube archive.is/UaIEq
@GabrielDube if you're worried about HTML being repeated, probably not
get used to refactoring/rewriting
 
Wish me luck, I've sent something on the PHP-FIG ML
 
@Tiffany haha! I know
@Tiffany On the bright side I favorited this so it'll be my new bible
 
@Tiffany that brings back memories of the first wheels I've reinvented...
 
12:42 AM
@Girgias 🤞
 
@Tiffany thanks :)
 
@FélixGagnon-Grenier lol
 
I'm just now getting around to working on Jeeves 2
but I need to go to sleep soon... I should be used to waking up at 3am at this point
been doing it for a few months
 
waking up?
 
12:45 AM
yes, there's two times in the day that I'm able to talk to a close friend, but he lives in the UK
I guess this time is the equivalent of me staying up past midnight and trying to code
 
It's past midnight here in the UK now too :-)
 
@PeeHaa how should I go about creating the repo in github? I noticed that you didn't fork the repos to your github, but instead submitted them directly to async-bot. Do I create the repo under my github and then.......I dunno... I can't fork it
 
 
5 hours later…
5:52 AM
Hello
I am getting data from third party API.
I am using php curl_multi. In that i am request for 5 page in loop and per page it is 2 record.
But in response i am getting output like as following
Array
(
    [0] => json data
    [1] => json data
    [2] => Rate Limit Exceeded
    [3] => Rate Limit Exceeded
    [4] => Rate Limit Exceeded
)
Here i am getting only for first two index json data. For other three index i am getting Rate Limit Exceeded.
So how to get all the data without Rate limit exceeded ?
 
 
2 hours later…
8:00 AM
ersatz being a usually artificial and inferior substitute or imitation
 
cmb
8:20 AM
@Girgias, user note 124462 is about git.php.net/…
That change doesn't seem to be documented, but to me it looks like a bug fix anyway.
 
8:41 AM
morning
 
@cmb the bug to me is more why is it reported as callable? But I agree the change to property exist is a bugfix.
 
cmb
callables are a mess; see also wiki.php.net/rfc/consistent_callables
 
Wes
on that note, i wanted to propose
function bar(Closure $c){}
bar("strlen");
to be automatically boxed into a Closure, and similarly
function baz(): Closure{ return "strlen"; }
would be the same as writing return Closure::fromCallable("strlen");
@Girgias @MarkR maybe you guys have the strength to propose that :B
 
9:13 AM
I always forget the callable mes
But I don't even know how I'd approach that
 
cmb
9:50 AM
@Wes, IMO that's too special. I'd rather have some general notation for callables instead of strings/arrays. @LeviMorrison's idea to merge symbol tables would basically solve this, but I don't think it will pass.
 
Wes
oh i am 100% in favor of that
 
10:12 AM
Won't install anymore to /user/includes/php, needs to install to /usr/local/php – #78900
 
10:50 AM
@cmb what would break if we merge symbols tables? I don't really know what is the impact of those
 
cmb
Currently you can variables and functions (and others) with the same name. That would no longer be allowed.
 
Huuuuum, I suppose it would pass easier if only the symbol table for variables is seperate ... But then I don't know how helpful that would be for the whole callable issue ...
 
cmb
1 problem is: what would $this->foo mean? Is it a var or a func?
 
Aaaaaa god damnit, so only variables not in classes? But then that's just a weird use case
 
10:56 AM
I wonder if bringing this up by showing how I'd would resolve the callable issue if that would help for support
 
Wes
it was brought up several times
iirc we ended up discussing of how smart the UNIVACs were back in the '70s as they were case-insensitive
not even joking
for a starter i'd try to make methods and functions case sensitive
ie case sensitive like properties
that's a step towards unified symbol tables
 
Wait, what, they aren't????
 
Wes
they are not
 
'_'
Are constants case sensitive?
 
Wes
constants are both case sensitive and case insensitive
you hear that right
we should totally remove that crap in php8
class constants, and regular global scope constants defined with const are case sensitive
but constants defined with define() may be defined insensitively
i'd say the vast majority of sensible people would agree on both changes
make all case sensitive
 
cmb
11:08 AM
All consts are case-sensitive in PHP 8, see wiki.php.net/rfc/case_insensitive_constant_deprecation
 
Wes
oh, niki anticipated me
that's awesome
so we just need case sensitive functions and methods :P
good guy niki removing all crap from php
that was such a weird feature
 
@Wes Yes, this will also increase the speed of PHP ) So, huge +1 for making all names case sensitive (classes, functions, namespaces, etc)
 
Wes
i am positive people will welcome the change because it's an established good practice using the correct case
wordpress iirc has one occurrence
i would also make class names case sensitive
 
cmb
Might be bad for code using GD functions, though.
 
Wes
for example?
 
cmb
11:22 AM
imagecreatefromjpeg is sometimes spelled ImageCreateFromJpeg etc.
 
Wes
yeah, but not too hard to fix
 
@cmb I suppose if we provide a fix which adds thoses as use x as alias should do the trick
But can we make such a change without deprecation notice? That's my main concern on why stuff might not be accepted
 
Wes
surely you can fix most of class names and functions with a simple sniff
methods might require static analysis
 
Sure, but the writing cmb is talking about is to make the function name more readable
 
cmb
@Girgias, I don't think we can provide aliases for all cases (could be imageCreateFromJpeg, imageCreateFromJPEG etc.)
@Wes, and what about callables, e.g. "StrLen"
 
Wes
11:27 AM
use function imagecreatefromjpeg as imageCreateFromJPEG;
 
cmb
ah! :)
 
Wes
if one really wants to use that case..
@cmb afaik phpstan can understand those
 
cmb
Would phpstan work on arbitrary legacy code?
 
Wes
if they use the callable type declarations it would work most of the times i am guessing
 
cmb
Note that I'm not against making everything case sensitive, but I believe there will be huge resistance.
@Wes, I'm speaking of legacy code, which may have no type hints at all.
 
Wes
11:32 AM
i'm not sure about that, it's even recommended in PSR to have everything case-sensitive
 
cmb
that code predates PSR by many years
 
Wes
we just need to try though
let people vote
regarding the deprecation notice, it was discussed here once
i am searching but search sucks :(
pinging @LeviMorrison and @NikiC. tl;dr we are discussing about making functions, methods and class names case sensitive (maybe in separate rfcs) would some of that be doable in php8?
 
@cmb yeah as Wes said not actually providing extension level aliases :) but I feel if we can manage to get a tool to fix those case insensitive usages we will have a better chance at making everything case sensitive
The only issue I can see is with user defined functions maybe?
 
11:47 AM
@NikiC Remember we spoke about me abusing a CE flag to remember that Xdebug had already analysed a class for code coverage? There is a whole new problem now that I hadn't thought about: twitter.com/derickr/status/1200399173469782016 — suggestions are welcome :-)
 
Good day, i am sending data to my server by using: ```const formData = new FormData();

formData.append('photo', {
uri: path,
name: `photo.${fileExtension}`,
type: `image/${fileExtension}`,
});

formData.append('user', userId);
formData.append('description', description);
formData.append('location', location);
formData.append('post_type', post_type);``` and i want to receive it on the backend with $_REQUEST, but only the photo is displayed in the array and not the additional params
 
@codGmer you should look at the network connection tab in your browser and see what data is being sent to the server by the form. If you're not seeing it on the backend, then it's probably an error in the Javascript.
 
It is sent by an react native application, so its hard to debug
 
cmb
FormData.append() converts the object to string, I think
 
12:03 PM
The streetlight effect, or the drunkard's search principle, is a type of observational bias that occurs when people only search for something where it is easiest to look. Both names refer to a well-known joke: A policeman sees a drunk man searching for something under a streetlight and asks what the drunk has lost. He says he lost his keys and they both look under the streetlight together. After a few minutes the policeman asks if he is sure he lost them here, and the drunk replies, no, and that he lost them in the park. The policeman asks why he is searching here, and the drunk replies, "this...
 
Idk what you mean by that but i am trying to solve this for 1 day now
 
cmb
var fd = new FormData();
fd.append('foo', {'bar': 'baz'});
console.log(fd.get('foo'));
 
And you're here, asking for help in a PHP chat room, rather than adding something to your app that shows you what data FormData has attached to it. aka what cmb wrote.
 
well i have done that already and it output all correctly
FormData {
"_parts": Array [
Array [
"file",
Object {
"type": "image/jpg",
"uri": "file:///data/user/0/host.exp.exponent/cache/ExperienceData/%2540codgmer%252Frepresentin-project/ImagePicker/e2eabe76-6dab-4746-8274-73c3d5f53205.jpg",
},
],
Array [
"params",
Object {
"action": "uploadProfileImage",
"userID": "12",
],
],
}
 
@cmb I place 5 dollars on the bug being way stupider than that.
@codGmer that clearly doesn't have the other data on it. So.....you need to find out why that's possible. But that's only going to be possible by debugging the code inside the app, not on the server side...
 
12:10 PM
well no my actual data is different, i just used an example data: data.append('file', {
uri: selectedImage.uri, // your file path string
type: 'image/jpg'
});
data.append('params', {
action: 'uploadProfileImage',
userID: userInfo.UserID
});
 
sometimes .. the quality of issues nowadays ... github.com/amphp/amp/issues/294
 
cmb
@bwoebi, succinct ;)
@codGmer, it seems React has its own FormData; don't know about that
@Danack, ack, should be debugged on client
 
Okay Morning!
 
Common Lisp is case insensitive
@beberlei heya, are you around? Wanted to know if tideways was 7.4 compatible yet or not
 
is it okay to mock repositories if I test apis using phpunit and guzzle?
 
1:08 PM
yay
thanks @Danack
 
1:37 PM
wrong output of var_dump() for uninitialized named properties – #78901
 
2:28 PM
Question: how can I track new class registration in the EG(class_table)?
Actually, in the CG(class_table) )
 
o/
 
Hi there
                            <input type="checkbox" name="status" value="1"
                                    <?php
                                    foreach($onboarding_data as $checked):
                                        if($checked->getStatus() == "1" && $onboarding->getId() == $checked->getDocument_Id()->getId()):?>
                                   checked="checked">
                                    <?php endif;?>
I want my code to show if the status of the checkbox is 1 to show checked otherwise to not show checked and it only shows me the checked boxes everything else is not showing anything at all
I tried moving the closing > of the input tag after the endif and it didnt work
 
move the > to be after the endif so you get valid HTML
 
I did and its showing me this
and if I keep the > before the endif it shows me this
 
look at the html-source, not at what your browser fabricates - is your php code executed at all?
 
2:42 PM
Yeah it's executed, those are the only 2 fields that contain 1 status in the database
This is what the source is showing
I wonder where the extra > is coming from
 
can you post a more complete snippet including the endforeach ?
 
Here you go
<?php
foreach($document_collection as $onboarding):
?>
<tr>
<td>
<?php
echo $onboarding->getDocument();
?>
</td>
<td align="center">
<?php
echo anchor($onboarding->getUrl(), "Download");
?>
</td>
<td class="">
<label class="option block mn">
<input type="checkbox" name="status" value="1"<?php foreach($onboarding_data as $checked): if($checked->getStatus() == "1" && $onboarding->getId() == $checked->getDocument_Id()->getId()):?> checked="checked"<?php endif;?>>

<?php
endforeach;?>
<span class="checkbox mn"></span>
 
3:12 PM
@Wes Case sensitivity should be unified. I don't care strongly about making them all sensitive or insensitive; I slightly prefer insensitive because then there are no locale issues (but since we've had it for so long this isn't much of an issue) and it's slightly faster because we don't have to normalize the case everywhere.
/cc @NikiC ^
 
3:28 PM
@GabrielDube am string wondering why you are looping inside a tag.
<input type="checkbox" name="status" value="1"<?php foreach($onboarding_data as $checked): if($checked->getStatus() == "1" && $onboarding->getId() == $checked->getDocument_Id()->getId()):?> checked="checked"<?php endif;?>>
 
@LeviMorrison do you know if it is possible to track registration of new classes in the core? Without optimization, there is the ZEND_DECLARE_CLASS opcode which can be handled by user opcode handler, but this opcode is removed by default.
 
@lisachenko I don't know. I haven't looked for it.
 
ok, thanks
 
@Ghostff How can I make it show checked otherwise?
 
3:44 PM
@GabrielDube you want a checkbox for each of the $onboarding_data?
 
@Ghostff yeah and only show checked if the status ==1 and the id matches the document id otherwise show not checked in the same loop
@Ghostff There's also another loop running at the same time before that one
 
@kelunik I cannot get to an installable set of version when I try to combine these three packages in a project:
{
    "name": "async-bot/dev",
    "type": "project",
    "license": "MIT",
    "authors": [
        {
            "name": "Pieter Hordijk",
            "email": "info@pieterhordijk.com"
        }
    ],
    "minimum-stability": "dev",
    "require": {
        "amphp/websocket-client": "dev-master",
        "amphp/http-client": "dev-master",
        "amphp/http-client-cookies": "dev-master"
    }
}
 
@GabrielDube so is the checkbox suppose to be repeated based on first or child loop
 
If I target specific rc's some package will refuse and if I target dev-master some other package will refuse to resolve
 
Anyone know of a PHP extension that still supports PHP 5 and 7 in the same code base? Looking for the right way to do PHP version specific stuff in the .m4 files.
 
3:53 PM
@PeeHaa dependency version mismatch?
 
@Ghostff The first loop only
 
Yeah
I am kinda stuck with that
 
:/
 
@Tiffany I will create the repo and you can PR to the repo if that's ok by you?
@Tiffany :/ indeed :(
 
<?php
$select = '';
foreach($onboarding_data as $checked) {
    if ($checked->getStatus() == "1" && $onboarding->getId() == $checked->getDocument_Id()->getId()) {
        $select = 'checked';
    }
}
?>
<label class="option block mn">
<input type="checkbox" name="status" value="1" <?= $select ?>>
 
3:57 PM
@Ghostff If you are not going to break I would use array_reduce instead :)
But you probably want a break in there
 
@PeeHaa Right.
@GabrielDube add break after $select = 'checked'
 
Want me to set up a skeleton @Tiffany?
 
if (....) {
        $select = 'checked';
        break;
    }
 
@Ghostff And it worked perfectly
@Ghostff THANK YOU
 
@GabrielDube Moving the child out of the parent might be what you wanna do instead.
 
4:04 PM
@Ghostff What do you mean?
 
@GabrielDube Something like this 3v4l.org/iLE4E (Not test, but the point is to prevent multiple loops)
Not tested*
 
@Ghostff That is much cleaner and I guess would prevent the issues
I will test it and let you know
 
4:21 PM
@PeeHaa Any idea why DocBook wouldn't give me an option to save?
 
@Machavity What do you mean the save button is disabled or somethign else?
 
It's disabled. When i first open the entry it says something about "Edited by Anonymous #12345" or similar
 
Ah it's locked by another user
 
What file is it?
tnx
Let me check if I can fix that for you
 
4:24 PM
@PeeHaa thanks. I had to take a quick power nap, didn't get enough sleep last night.
 
nn :P
 
Nah, I'm awake now
 
@Tiffany You have some keyboard marks on your face btw
 
@Machavity I'm still in bed, lol. I do have two cats on me.
I need to go buy them cat food before I get invested in anything though
 
I stole the anon edit and committed. File should be unlocked now @Machavity
 
4:32 PM
@PeeHaa Sweet. Thanks
 
yw
@salathe how can I kill WIPs in the online editor? Do I need permission for that somehow?
Currently I can only take the WIP over and revert it manually, which is gross
 
Patch submitted
 
cmb
@PeeHaa, you need admin rights in global_avail.
 
Do you have commit access to that :-)
@Machavity Thanks <3 committed
 
cmb
Regarding that patch: warning is only raised as of PHP 7.4.0 (I think). Should probably have a changelog entry.
 
4:41 PM
That's @Machavity's patch ;)
It's 7.3 though right?
According to the PR
 
Definitely 7.3. It's in the incompatible list
 
Yeah 7.3
Aye
 
Had to fix several instances on my Dev when I rolled it up to 7.3
 
So who are the current release managers for PHP?
 
derick and peter (for 7.4)
 
4:44 PM
👍
 
@bwoebi In PHP 5.5-5.6, it looks like a zend_execute_data is made pretty late; in an opcode handler it'd be difficult to get that frame unless I used zend_execute_ex. At least as far as I can see. I'd appreciate it if you can take a look and let me know if you have any ideas.
 
cmb
@PeeHaa, I have commit access to global_avail, but can't find what to change. :(
 
heh
 
@PeeHaa You need to be a global or language admin in github.com/php/web-doc-editor/blob/…
 
!!lxr implementsInterface
 
4:47 PM
or ask one very nicely
 
@PeeHaa Totally failed to get a valid results page
 
right :(
@salathe Can't we just allow all docs karma people to delete patches?
 
Looks like there's some 1200-ish sitting out there
 
/me opens the repo in fear
 
@PeeHaa Or just delete the online editor and use pull requests :P
 
cmb
4:50 PM
Ah, thanks @salathe!
 
Yeah I am all for that :D
But as long as it is what it is it's nice to be able to do my work
:P
 
Which WIP(s) do you want deleted?
 
@LeviMorrison Imagick.....but I can't remember needing to do much with the .m4 files for that.....though I may have blanked that out.
In fact, I'm pretty sure I will deny all knowledge of anything related to .m4.
 
anon101004 and anon101023 @salathe
<3
 
4:55 PM
@salathe that, and/or use a local building editor - github.com/danack/PHPDocTool I need to polish that. The performance inside docker is actually acceptable now for that on mac.
 
sure
 
you sound convinced.
 
@Ghostff It worked perfectly
 
Good morning
 
Sorry @salathe also anon100421 as it is wrong github.com/php/php-src/blob/…
 
5:04 PM
Does anyone know of a tool that can be used to create a regex that will match all of the unicode characters that can be represented by a particular ttf font?
 
cmb
5:21 PM
@PeeHaa, cleared (aah, one of those wishful thinking "PRs")
 
:P
tnx <3
 
 
1 hour later…
6:29 PM
@LeviMorrison when doing a fcall or what?
 
@bwoebi Yes.
 
@LeviMorrison in PHP 5 it's the same than in PHP 7?
 
If I don't use zend_execute_ex, where is the zend_execute_data frame actually made?
 
@LeviMorrison in init_fcall for example, have a look at EX(call_slots)
do_fcall has op2.num
you can do EX(call_slots) + the_do_fcall_op->op2.num to get the frame
 
Thanks, I'll look at that a bit and I'm sure I'll have more questions.
 
6:32 PM
oh
I see the issue
this call_slots contains the call frame data yes, but not the future execute_data address...
 
7:27 PM
Hey folks, Looking for some nice way to search and get key by its value (without using loops) For example:

$array = [
['a' => 'a value'].
['b' => 'b value'],
];

some_method('b', $array);

//output: ['b' => 'b value']
 
> without using loops
Why?
Also is the array always in the same structure?
 
Because i want to know if there is built-in function for that
and yeah same structure
 
Why not just return [$key => $array[0][$key]];?
 
Memory leak when using stream_filter_append – #78902
 
7:54 PM
@LeviMorrison For PHP 5, if you want to avoid hooking zend_execute_ex, your best choice is overloading the do_fcall handlers, replacing the call slot zend_function * with your own fake op_array containing exactly one opcode with your own handler. Then, when your own handler is called, you grab EG(current_execute_data), you switch the op_array within EG(current_execute_data) and move EX(opline) to the first opcode of the op_arrays oplines.
so essentially you need to insert your own "function" and "trampoline" to the original function afterwards
at which point … I guess I would just recommend hooking execute_ex for PHP 5.
 
8:42 PM
@bwoebi I'm not very familiar call slots work. Do you know of anything that roughly explains it?
Do I need to override that slot at compile time?
Can you think of any artifacts that the approach may have, like messing up stack traces?
I do agree that zend_execute/zend_execute_ex would be much easier for PHP 5. I'll consider bringing it up again.
I wonder if they'd consider doing it for PHP 5.4-5.5, which have a much smaller user base than 5.6.
 
@PeeHaa I'm using the following in my fink fork:
"amphp/http-client": "dev-master as 4.0.0",
"amphp/http-client-cookies": "dev-master",
 
"Allowed memory size" and "bus error" crashes in 7.4 that do not appear in 7.3 – #78903
 
Awesome let me test \o/
 
9:03 PM
ok that takes me a bit further,but blows up in a different package :|
Unless I forgot to push something
Can you tell me what I am doing wrong here: github.com/async-bot/example/blob/master/composer.json
@kelunik
  Problem 1
    - Installation request for async-bot/core dev-master -> satisfiable by async-bot/core[dev-master].
    - amphp/http-client-cookies dev-master requires amphp/http-client ^4.0.0-rc9 -> satisfiable by amphp/http-client[v4.0.0-rc9].
    - Can only install one of: amphp/http-client[v4.0.0-rc9, dev-master].
    - async-bot/stackoverflow-chat-driver dev-master requires amphp/http-client-cookies dev-master -> satisfiable by amphp/http-client-cookies[dev-master].
    - async-bot/core dev-master requires amphp/http-client dev-master as 4.0.0 -> satisfiable by amphp/http-client[dev-mas
Wait I have to copy the things I guess? :(
yep ouch
Thanks @kelunik
Did something change that could cause this @kelunik:
PHP Fatal error:  Uncaught Amp\Http\Client\Connection\Http2StreamException: Stream closed by server in D:\Web\amp-bot\example\vendor\amphp\http-client\src\Connection\Internal\Http2ConnectionProcessor.php:672
Stack trace:
#0 D:\Web\amp-bot\example\vendor\amphp\http-client\src\Connection\Internal\Http2Parser.php(440): Amp\Http\Client\Connection\Internal\Http2ConnectionProcessor->handleStreamReset(3, 5)
#1 D:\Web\amp-bot\example\vendor\amphp\http-client\src\Connection\Internal\Http2Parser.php(149): Amp\Http\Client\Connection\Internal\Http2Parser->parseStreamReset('\x00\x00\x00\x05', 4, 3)
 
@PeeHaa Yup, I refactored HTTP/2 completely :D
 
How can I fix it :P
 
How can I repro it?
 
Is it enough to clone a repro or do you want a minimum repro?
 
Cloning is fine.
 
9:17 PM
Clone this bad boy github.com/async-bot/example
 
@PeeHaa According to the error code we're sending data on an already closed stream.
 
Feels like in that case something closes too soon
Everybody look the other way
^ ./config.php
:-)
 
@PeeHaa do I need to fork it first, correct?
 
@PeeHaa brb, installing PHP 7.4
 
After install + config.php + composer -> php ./bin/botman.php
@kelunik kk
 
9:19 PM
How is it going.
 
@Tiffany aye
 
or do I PR directly? (this doesn't seem right to me, but I'm not sure)
alright
I cloned the repo without forking it first -_-
 
Fork -> changes -> PR -> famous
 
sonic boom, totally was not expecting that
 
@Tiffany Note that phpcs doesn't play nice yet with 7.4 so you have to keep track of CS yourself like a savage
 
9:23 PM
code sniffer?
 
@PeeHaa wow, that's cutting edge.
 
@Tiffany yep
 
I've never used one before :X
 
@LeviMorrison No worries. By the time it is ready it's legacy again :D
 
this will be quite a learning experience for me
 
9:23 PM
@PeeHaa Ahaha
 
@LeviMorrison Cutting edge is PHP 8. :P
 
@Tiffany As with anything involving learning. Small steps :)
 
@PeeHaa any idea why this is getting created?
all it has is .git
 
errrrr
Nope
I did rename it at some point
But that was yesterday
 
I did start it out yesterday named as booze-plugin, but I deleted the folder
unless git has some unholy grip on it
 
9:27 PM
@PeeHaa Ok, ready, composer install is finished, what now?
 
Get the config.php from the deleted message ^^^^^^
Then run php ./bin/botman.php
oh right don't see the deleted on in transcript
 
lol
 
Can share it again if needed
 
@PeeHaa TIL that I can see deleted messages :D
 
:48009992 this
 
9:28 PM
lol
:P
 
oh, it doesn't point to it
@PeeHaa booze-plugin\.git\logs\HEAD <- empty file, all that's inside of it
 
Just remove the directory
And if it comes back again call ghostbusters
 
@PeeHaa How long does it take?
 
@kelunik Straight away
 
this is the second time it's appeared :/
 
9:30 PM
It says Manager starting and then does nothing.
 
Wait
 
@kelunik yeah, that's what it does... then it posts the time in Jeeves' Playground every 15 minutes
I had the same experience, lol
 
Can you pull again?
I dun fucked :(
$ git push
To github.com/async-bot/example.git
 ! [rejected]        master -> master (fetch first)
error: failed to push some refs to 'https://github.com/async-bot/example.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
 
Did it too often, now I get Uncaught AsyncBot\Driver\StackOverflowChat\Authentication\Exception\CaptchaRequired: The StackOverflow authentication requested a captcha ^^
 
Sorry about that
 
9:31 PM
can you do the captcha in the browser by relogging? (I talk like I know what I'm doing)
 
pull / composer / run again :-(
So sorry
@Tiffany Neh. I am just retrying :P
Bot runs headless on a server far far away
 
baby yoda sipping soup
 
9:44 PM
@PeeHaa what do I need to do when the bot says it gets a captcha?
 
Wait 39 seconds and try again :(
give or take
 
Is there a way to view preloaded files?
 
@kelunik Does it at least also blow up for you once you don't hit the captcha?
 
o/
 
@PeeHaa After pulling, yes.
 
9:52 PM
Good :P
 
00:00 - 22:0022:00 - 00:00

« first day (3335 days earlier)      last day (1613 days later) »