« first day (3604 days earlier)      last day (1338 days later) » 

12:00 AM
Room 11 life tip: if several people already told you a specific thing. Take a step back. Try to understand what is being said. When in doubt research. @WeTheBrains
And don't throw a tantrum
On an unrelated note: yay it's fridai \o/
 
@Danack Any meet-up in sight?
 
It's been Friday for at least an hour
probably two for you @PeeHaa
 
Yeah about 3 by now
But just called it
 
how is it so wrong to get help on going straight to hacking a site that has no security implemented, the file program youre mentioned could be easily done with a simple call to the database to make sure owner is 1 or 0 if its one then 1 can delete files related to 1 and no one else
 
Let's meet at 2. :D
 
12:03 AM
So now it actually started \o/
 
ah fean, you're two hours ahead
 
@WeTheBrains Because you're asking people to prove something (which takes work) rather than asking where you can go to find information.
6 mins ago, by Danack
or ask less dumb questions. Or even just ask how to ask less dumb questions.
 
I had a funny today. I was giving a talk (virtually) for a german user group, and said in german "if you want to ask a question in german go ahead" and there was a funny man asking in the chat "can you do that in Danish ;-)" - and then I proceeded to talk in danish (norwegian) really... that was a surprise for the funny man.
4
@Danack fewer dumb questions. It's countable!
 
He's brit proper. he doesn't know the language :P
 
And when given feedback about how to not be so annoying, you don't take it, but instead double down.
 
12:05 AM
@PeeHaa Yeah, these forrenirs teaching the Brits proper English ;-)
 
@Derick meh. " less dumb questions" = "questions which are less dumb".
 
;-)
 
So random seriousish question: how's the corona restrictions in the UK right now?
 
who knows. They make it up on the spot
 
Boris does?
 
12:07 AM
the messaging has been so abysmal, I don't forking know any more
Boris has been on holiday "camping"
 
lol
 
with a fake staged camp site
 
Pubs open like normal when you go out?
 
I am not making it up!
 
Not surprised
 
12:08 AM
I am avoiding pubs. I think they're open?
I've been avoiding everything to be honest.
Restaurants are slowly opening, but right now I can't travel to the Netherlands and back without having to self-quarantine for 2 weeks when I come back.
Which sucks, because... it's my dad's 70th soon and I was hoping to go visit (and have a few days in a forest, by myself)
 
@PeeHaa the current number of cases are low, but schools and uni are starting to go back, and pubs have been open for a while, so cases are rising...
 
Yeah. Ekin's cousin went back from a Turkey vacation to the UK and had to do the quarantine thing too
@Danack :(
The moment we went back to Izmir we learned that our city was also hit pretty hard
 
Does that not work in other languages?
 
I was just about asking myself whether that works in Dutch
 
It works in every spot in Engrish, but the meaning changes
 
12:17 AM
so the meaning stays the same in other languages?
 
My Dutch is getting rusty but I got two words in right now and it still works :P
 
I can't even forking translate this
 
I actually need to write it down...
 
Zij vertelde him dat ze hem lief had ?
 
tak
 
12:18 AM
(without the only)
I AM ASKING
 
fuck
 
Dutch has fallen away
 
We are doomed
:D
I am pretty sure you are right
 
@Danack See now what you did, you ... <curse word>
 
him -> hem
hem is that a word?
Looks pretty stupid
 
12:19 AM
nee
 
hem is a word
 
misschien?
 
\o/
 
you guys are way too assimilated to figure this out :-P
 
Google says: Ze vertelde hem dat ze van hem hield.
 
12:21 AM
Yeah both work
 
Mine was better ;-)
IN ANY CASE
 
:D
 
you can't put "alleen" in all the spots
 
Just not the between the last two words
 
Ze vertelde -> Zij alleen vertelde
yeah, I think that's true
 
12:22 AM
I have been chanting all combinations here loudly and now @Ekin is looking weird at me again
Thanks obama @Danack
 
is that her default state?
 
BS. I understood more than half of it
 
No comment :D
 
I bet @Danack went to bed already
 
