« first day (3014 days earlier)      last day (2160 days later) » 
00:00 - 19:0019:00 - 00:00

Wes
Wes
19:02
it shouldn't do that
19:23
Hello everybody!
@Wes just me being stupid
Wes
Wes
:D happens
@JoeWatkins hey. i saw your video about extension development for beginners. Do you have more screencasts?
open_basedir set to "." prevents me from running PHP – #77474
19:43
<3 SO Dark Chat
I don't use the dark theme, but all the other stuff is nice
I use dark theme for literally everything I possibly can
@MadaraUchiha I can't stand dark themes when I have bright ambient light
@Tiffany That only means you should be fixing your bright ambient light.
At home, in the dark, dark themes are nice
@MadaraUchiha why?
Because us developers are creatures of dark and shadow
And pizza and caffeine, but mostly dark and shadow.
19:51
my office has fluorescent bulbs
@Tiffany hissss
granted, some coworkers have turned off their fluorescent light and turned on the lamp on their desk, which reduces bright ambient light
I like soft light or no light at all.
@MadaraUchiha Thanks. You think it will eat some ram?
I think I prefer brighter lights... I don't have a lot of light at home and sometimes it bothers me.
19:53
I am not sure how much resources, extension requires ..
@samayo Shouldn't too much, I've read the source code, nothing too overt there
@samayo It takes around 20MB on my PC
you know what takes up a lot of RAM? opening four or five 40 MB SQL files in VS Code and leaving them open for longer than ten minutes
I think it ate like 10 GB
I'd open anything that large in vim, or not at all.
modern editors don't take kindly to large files, nowadays.
@MadaraUchiha VS Code isn't bad, but don't leave it open for long...
@Tiffany I use vscode daily, it's nice
19:56
I'm accidentally words all day today. I'm a space cadet.
But yes, I've encountered the odd memory leak, and it's really bad for large files.
@Tiffany Yeah, I hate it when my last word gets blueberry.
I'm having trouble wording emails coherently, I keep using the wrong words when explaining something... it's bad today
My brain's in the clouds. But at least I've still been productive.
I blame the fitness ball on being productive.
@Tiffany You are under stress probably, it happens to me quite often
20:11
@Tiffany here, maybe this'll help with the stress reddit.com/r/cats/comments/aeblbp/too_cute_for_me
I don't feel stressed, but it could be subconscious because I'm trying to finish something before a meeting and I know people are waiting on me to have it completed
20:44
hello webdev people. I recently came across a website with the domain ending in .com-i.cz which I have never seen before. how is that even acquired??
@Tiffany that sounds like the anxiety often associated with ADHD
what should i worry about, if i allow users to share images on the chat? I know that to allow users to upload images to their profile i should worry about the file that is sent to my server, but on the chat the image will not be stored on my server, it will be a external link
age of people in those images
:/
er what kinda website is it
I am kinda series, and if you are aiming at USA market, with FOSTA coming into power, you probably should use an external image service and just let users to post links to images in the chat
kinda what SO chat does
thats what she said she was doing for chat
but not for uploading to their profile
20:52
sorry, second beer, misunderstood the question
in that case (if you ignore the content itself), the main worry would be the bandwidth used: if someone tries to share his/her/its new 20000p BMP file, that will eat up a lot of bandwidth
oh .. and scaling
you will need some way to scale image, that are too large (lets say - someone shared a 4k wallpaper)
... and now I go back in making up documentation for the project :(
@tereško what about if someone share a link to a malicious website? i can do nothing about it, right? I mean, it's up to the user to decide which links they should not trust to click
well, you can add the sites to the "bad word filter"
and you can let users to flag harmful links
if you are only letting users to post images from external sources, then those will just contain in-text links
whether you actually transform those links into images can be controlled by you
and you can also allow users to limit whether the image-preview is actually used (that's what slack does)
i'm new in imageMagick, but i think i can do it. Anyways, this link will be loaded into a img tag, is there any way to someone damage my server/database..etc? if i don't check if the external link is really a image
21:32
no, you missed the point
those operations should be done on the browser (JS & stuff)
21:59
Heading home- later all.
22:40
it basically took 10min per sentence :(
I think the "available operations" might need to be replaced with "defined operations"
23:03
hello
@tereško what it the difference between bilding a website by composer and by php without composer?
@PHPFan building a website without composer will basically require you to reinvent the wheel every time you need to solve a problem, whereas, with composer, you can install libraries from other programmers who may have solved a problem you're having
well
ThW
ThW
Even if you use your own libraries, using composer to manage them is a good idea.
^ forgot about composer's autoloader
ThW
ThW
and without libraries here is still the autoloader, yeah
23:15
if my project is small do I need to composer?
ThW
ThW
@PHPFan it makes stuff easier
depends... but it would probably be a good idea in case you come back to it in six months and have to add more
think of it as future-proofing without too much work on your part
well
...well...?
well means nderstood
understood
23:18
not exactly... usually you'll say "well" when you want to make a counterpoint or you want to include more information about your situation.
"alright" is a better term of acknowledgement/understood
Alright
:)
@PHPFan mind you, it depends entirely on context. In the conversation we were having, when you said "well," I was expecting you to include more information about your situation because it sounded like what I suggested wouldn't fit your problem, so that's why I was confused.
ThW
ThW
@PHPFan this is an example from a tech demo project (i just anonymized it) but you see that I configure the autoloader, define basic PHP requirements (version and extensions), add a caching library and a dev dependency that block installing insecure packages
23:22
@Tiffany okay
I am not very good at english
ahh the joys of modern operations
Order in which conf files are searched for is incomplete – #77475
@PHPFan no worries. I'm a native speaker and I know there are people in here who are still learning English. If you're wanting to improve your English and are fine with me correcting your sentences where it's something I understand, I can help. I'm not an expert, but I like to think my English is pretty good for a native speaker. :P
thank you I am glad for your help
23:27
:( nobody had any comments
@ThW what this sentence means
 "autoload": {
    "psr-4": {
      "company\\Project\\": "src"
    }
  }
Is the main folder like this company\project\src ?
ThW
ThW
@PHPFan the folder is "src\" the namespace is company\Project
alright
ThW
ThW
it means that the class company\Project\Foo\Bar is expected in src/Foo/Bar.php
clear
@ThW Dependcy means package ?
ThW
ThW
23:41
more specific "a condition your project depends on"
that can be a package or a php version or a php extension
@PHPFan some IDEs (PHPStorm) will recognize the line "PHP": ">=7.2" an configure highlighting and other helper for that specific PHP version.
configure highlighting means ...........
ThW
ThW
@PHPFan newer PHP version add syntax (variadics, return types, ...). The IDE finds the composer.json takes the configured version and warns you if you use a feature that is not available in that PHP version, or suggests changes to better syntax.
clear, I used phpstorm
00:00 - 19:0019:00 - 00:00

« first day (3014 days earlier)      last day (2160 days later) »