« first day (3427 days earlier)      last day (1743 days later) » 
00:00 - 23:0023:00 - 00:00

00:02
It looks like there is some string replacement stuff in tasks.
Maybe can automate my VERSION replacement on release or something.
I mean updating the package.xml file should be scriptable
I think I'll try to have a think about CI scripting it so that it produces an artifact
cmb
cmb
00:29
@Girgias not yet about publishing PECL extensions, but IMO that would fit in there.
user11867329
Hey
user11867329
Sorry to barge in, but urgent help needed.

My debian machine thinks it's IP (fetched by pinging a random domain) is different from it's actual IP
user11867329
which breaks my SSL
user11867329
I have no idea what triggered that
user11867329
when I ping I have an IP of:
x.x.x.35
user11867329
00:32
but if I check via:
dig +short myip.opendns.com @resolver1.opendns.com
user11867329
I get x.x.x.33
user11867329
which is the appropriate static IP I have associated with the machine
user11867329
so it's purely local
user11867329
(?)
@Girgias What's your git repo?
@Derick You can install PHP files as part of a pecl install; put them in the contents node with the role="PHP" attribute. Documentation should have role="doc". Still searching about .ini files.
Sure would be nice if the docs on file roles actually said what all the special roles are...
@Girgias See pear.php.net/manual/en/guide.users.concepts.stability.php, although I don't know how much of this matters.
user11867329
00:47
>:|
user11867329
Debian, where does the machine fetch it's IP from?
user11867329
Say when you ping
user11867329
where does it find the IP to put in from "myIP" ...
@cmb makes sense, I think however documenting HashTables has higher priority because I still don't get when/why you need to use ALLOC_HASHTABLE and FREE_HASHTABLE and and some of the other APIs
Ah so I should have used alpha I suppose
Time for 0.3.1! Teehee
00:53
No time for sleeping :p
user11867329
>:|
user11867329
Debian
user11867329
IP
user11867329
where
01:14
@Girgias This PECL tool is better than I thought, actually. Still haven't figured out how to make it run the tests, but it can install files, docs, and tests.
@OakDev random question, but is your cert issued by let's encrypt and are you affected by the revokation?
user11867329
@Tiffany nope, thanks though.
user11867329
No the issue is my machine thinks it's IP is x.x.x.35
user11867329
but it's x.x.x.33
user11867329
so using the certbot util from bitnami, which checks LOCALLY for my WAN IP, detects a different IP
user11867329
01:24
so it doesn't proceed
user11867329
so I'm wondering WHERE does ping util fetches the WAN IP from
user11867329
So I can force it to be 33, which is the actual machine IP (Say I check openDNS resolver)
user11867329
to get my certificate
user11867329
Google Support, spoke with 3 guys, all thought it was strange
user11867329
waiting on email support, but I can't afford to have 24h + of non-HTTPS
01:30
Yeah, not sure, all I'm aware of is the LE thing, which I had to fix the cert in my VPS
user11867329
No stress.
user11867329
Sherif
user11867329
Sherif knows
user11867329
Sherif, where does ping (linux) fetches the pinging from {MYWANIP} from
user11867329
01:51
Will saying I may die of starvation momentarily help?
user11867329
bash: will: command not found
user11867329
let me try with would
@OakDev probably not. If you're this desperate for help, you may be better off looking for paid support somewhere.
user11867329
I have been eating eggs for a week
That doesn't change my answer
If you need HTTPS within 24 hours... well, spamming r11 isn't the way to go :D
user11867329
02:05
Thank you for your opinion ^.^
user11867329
At least I have addys
I'm really wishing I had macros in PHP right now... nesting functions works, but could be much prettier.
user11867329
I'm so glad I had things I hated with a passion when I was younger.
02:32
@OakDev Where does the ping go to when you ping your WAN?
user11867329
any domain
user11867329
not important (well, i dont think)
user11867329
Im on Google Platform, my IP is static, X.X.X.33
The ping goes to the A record of that domain name, which is looked up by the NS record.
user11867329
no but
user11867329
02:33
the FROM
user11867329
when you ping, it says from "YOUR IP" to (domain's IP)
user11867329
domain IP, not important
user11867329
from gives x.x.x.35
The sender's IP is whatever is bound to the interface that sends the ICMP packets.
In the case of a home wifi that'd be your modem's IP address.
user11867329
That! Where do I find the string (IP) bound to the WLAN interface
user11867329
02:35
WAN*
Unless the ICMP packets are going over the LAN, in which case it's whatever the host machine binds to the interface.
user11867329
ifconfig only shows LAN Ips
user11867329
I believe it's the latter
user11867329
as it's different than what it should be
user11867329
and what dig opendns @resolv gives
02:35
What do you think it should be?
user11867329
I know it is x.x.x.33
How do you know that?
user11867329
as per my GCP Compute Engine Dashboard
user11867329
and as per openDNS lookup
Oh you're on GCP?
That's a whole 'nother ball park.
user11867329
02:36
Yes. Waiting for email support. Which may take waaaay too long
user11867329
I know.
GCP routing is primarily software based. So you have no idea what broadcast you're talking to.
user11867329
Especially because ping FROM is, more specifically, x.x.x.33.googleuser.msadadmasdm.com
At least not from purely from the client's perspective.
Yea, your host machine's physical address has no relevance inside of GCP's network.
Especially since Google loves to NAT WAN across the Internet
user11867329
i know.
user11867329
02:38
but the issue is the certbot I'm using
user11867329
looks locally
user11867329
for my machine's IP
user11867329
which is incorrect, apparently.
You mean letsencrypt?
user11867329
Since it doesn't match my A record.
user11867329
02:39
Nope
user11867329
Bitnami certbot (Not sure they use Let's Encrypt, maybe, and yes I saw the article, it doesn't apply to me)
user11867329
The strangest is the fact the IP is identical
certbot is for letsencrypt certificates
user11867329
up to the last number
user11867329
sudo /opt/bitnami/bncert-tool
02:42
I'm not sure what your issue is specifically, but it sounds to me like you configured certbot badly.
Either that or you're doing something silly like trying to run certbot on a zone that doesn't host your dns.
user11867329
There is no certbot. It's a certification utility
user11867329
For once in my life, I know this isn't due to a silly mistake.
OK, what do you want me to do then?
user11867329
Well, your attention was nice...

Seriously though, where does PING fetch it's IP from. I want to manually change it
You can't. You'd have to add a static route.
I honestly don't think your issue has anything to do with ping. You could just try explaining the real issue to me or you could continue trying to XY this thing till you're blue in the face. It's up to you.
user11867329
02:50
user11867329
I am migrating to a new server.
Sounds good so far.
user11867329
I will use cloudflare.
user11867329
Everything was working perfectly fine.

Resolved to my new server, no issue.
user11867329
I found the certif util from the makers of my image (bitnami)
user11867329
02:52
I ran it, poof, worked like a charm in seconds.
user11867329
Then, I had the brilliant idea to start messing with my records to "Verify" with MailChimp
user11867329
Because I want to use them as a mail server.
user11867329
To do so, I mistakenly switched the nameservers back and forth like the uneducated person that I am.
user11867329
Next thing I knew, SSL Error 500.

Which is problematic, since I have HTTPS rewrites
user11867329
forced.
02:54
We're getting somewhere here.
user11867329
So I said, well, I'll try to re-do the cert thing! Maybe maybe something
user11867329
Then the cert thing told me
user11867329
Gary Oak The Great
user11867329
We're sorry but
user11867329
your machine's IP doesn't match the A Record (which is X.X.X.33)
02:55
Of course not.
user11867329
So I'm like well... that's my IP what the hell
user11867329
So I googled how to use dig command
ahuh
user11867329
to find my IP via openDNS @resolv
user11867329
and what was my IP?
02:56
ZOMG!
user11867329
X.X.X.33
user11867329
So am liek
Ya don't say?
user11867329
whatDAheil
user11867329
so I had the brilliant idea to ping
user11867329
02:57
to see what this ping util badboy thought about the whole thing
please stop talking now
user11867329
and BOOM, X.X.X.35
user11867329
@Sherif exactly
@OakDev When did you change the name servers?
user11867329
can I talk?
02:58
Just answer the question please.
user11867329
Couple of hours ago.
user11867329
and I suspected bad propagation
OK, so your confusion here is a mere lack of understanding how DNS works.
user11867329
well, incomplete propagation
user11867329
Ok shoot
02:58
That's it. I'm done.
Your problem is the result of you not understanding DNS.
</story>
What was the TTL on your NS record?
user11867329
One sec, 90% 14400
user11867329
So, (i know you'll defy) you also suspect it's DNS propagation that was incomplete?
And what's your A record's TTL?
user11867329
Same
Give me the host name whose DNS records were updated.
user11867329
03:01
Presently I reverted back to HostGator (Removed cloudflare's ns)
I'll show you where your problem is.
oh you were on CF?
user11867329
The actual domain name?
Well that changes everything.
user11867329
Do you mind if we private chat?
CF controls the TTL.
user11867329
03:01
I know, but I reverted back
user11867329
Blindly, because the first propagation was instant
Doesn't matter. DNS is cached my friend.
You do understand DNS is a decentralized distributed system, right?
user11867329
DNS checker did indicate a couple of discrepancy
user11867329
Yes.
user11867329
Which is why I believe I will need to wait it out
03:02
DNS checker can't help you here.
user11867329
Elaborate?
You would have to look at the authorative resolver
Because it's the only one that can tell you the truth
everyone else lies
user11867329
How would you find the authorative resolver
And that means that until everyone else on the network has discarded their cached lookups and resent their request to the resolver you're screwed.
@OakDev It's in your host zone
user11867329
Gotcha, so the cert tool probably checks with authoriaajadhtitve resolver
user11867329
03:05
from my host zone which is shared will hundred thousand others
user11867329
?
no
the cert tool doesn't do squat
The verification happens remotely
user11867329
Well, it compare machine IP with A record
Which means it goes over the Internet which means it uses DNS, which means it caches DNS lookups
Which means until that cache expires, there's nothing you can do
user11867329
If it does, then it's impossible for me to know the authororiztative resolver used(?)
03:07
I didn't say that
user11867329
no i did
What I'm saying is there's nothing you can do here
user11867329
aside from?
You just have to sit pretty and wait
user11867329
Yeah, figured as much
03:07
Next time you want to do something like this make sure you lower your NS TTL to something like 1 minute.
On both ends
user11867329
So my mistake (thanks btw) was to think that because it propagated fastly, I could repeat
user11867329
but the first propagation got cached
You're forgetting that if it's the first time doing the dns lookup it will have no cache
user11867329
Exactly (what I meant)
user11867329
Ok good. Damn. Now I don't even know what I'm doing with my life.
03:09
Welcome to the Internet
user11867329
poor kids
user11867329
with their hopes and all
You think this is bad? Wait until you figure out how BGP works.
user11867329
Talk to me, Shaman.
The Internet was built on toothpicks and bubblegum.
The fact that it even works at all is nothing short of amazing.
user11867329
03:10
I agree
user11867329
and now Shodan
user11867329
I... I feel like sharing personal stuff now.
Save that for your therapist.
user11867329
let's hope it won't be a CO
user11867329
again
03:13
Corrections Officer?
user11867329
imma go take a shit
Lovely.
Thanks for sharing.
user11867329
Scary
user11867329
On a lighter note, isn't docker amazing?
user11867329
03:30
@Sherif you miss me already. have a good one
user11867329
04:28
@Sherif Literally everything was in order, my certificate, everything. I was just thrown off by the error.
05:01
This warning really ought to go away if there's a namespace, but there's not really any obviousness at all how this code functions: github.com/pear/pear-core/blob/…. For goodness' sake, it uses extract...
05:16
morns
05:56
morns
06:21
@DaveRandom No :)
Good morning.
07:14
o/
o/
cmb
cmb
07:35
\o
cmb
cmb
08:09
@Girgias, the PECL/CSV builds for Windows failed for PHP 7.4, because csv.c uses uint 2 times. The portable uint' (and ulong) typedefs have been removed as of PHP 7.4.0, though. I suggest to replace with unsigned` or such.
09:02
Morning
09:14
I have a mock interview this morning. I gotta rock it.
09:28
test_cp1253_to_utf8_1 still has spurious failures
Madainn mhath!
09:45
\o
@LeviMorrison good to know :D
@cmb oh, will fix that this evening then as that's a bit of an issue
10:31
XmlWriter docs does not say $uri is nullable ・ XML Writer ・ #79341
11:13
Syslog broken on FPM since PHP 7.3.0 ・ FPM related ・ #79342
cmb
cmb
@NikiC I hope git.php.net/… fixes this. Ugly tests. :(
11:55
hey guys;
12:43
@beberlei you forgot about constants (not class constants) or was it intentional in Attributes v2 draft?
forgot
Morngins
Feasgar math!
@beberlei got only one comemnt, regarding the Why not use @ or [] syntax like everyone else? section, it is not true that use of [] or @ is valid syntax cause in annotation/attribute context meaning when used before some specific tokens like function|public|private|protected|const|static|abstract|interface|trait without explicit ; it already is not a valid syntax
It is true that [@SomeName("foo")] is a valid syntax but it is not when used as an attribute like [@SomeName("foo")] class Foo {} or [@SomeName("foo")] function foo() {}
@brzuchal technically yes, but you can only determine that with very large lookahead, which as i understand is to be avoided at all costs
Nikita said it should be an operator that is not used in a prefix context yet
12:54
I'm not an expert of parsers, with a preloading it's gonna happen only once I guess
its not about happening only once, because in the end it is also opcached without preloading, the problem is that its an anti pattern to require arbitrary lookaheads in parsers afaik. C++ has its fair share of problems with context sensistive parsing
sadly we used @ as a supression so even if tried hard with the @ would require to convert @ into @SuppressWarning attribute, then could live as an attribute on statement not as an operator
it is true that without a lookahead there is no quite much choice
13:10
My money is on eventually giving up trying to find syntax and parsing the comment for @ tokens instead :p
json_encode fails "silently" for DOMDocument ・ *General Issues ・ #79343
13:47
@brzuchal ReflectionConstant does not exist, so it cannot be added
13:57
Small question, does an array pass a Traversable type hint? Secondly how would you handle an iterator/generator on the C level
@Girgias I don't know about the second, but in answer to the first 3v4l.org/YhUeN
14:26
That's good to know, just basically will need to type hint as iterable
14:41
o/
15:04
\0
What're you wearing a head scarf there?
Usually it's a cat, in my case. She likes to lay around my neck.
That's a dangerous place for a cat to be.
Those suckers wake up scratching
@Girgias You use the iterator API.
@beberlei In other languages the only usages I've seen are abuse, aside from some language recognized ones like <<deprecated>>.
Caveat here is Rust, by the way. By moving all the "magic" to compile time is an amazing benefit.
15:31
@LeviMorrison would you vote no again then? i would say we already have the abuse in doc-comments. just that its sucky, hard for beginners (code in comments) and prone to typos and /* vs /** :)
I don't see the abuse of doc comments outside of a certain sub-community :)
I am not sure how I will vote. I will have to re-evaluate.
One aspect is that if it becomes a first-class feature then in a way that encourages its use.
15:43
do you have an example what you mean by that?
16:00
moin
ormin
andmax
<div class="foo' id='bar">
20 minutes of my life, that cost me
pick a quote style and stick to it people, for the love of christ
16:24
hah
"No!'
@DaveRandom They can pick any quoting style they want as long as it is double quotes
INSERT INTO @PeeHaa (@PeeHaa)
although I do agree
I mean, I'd have to get up for that. Feels like effort.
16:39
XmlWriter::writeAttributeNS produces bad XML with null prefix ・ XML Writer ・ #79344
16:49
@Tiffany you got a problem with bananas?
pretty sure that's racist
17:01
@DaveRandom but why
Also, I'll be rewriting that plugin to work with the new Jeeves
Mock interview went pretty well :D the only question that tripped me up was "tell me about yourself" lol
I settled on answering with something I semi-prepared but I forgot half of it while I was in the middle of answering -_-
I need to work on long pauses and fidgeting less
What's the future of pecl? I know we don't really like pear, and the two are intertwined.
role="cfg" isn't ini directory, weird.
17:22
hm i think i am going back to supporting only one attribute of the same name for every declaration. it makes it easier to use both for extensions and for userland
i cant even come up with a good use case to have the same twice
How long as the ini dir been a thing? As in, just drop in a new ini file in this folder and it will get picked up? Pear supports a lot of things, but doesn't seem to have any idea about this one.
@Tiffany presumably to stop PHP storm complaining about a missing return on an unreachable code path
And because it's funnier than assert(false)
17:48
5 messages moved to Trash can
Any support or opposition to me adding php-config --ini-dir to show the value of --with-config-file-scan-dir?
Please make an RFC and waste everybody's time with it please.
@beberlei at least in rust using the same attribute many times is super common
(That was a joke)
I got that "waste" was tongue-in-cheek, but what about the rest of it?
17:52
Write it, make a PR, and ask people to review?
It makes sense to have
@NikiC oh i havent looked at rust yet
@NikiC Can you poke around for this one: news-web.php.net/php.webmaster/28541 (and answer the email)?
or you @salathe ? (As you're named at wiki.php.net/licenses/jetbrains )
@Derick I've pinged someone
yay
I'll reply to the mail then
@Derick I already contacted JetBrains
18:12
IIRC there were some details on the wiki about it at one point.
I just linked to that ;-)
Oh, missed that ^_^
I don't use it anymore -- employer pays for my licenses.
18:41
@NikiC do you have an example from the top of your head for multiple? the built ins seem to be mostly singular use except #[cfg_attr]
there are some really nice ideas i get from the rust built-in attributes
@beberlei for example allow & deny
@NikiC they could technically be implemented using multiple arguments <<allow("warnings", "typejuggling")>> and so on.
or with an array <<allow(["warnings", "typejuggling"])>>
@beberlei true
i believe its easier to have just one in both extensions and userland to deal with
especially in extensions and core
19:08
oooh gawd, so many awesome use case ideas that are actually useful for core
hello, I'm wondering is it possible to upload large files instantly?
thank you,, but the use case is for people who want to upload photos to a website
like is there a way they can do this with minimal client-side processing?
ideally they can send over the files instantly, close the browser, and the website server does all the heavy lifting
@SAKURA <input type="file"> is kinda what you are looking for.
19:18
Sending emails with Google SMTP is very slow. Anyone else every run into same issue?
Processing (like resizing, analysis, etc) is usually to be deferred to background processing
@Ocramius I wasn't sure if that was a real product or not for a second lol
19:44
@Ocramius Fancy name for a semi-truck-sized hard drive with a smelly guy in a greasy shirt driving it.
Also, being from Minnesota, calling it "Snowmobile" is certainly confusing and possibly offensive.
@Trowski what's a "minnesota"?
@Ocramius Not sure if serious or giving me crap…?
@Trowski It's OK, some major candidates for president don't know either :P
checking for cc... cc
checking whether the C compiler works... no
configure: error: in `/home/kelunik/.php-build/release':
configure: error: C compiler cannot create executables
See `config.log' for more details
Uhm... that's new...
@Machavity At least we're down to only two now.
 
2 hours later…
21:28
@LeviMorrison i reworked the RFC and included a section about potential things that could be in core beccause of attributes, and i believe you could like ;) gist.github.com/beberlei/…
sometimes I want Python-like decorators
the sugar they provide is probably unnecessary though
21:52
Word mistake on page ・ Documentation problem ・ #79345
ohnoes it's a wrong mistake
lol it's a comment...
oh it's russian...
by design
They're saying the Russian translation is missing? Is that it?
I was about to close it, but I figured maybe this is a language barrier.
I wonder where they got "resoruce" from?
I guess they're referring to this comment php.net/manual/en/function.is-resource.php#114154
00:00 - 23:0023:00 - 00:00

« first day (3427 days earlier)      last day (1743 days later) »