:P
 
12:22 AM
@Ekin That's more then me :D
 
heheheheh
Because in Dutch it's dan and als
 
what iiiiis it with you Dutch people confusing than/then when you're typing fast :-P
 
I remember once arguing the differences between intent, intend, and indent with a Brit
I knew it better than he did
 
Not even effect and affect? :)
 
but then again, he had blue hair and got stopped at US customs for smuggling drugs once
(by mistake, he had a common name)
 
12:24 AM
:-D
I got stopped at US customs for bringing in... rock... from the pacific ocean. They thought it was meth or something :-P
 
Well he had blue hair so it's not exactly unfair
 
rock? Like the sweet, or an actual forking rock?
Ask Sebastian about UK border and wine gums...
 
actual rock :-P
 
(looks like C4 on a scan for a newbie scan person)
 
I had to explain myself and people laughed hard for a minute there. But but but... it was my first time looking at pacific, had to take something back : )
 
12:25 AM
@SebastianBergmann UK border and wine gums. Gimme
 
I nearly got into trouble for having 4 hard disks with me when I moved from Norway to the UK
norwegian security told me of for that...
 
Don't hate me @Danack, but this reminds me of you imgur.com/gallery/er0hwBR :P
 
@Derick when I worked for an SMS company, one of the sales guys went to south africa, with 8 phones, and three passports (NZ, Aus and South African). He made the mistake of answering the question "What are you doing with all this stuff?" with "I don't have to explain it.".
It turns out, he did in fact have to explain it.
 
For no reason, but knowing you take pictures of nice birds.
Sorry not sorry
@Danack How come all SMS businesses are shady AF?
 
.....a lot of money to be made/stolen.
 
12:29 AM
^
 
Also funny to note: You, Ekin and me all worked for them
 
@Danack I remember Ilia Alshanetsky (a Canadian, but from Russian origin) going to the US, where the border people asked him "What are you doing in the US?" And he answered: "I am not allowed to tell you". They got grumpy. Until they scanned his passport which showed his high US security clearance... (he was doing work for some US agency that doens't want to be named)
i could write a book about all the phpstories
BUT NOW
SNOOZE!
 
nn!
 
I'm losing track of time
 
It's 0:33:47 UTC
 
12:33 AM
Wasn't it like 11AM?
It's nice to be busy and getting paid for being busy though
 
It's 03:34:12 arab time
 
it was...
 
It's 7:34PM (or 19:34) here... I just barely remembered to go to a doctor's appointment earlier
Otherwise I've been fixing about a dozen WordPress sites 😂
(killmeplease)
 
I've spent my day fixing not null columns with a default 0
I share that sentiment
 
Oh geez
Working at a marketing agency is a pretty good cure for impostor syndrome though... I know waaaaay more than I thought I did, but only by actually doing stuff in a business setting do I realize it
 
12:39 AM
:-)
 
I'm also calling it
Nite y'all o/
 
 
3 hours later…
3:52 AM
Site is half English and half German ・ Translation problem ・ #80028
 
@Tiffany one nice thing about working for an agency (not necessarily marketing) is if you can show a proficiency in slightly uncommon or more advanced topics, you'll often have much more interesting work, as (IMO) the majority of developers working on cookie-cutter sites, are perfectly experienced to operate a cookie cutter but will struggle with anything too far outside that little box.
I worked with a remote dev agency and it's sister company for about 4 or 5 years, easily 50% of my billable time for them was being dropped into an existing project, with an existing dev(s), to handle some specific/obscure/uncommon <thing> because they weren't sufficiently experienced with it.
Of course that is also a double edged sword. If you end up showing an ability to do something well, you'll be asked to do it lots more, regardless of how much you like doing it.
"Oh hey that little javascript widget you wrote for project X worked well! Here, can you write this whole JS-powered UI for project Y"
 
 
1 hour later…
5:06 AM
Good morning.
 
@PeeHaa Let's leave it at "I know what a holding cell at LHR looked like in 1996". Besides, Derick already provided the gist of it.
 
 
1 hour later…
6:46 AM
Hey guys. Impossible question: Gnome vs KDE, which one is better? Having used neither extensively, I can't decide.
 
