« first day (4409 days earlier)      last day (763 days later) » 

10:10
Morning
10:38
o/
 
1 hour later…
12:05
@LeviMorrison I don't know. But I'd probably set it up codesniffer with two separate config files and run it twice, once for each version. And include/exclude the appropriate files in each config.
cmb
cmb
12:44
@Danack Well, maybe they should read up on what undefined behavior actually means (divergent representation doesn't look like the worst problem).
 
2 hours later…
14:20
\0
14:40
For those who've served, how's your VD been?
 
1 hour later…
15:57
happy Friday 11 o/
16:09
I'm trying to put my website on a new server, I don't use docker .. after pulling the code base on the new server and installing needed packages, the home page works, but the internal links doesn't work like this
Any idea how can I debug and see what's wrong?
Nothing inserts inside /var/log/apache2/error.log when I get 404 NOT fount error
Ok, after replacing AllowOverride None with AllowOverride All, now the error changed from 404 to 500 :-(
Ok, after enabling "rewrite" the error changed again .. please igonre what I said above .. I guess I can handle it ..
16:30
Cheer @Shafizadeh!
 
2 hours later…
18:03
The NSA is encouraging all organizations to move toward using memory safe programming languages. "NSA Releases Guidance on How to Protect Against Software Memory Safety Issues" nsa.gov/Press-Room/Press-Releases-Statements/Press-Release-View/…
18:22
Hi, im beginner in Symfony and i need to delete files after X days (i already have the function). But i dont know where to write my script...
18:36
@ramsey Rewrite PHP in rust!
\o/
Rust All The Thingsā„¢
@TugBenson I have no idea, and I don't use Symfony, but maybe try googling "symfony schedule tasks" and see what that gives.
@TugBenson You can create a command and just execute that via cron.
19:04
Maybe 15% people here can read that.
@Tpojka I dont understand sorry
JRL
JRL
@TugBenson he's saying most people in this chat cannot read french
Ok so you can set the language on the left sidebar
JRL
JRL
yep
cmb
cmb
19:28
@ramsey Did they manage to plant a backdoor in rust?
3
@Derick If you get bored, could you set me up an ssh account on people.php.net ? Trying to debug something with profiles.
Or @cmb or anyone with systems@ access.
19:54
here anybody can help in python ?
@Ansh feel free to ask, but people will feel free to ignore. Particularly as it's offtopic for room.
database.yml

domain1:ras
  signature 1:RAS
     dtaf:{X,Y,Z,M}
     serial:{NA}
     dmesg:{NA}
     verdict:{setup issue}
     analysis:{xyz}


import yaml
with open('database.yml', 'r') as f:
    doc = yaml.load(f, Loader=yaml.FullLoader)
data = doc["domain1"]
print (data)

output >> ras signature1:RAS dtaf:{X,Y,Z,M} serial:{NA} dmesg:{NA} verdict:{setup issue} analysis:{xyz}

I need the key value of "serial" which is {NA}
@Danack
> I need the key value of "serial" which is {NA}
yes
Can you ask your question, in the form of a question?
20:00
We have a yml file from which we need to get value of a key above is yml file. we need to get value of key 'serial'
doc.get('domain1', {}).get('signature', {}).get('serial', '')
The get syntax protects you from keys not existing.
@Sara baaahhh..............
Nov 21, 2017 at 13:09, by Danack
Teaching people how to help themselves is more important than giving them the answer to their current problem.
@Danack If it helps, I probably have several bugs in my answer.
@Sara AttributeError: 'str' object has no attribute 'get'
print(doc.get('domain1', {}).get('signature', {}).get('serial', ''))

AttributeError: 'str' object has no attribute 'get'
@Sara
@Ansh you should look up "python dict get key" and understand what you're doing, and then you'll probably be able to debug your own code.
20:16
begins googling "get python dic"...
ok
 
1 hour later…
21:42
@Sara null-safe built-in? :O
22:06
Great, an sql execute failing with no messages... The fates are going to insist I learn xdebug :/
alright, it's after 5pm... I'm giving in 0/
Given the Twitter dumpster fire, and if Twitter falls under, is there an "official PHP" mastodon (or other) account that can be used in a similar capacity that the official PHP Twitter account filled?
22:48
Heh, it's really enjoyable to see the mess going on, but unless the twitter dot com domain literally stops serving the site, the twitter's php account will still fill its role, won't it?
Also, NEVER LEAVE, NEVER PAY is apparently 'praxis'.
23:03
I joined phpc.social a while back, but everything with Twitter gives me a reason to use it more, and a lot of phpeeps have also jumped ship.
Network effects are certainly a thing.
23:18
Ayep
I mean, rasmus is on it now :P
more generally, what's the goal of php's twitter account? like, reach the internals and folks in this room? reach the 100k followers? making all these change platform does not feel like a win.
announcements through follower reach... which can be done through other media but... shrug
announcements in the form of "hey this RC version is out, go test it" and the popularity of the twitter platform
and it coming from someone affiliated with PHP internals (Derick)
23:35
I would try not to evaluate the perception of twitter's popularity for the 100k people who follow php's account. It's probably very easy to be skewed by our own perceptions and nearer community. For instance, it may seem to me that people are leaving Twitter en masse, but in reality possibly 99.5% of the php community does not really care for the drama.
I made up that number, evidently, and maybe a majority of people are, in fact, leaving. I'm trying to find a metric by which to evaluate reality that does not hinge on my own perception of how people react.
Ultimately, currently, it's just a bit of drama. One needs to see where twitter is going to head to. Yeah, Musk is currently trying to imprint his own style onto twitter for better or worse. Let's see where twitter is once all calmed down a bit :-D
lol yeah that's hilarious. let's see what happens!
oh, I shoudl've read the tweet below that one... Eli Lilly can't sue ... oooor.... twitter.com/Esqueer_/status/1591151353832697856
I dunno anymore
but fair, wait and see

« first day (4409 days earlier)      last day (763 days later) »