If nobody gives you (a sane) answer, put both (separately) into google search and check which has more pages.
Then decide whether you'd use one with more or less results. :D
 
7:04 AM
gnome
 
7:19 AM
@IluTov don't hink about it, just install and get used
 
@beberlei And by it you mean? :D Haha I know I'm way overthinking this.
@Sjon I mean, I can't ask and then not listen :D I'll give Gnome a try. Thanks :)
 
@LeviMorrison Nothing immediately comes to mind
Though I do know that timeout handling is pretty broken when threads are involved
Because the underlying signal-based APIs are targeted at process and not threads
 
7:45 AM
@IluTov haha, well you definitely can. I've been running gnome for a couple of years on my macbook air and I think it's great. A lot more polished then kde used to feel
 
8:18 AM
how should I prepend an autoloader in PHP8 without getting Argument #2 $do_throw has been ignored ?
 
@Sjon Pass true as second arg
 
@NikiC thx, was confused because it seemed to suggest I needed to "remove" the argument
 
8:48 AM
@IluTov XFCE
 
@IluTov Hey. I use Gnome. It is simple to use and lets me get on with the job at hand.
@beberlei, What OS are you using
 
@Linux4Life531 stock Ubuntu with Gnome
 
Same. It is simple for me. I switched from manjaro to Ubuntu, and with the help of gnome I was able to get the exact same user experience as I had before.
 
9:01 AM
Morning folks
 
@Derick yeah, that wasn't an option but also my primary choice. I switched to sway recently
 
@Derick But it's so ugly :D
Although granted, with Manjaro it looks fairly good.
Funny that so many people use Gnome and still the only thing you read about it is negative. Kind of like with PHP :D
 
i like that gnome has strong opinions about things and gives me few chioces, but for a large set of linux user that is usually not why they pick linux :)
 
@beberlei I'm actually not that big on customization, I just want a system that works.
 
then gnome is for you
 
9:13 AM
Cool, thanks everybody :)
 
@beberlei I've got so many tales of a friend fine tuning his Linux just to scrap stuff 3 months later because for him it's fun to do it :')
 
@Girgias yes, but you are a student, and by extension i assume your friends are students. i don't have time for this anymore, i did when i was young like you :p
 
@beberlei I mean... I don't have time to do shit like that lol
And I'm still on Windows too lol
 
9:47 AM
flopImage has wrong documentation ・ *Graphics related ・ #80029
 
10:33 AM
@NikiC Can I got ahead and merge the Better Zend C API PR?
 
10:58 AM
segfault in zend_optimizer_compact_literals > zend_create_member_string ・ opcache ・ #80030
 
@Girgias which one was that?
 
11:14 AM
@NikiC the one with the zend_result_code and bool changes
 
Yeah that one ^
 
11:37 AM
@Girgias Are your warning promotion PRs ready for review? Or is there any which needs more work?
 
@MateKocsis Well I don't really have time for them :( Got resits until (at least) the 3rd so that's taking priority, I probably would need to redo SPL as it's mixed with the use standard Error instad of SPL ones PR
Datetime I haven't addressed Derick's comments yet but they are rather easy so if you want to take over that one
 
@IluTov the whole point is that it never shows up, so you can't see its uglyness.
@Girgias How much is that going to break extensions?
 
@Derick It shouldn't, I didn't touch any object handlers
Only thing which would affect extensions is those using the Zend Multibytes API as I changed the signature of that and then adapted MBString
 
@Girgias Xdebug is also an extension, and it wouldn't surprise me some of this might break things.
 
It voidyfies functions which don't return anything meaningful, changes int types to bool or zend_result which is a typedef to the SUCCESS/FAILURE enum, so any checks involving those functions will still work
It's basically there to know if you need to compare against SUCCESS/FAILURE or against true/false
 
12:01 PM
좋은 아침
 
i always found this whole SUCCESS/FAILURE bs mega annoying, as it's the opposite of what you'd expect boolean wise.
 
@Derick Exactly... this should make it at least a bit easier to know what you need to check against
 
Well, as long as it didn't suddenly flip around, I guess I'm good :-)
 
I don't see how we could even do that
First we would need to get rid of all the cases which use FAILURE to return -1, then explicitly state that we are going to make this change in the future in one version, then change the values of it. Not sure it's worth the hassle
 
user12640521
1 question: Will there be a new PSR regarding named parameters, ie. should lowercase_underscores be used or camelCase for parameter names?
 
12:22 PM
Happy Friday, All!
@PeeHaa Don't tell me what to do!
@Danack That's what I thought. Sounds just like him... it's been a while.
 
@JellyLegend There's been no discussion of it in FIG. If anything it would likely be a revision of PSR12, but I wouldn't expect anything soonish.
 
PSR12 really dropped the ball in regards to property type declarations >_>
 
PSR-12 was 99% written before property types were a thing.
We really need a "living spec" process, which is currently lacking.
 
@Girgias Well ... land it and see if anyone complains :)
 
I know, but it being released just before the release is... unfortunate
@NikiC Will do then :p
 
user12640521
1:37 PM
@Crell Thank you
 
user12640521
@NikiC I had a complaint about named parameters about a month ago and after trying them out with constructor promotion... I think it the right implementation was taken.
 
Named params are going to complement constructor promotion and attributes really well, I think.
Far moreso than for random function usage.
 
user12640521
I agree, just hadn't realize it sooner.
 
1:59 PM
@NikiC How does that not cause problems for ZTS builds, then?
 
general question about password hashing ,so when a user creates a password the hashfucntion creates a hash of that password , and the hash is then stored in the database insted of the password correct ?
 
@Amundsen Yes, with the salt used to generate said hash, use the php password_* functions
 
To be clear, you don't need to store the salt yourself. That's taken care of for you with the standard functions.
 
2:23 PM
@Jeeves how are you bro?
If jeeves was awake, I'd ask him to remember Don't ask to ask, just ask
 
@SebastianBergmann :P
@DaveRandom How is that not something you can buy on every street corner even in the UK?
Happy fridau all
 
2:48 PM
@PeeHaa you would think, but I have been looking for that very specific thing (specific size and bore etc) for about a decade, on and off
 
O.o
 
inorite
 
Not even in Amsterdam in some shop?
 
Maybe but I haven't been for years and not on any websites
The problem is it's one of those things that's very hard to search for
When you drill into it it's hard to find the right set of keywords that isn't so specific it doesn't find anything
 
:)
 
2:51 PM
I also could have just had some made if I still had my original as a template, but that's the whole problem :-P
 
did you try ebay australia? think I saw one result there, and ebay people seem happier to shop abroad.
 
oh I think I found someone via twatter, I will report back :-P
 
how is your alleged client in Bristol?
 
Dithery.
And "alleged" is not a bad description
The sales guy at my end is a chronic faffer, and seems to be falling over himself to tweak everything just so, it's going to be such a ball ache if it ever happens
I've been off this week though (mostly) so no idea what's in the latest issue
 
Alexomime ・ *General Issues ・ #80031
 
3:15 PM
@Jeeves ¬_¬
 
 
1 hour later…
4:23 PM
happy friday people/
 
happy friday \o/
 
happy \o/
 
Happy Friday. Two hours to go.
 
5:02 PM
@Dereleased :O
 
happy rebeccaday!
 
lol
 
5:15 PM
Does anyone use Brave and have any output on it?
I'm debating whether getting Chrome or something else on my new computer
 
5:32 PM
It's called firefox :)
 
Yeah basically trying to decide between firefox and brave lol
 
5:50 PM
I use both Chrome and Firefox, but I have DuckDuckGo as my search engine default... although on some things it sucks and I have to use Google.
 
@Alesana just use chromium
 
@mega6382 I use to a while back. I kinda forgot about it. I guess Brave is like chromium with extra protection?
 
@StatikStasis I haven't used firefox in a long time now, I stopped doing frontend a few years back, so I don't need it for that either.
@Alesana those are just layers on top of actual browser, you can get those features on chromium via extensions most likely
@StatikStasis but what is the point of using duckduckgo, if you are still going to use google. I personally do not use duckduckgo, because it does not provide me any value, I am too dependent on google tracking me to use anything else. My searches are too much oriented for me to go for anything else.
 
6:14 PM
@mega6382 It's about the extent I am willing to go in my stand for privacy... I am lazy. I use Google if I need to search for something around programming because DDG does not do as good as Google search results for that... and sometimes images.
 
6:53 PM
duckduckgo is basically unusable for me
 
I extensively use Google ~~or better to be said Alphabet's~~ products. But I never use search from logged in browser to: 1. avoid google collects my interests; 2. avoid biased ads on pages I visit.

For any search (like 99.99% searches) I use private window which is always open here.
But it's always Chrome although I have installed and have used all of mentioned above by you guys.
 
I end up retrying a lot of duckduckgo searches in google, but I haven't fully given up on them yet
 
@Tpojka I have disabled targeted ads on google, but I do like personalized search results, not gonna lie.
 
@Tiffany =D
 
@mega6382 Seems like you think those are more relevant. :P
 
7:05 PM
they seem to be, as far as I can tell
 
I do have turned of targeted ads and basically everything that's not obligatory.
 
I also have ad blocker, so that takes care of most of the ads anywway
 
Can't use valid callback as default value for callable parameters ・ Compile Failure ・ #80032
 
7:26 PM
@Dereleased stranger
is it possible to scp a file from a remote host to local computer using WSL mounts?
e.g. /mnt/d/path/to/directory as the destination
(I tried, but I don't see the file in the directory, and if I try it a second time from the remote, it gives an error that I think means there's a duplicate - dup() in/out/err failed)
where's @Girgias when you need him...
 
It should definitely be possible with scp, but are you sure you are trying to mount a drive and not a folder, because you can't mount a directory.
you will have to create a symlink instead
 
I used the wrong word.. I saw /mnt preceding my drive, so I thought that meant a "mount"
I want to copy it to a folder on my Windows machine, but using the WSL path :P
 
what is the command that you are trying?
 
scp user@<ipaddress>:/etc/apache2/conf/httpd.conf /mnt/d/path/to/directory where <ipaddress> is the server's IP address
 
windows path doesn't work like /mnt/a/b/c you will have to give full path like C:\mnt\a\b\c
 
7:39 PM
but WSL uses /mnt/d
 
then I suppose it will be like /mnt/driveName/a/b/c where driveName is c or d or whatever label you are using
which I see is what you are doing
then try this scp /etc/apache2/conf/httpd.conf user@<ipaddress>:/mnt/d/path/to/directory
 
alright
 
7:53 PM
@Tiffany You want to cp file from remote to local <- correct?
 
yes
 
sftp (command) never failed me. It's very easy to use. Check here.
 
and if you are on windows you can use some gui app anyway
 
@Tpojka I was looking at that, but it uses get ...
unless the very first part is what I'm supposed to be reading
 
You are supposed to read whole page if you never used it. :)
 
8:00 PM
ah, sftp is used while not ssh'd to the host
 
Yes, and?
Just use command how is proposed in manual. No brainer. Read and use. ;)
 
when I tried using get from the remote, it didn't recognize the command, but I think I was doing it wrong
 
@Tpojka lol rtfm
 
Yup.
In solving problems, you have to think about one thing in first place.
If you're doing something wrong - you are not following docs blindly.
In other words, no way something isn't working if docs are closely followed.
This way ☝️ eleven nines % problems will be solved.
 
I got it with scp... I was SSH'd into the remote host which was the problem
I was trying to use scp from remote instead of using scp from local
 
8:06 PM
@Tpojka that depends on how well the docs are written too
 
Also @Tiffany type man sftp to check how command works. That digital ocean link is just simplified (yet usually enough) presentation of command.
@mega6382 You are going now into rabbit hole. But from logic stand, you're not wrong. :D
 
on many of the commands(especially unix based) it is hard to find any official docs, many are written by users and are sometimes outdated
 
Reading man scp now. sftp seems as better choice for basic copy remote server to local computer.
@mega6382 man command_name usually helps.
 
yeah, sftp is definitely better and simpler too, I would say
 
`man command_name | col -b > command_name_pretty_word_text.docx`
You're welcome. :D
 
8:20 PM
seems useful, thanks
 
Didn't test because I don't have Word installed. I use OpenOffice as less as possible.
Reading from terminal, though. Hah.
@mega6382 Found here.
 
@Tpojka i probably wont bother with creating a word doc anyway, a txt would be better
 
Sure. It was (fairly unsuccessful) joke.
 
lol, sorry
 
I'm missing some love for rsync in here
 
8:31 PM
Don't be.
It was obvious in moment of key code 13 was pressed. :D
 
@Tiffany and this syntax is completely correct … sometimes the E_PEBKAC hits hard
 
Speaking for myself, didn't find case yet to use it.
From first time I used sftp, it worked like a charm.
 
You still have a chance from the looks of it :)
 
lol- I'm a long way a way. But I was playing to see everything.
Don't think I care to learn the game so well to optimize a play through for a record.
 
But but internet points!
 
9:45 PM
Fun fact:
WP's support for PHP 4
although PHP 5 was released on July 13, 2005 and very first version of WordPress called 0.71-gold on September 24, 2007.
 
10:14 PM
Any time you think you've done a good enough job of trapping errors, someone will come along and invent new and exciting ways of raising errors
 
10:28 PM
Dealing with malware in some WordPress sites where the files are named error.php and in random directories... hiding in plain sight >.<
Some of the files are legitimate, some aren't
 
@Tiffany rm -r everything, re-install?
 
I'm not saying WordPress plugins use clean code, but it's definitely cleaner than what attackers write...
@bwoebi I wish
Any time I've found a file that I could determine was malware, I used a find command coupled with rm on the lot. Satisfying to see them all vanish from the server.
 
11:04 PM
if I write a shell script that uses find and -name or -wholename and rm -f, is there any concern for performance, say if the script runs every 15 minutes?
 
11:23 PM
Move the site to a read only file system. Problem solved. :-)
 
11:41 PM
building a new server slowly
 
Hi guys how will I send password via post requests securely while login
?
 
TLS would be a good start
 
@astrosixer Through the form? Having SSL certificate installed on server? So many ways.
 
Can I mock up this in localhost?
 
depends what you're using for your dev environment
 
11:44 PM
Chrome always warns me a data breach has happened
 
you might have an even worse underlying issue...
 
I am using react in front end and lumen in backend
It happens when i am trying in localhost
 
again, it depends on your development environment, what you're using to develop your PHP application on
 
Have you tried setting up a local domain instead of localhost to try to mock your environment? dev.yoursite.biz?
 
e.g. homestead, docker, virtualbox, xampp
 
11:48 PM
docker
 
Don't spare words. We can't assume it.
Why do you need SSL in localhost?
If you have application done (without SSL) when moved online, adding SSL finishing the job. I don't see the point to have it in localhost.
But sure you can.
Best would be to go with Docker or Vagrant environment and set it there.

What tutorial about setting SSL to localhost you've been following?
 
no @Dereleased
I am using nginx server @Tiffany
So it's because I am using localhost?@Dereleased if I set up domain I hope It won't happen?
Not following any tutorial bro@Tpojka
 
You got me speechless.
How can you know something if you didn't read anything about it? lol
Try with some articles. Could be better ones out there, check some YT tutorials too.
 
So if the issue is just that chrome is reporting a data breach, you might be using some testing credentials (e.g. guest/guest) that chrome considers broken. You can either use a better user/pass in your local, or ignore the message.
 
I am developing an api, I have developed the authentication with laravel passport. The only problem I am facing now is whenever a login attempt is made chrome warns me of a data breach has happened please change your username and password the localhost:4000
 

« first day (3604 days earlier)      last day (1338 days later) »