« first day (3668 days earlier)      last day (1497 days later) » 

08:14
morns
 
2 hours later…
09:49
wow, such empty!
10:28
@Danack thx for the example. both you and @Tpojka create the entity first then work with it. I think now that haveing a virtual entity management layer is something that if i want it i should make it myself. but then i can beter write my own framework. and as you both use a create method to eventualy make the entity in db i think that its the standard api like system that everyone does. beter go with the standard and what everyone else does.
11:06
add "unlink" in "see also" section ・ *Directory/Filesystem functions ・ #80300
Morning
11:41
@Crell @IluTov I think being able to map enums directly in arrays would be quite a comfort feature we should have - if possible.
@bwoebi Map as in use as keys or assoc arrays or have convenience methods that returns a map by primitive key?
enums being the key of arrays
@bwoebi Ok. That does seem necessary. I'm not sure how that would work though.
I mean … you could store AccessEnum::BASIC->name() as key - but wtf?
@IluTov where do you see the fundamental issue?
but yes, it would be at least a slight performance penalty to arrays as these are currently highly optimized to only distinguish str and int
11:56
@mega6382 Did I do everything right or does more need to happen?
As in are you good now for hacktoberfest?
@bwoebi Not really, I haven't looked into how keys are stored under the hood.
12:48
@IluTov you could for example store a flag in Z_EXTRA(bucket->val) to distinguish string and enum key - but well, it's extra branches
The most problematic part impl. wise is checking all the array iterating codes
13:49
Sean Connery passed away
... comfortably, in his sleep, in the Bahamas
A good a way to go as there is.
Wes
Wes
14:15
does anyone know how to set windows firewall to ask me to accept/block new connections?
per-connection? I don't think so
Wes
Wes
what about allow existing connections and block any new one?
guess it's time to look for new firewall software again
I seem to remember from using it to test connection handling, that blocking new connections would happen if you add / enable the rule after having already established the first.
Wes
Wes
last time i tried to install some firewall it actually bricked me windows
it was comodo. comodo used to be great. now it's bloatware
cmb
cmb
@Wes something like Windows Firewall > Change notification settings should lead you to the desired dialog
Wes
Wes
14:23
only by app, not individual connections
cmb
cmb
yeah, looks so
@PeeHaa Thanks, its all set now.
Hi reccommendation for server specs running php laravel to handle at least 1000 consecutive users
@mega6382 \o/
14:41
@n4zg That can't be answered, as it d epends on what your users are doing
@MarkR mainly api driven
You need to profile 'normal' behaviour then multiply it out. A site where people are landing on a page and then watching a video for 10 minutes, then moving to another page, is a very different profile to one where they're clicking through 10 posts a minute like reddit
the thing is these users will only be using our system for a matter of 8 hours whilst an event is happening, so i scale my server for the 8 hours to this Memory-Optimized
Dedicated CPU
24 vCPUs
192 GB
80 GB
9 TB

i should be safe right, i will scale down after the event, or would it better to load balancing?
that's... quite a lot
its $1.5 per hour and minimal work needed, im not experienced with devops and i dont have anyone in our team, im worried about content bot being able to accessed
for a matter of $15-20 it would be better to be safe,
14:56
read up on "scaling up vs scaling out"
if it doesn't require too much re-engineering of the app, there are advantages to having a number of smaller servers sharing the load rather than one very beefy one
thanks i will give that a read.. we are using digitial ocean, not sure how i can scale up automatically
even if it's just manual, if you can set up with two servers, it's easier to add a third than to change the spec of a single server
Kubernetes is what you're looking for
@MarkR isn't that a bit like telling someone who's asked what bike to buy that they're looking for a car?
or something
Didn't you just proclaim the merits of using multiple smaller servers and load sharing? :)
15:06
yes, but I was suggesting a path to start working in that way
and I suggested the way to actually do it properly:D
I disagree
He said he didn't know how to scale it up automatically, so I told him. The magic of kubernetes!
you don't need Kubernetes to scale automatically
not even close
sure, it's a powerful piece of technology, but it's a) a huge learning curve; and b) completely overkill for a lot of applications
i was reading about aws autoscaling, but Digital ocean dont offer that
15:09
When using a managed service like digitalocean, you can have an autoscaling system set up in under an hour :)
I don't much about Digital Ocean, but in AWS, an auto-scaling group is just a template for a server, and a way to deploy code to it
@MarkR any pointers please
@n4zg Is your application already containerised? If yes it may be worth it, if it's not, probably not
containers seem to be one of those "once you try you don't look back" things, but for starting out, a virtual server is a lot easier to understand
I like DO more than AWS. AWS requires credit card information and can charge me 10k if I make a mistake. Digital Ocean emails me and tells me I need to approve the charge to my PayPal before it'll process.
15:11
we have a droplet with apache , mysql and laravel running on that
So probably not.
our event is in 2 weeks, im just prepping for deplyment to live
What kind of event is it you're doing @n4zg?
@Tiffany I've only ever used AWS in a corporate setting, so don't really have any involvement in billing; I also try not to touch Paypal with a bargepole :P
@MarkR I feel like someone who'd already containerised their application wouldn't be considering deploying a single instance to a 24 vCPU server, which is why I reacted like I did to your comment
its a 1 day trianing event, with speakers and audience, which has admin panel and visitor panel Q&A etc so it will have alot of web calls , not much data being transferred but qt of calls will be high
i jsut want be safe that it doest crash on the day
15:15
if the content is fairly static, using something like Cloudflare is also worth looking into
we have cloudfare in palce
@IMSoP It's still common to have containerised applications run on a VM, without the overhead of an orchestrator. I run 90% of the workloads of my VM containerised, but not K8S
@n4zg Well if you can't figure it out.... digitellinc.com ;-)
@IMSoP it's frustrating that I had to buy a prepaid debit card to prevent accidental overcharging with AWS. I'm assuming even if I used a credit card with Digital Ocean, it would tell me beforehand of potential extra expenses. But I dunno. Other services I've used PayPal with will auto-charge like a subscription, but DO doesn't and after trying out AWS, I really appreciate how DO works.
@MarkR sure, but presumably only because you're used to working that way
but then, I've never really grokked containers
they seem to invent as many problems as they solve
our software is ready, i have concerns about the server, we are only a small startup first event and need it to run smoothly
15:18
@n4zg well, if your content is static, and you have Cloudflare, just make sure your caching is configured properly, and your server will see barely any traffic at all
only the web api calls, will be beast server for the 8 hours handle 1000s of calls per minute
its the cheapeast option, i only need it for a day
Sure, although have you tested it under that much load?
i beleive digital ocean do charge per hour, i dont want a shock at the end of the month
no testing yet
any software you can reccomend to test the load
15:52
@PeeHaa yeah, but I am not happy with the contributions I made, I would like to improve on them and make them more similar to the codebase they are part of. I will work on that in the next few days. And if you have any resources and tips that can help me, that would be great.
@n4zg Again, it's profiling. I'm lead engineer for a live streaming company and our servers handle 10s of thousands of people making a combined million requests per minute, but it took a metric shit-ton of profiling and bottleneck elimination to get there. I remember the struggles getting it to support a few hundred, then a thousand, then 5 thousand, 10,000 etc. You absolutely must profile.
Morning, all!
> Has got nothing to do with anyone agreeing or disagreeing. I just don't keep my reddit content after a couple of days.
Am I wrong in thinking that someone asking for help, then just always deleting the conversation is utter shittery?
@Tiffany for the record, he was living in tax exile as he didn't want to pay taxes to his home country.
16:21
@Danack that's shit :|
@Danack I can see it from two sides: the person wants privacy and there are reddit caching sites, deleting after a couple of days is probably an easier way to avoid caching sites. However, it is frustrating.
Well, not as shit as beating his wife. Which is also a thing.
@Tiffany I can see deleting controversial stuff. But deleting stuff where you've asked for help, and then people have given that help, means that other people can't share that knowledge....
I agree... just use a different account
16:34
WHo's this? (So I can avoid wasting time )
@Danack Has got nothing to do with anyone agreeing or disagreeing. I just don't keep my reddit content after a couple of days. — Daolagajao 14 hours ago
think he used the same name on reddit.
and the borked reddit thread. en.reddit.com/r/PHP/comments/ji6oge/… his are the deleted ones...
cheers
@Derick I been watching your data structure videos on youtube, good stuff.
thanks!
17:02
Derick is making videos?
Yes!
On YooToobe
Looks like we're going into some sort of Lockdown scheme again. There goes 10th anniversary dinner :-/
yep. Off to the offlicense to stock up on some nice rum before they're forced to shut...
HALLOWEEN PARTY tonight, whooowhooo
(not really, of course, I'm not an idiot)
But schools and unis stay open, which ... is what some/many believe is driving most of the infections. Also, good luck enforcing this. So many are so cavalier with distancing and wearing masks on public transport.
btw that person might have a reasonable reason for wanting to not leave traces on the net. So I suggested to them using throw away accounts would be better than using their normal account and deleting conversations...
If you want private help you can pay for it.
17:33
State governor is enacting a lockdown-lite in my region because of increasing infection rates, which includes a ban on indoor dining. Mayor in my town has said he won't enforce it, giving the "I'm not going to force restaurants out of business" card. :|
I can understand the economic difficulties it has placed on the area, but fucking hell, people are stupid and we're in this situation because people are stupid.
dead people don't contribute to the economy
at least in the US this mostly seems to affect republican voters...
I shopped inside a Walmart last weekend to buy a couple of items that I needed and didn't want to wait to add them to a grocery pickup.... there were a sizable amount of people without masks who looked indignant.
Voted yet? I think you've elections on Tuesday?
If I had to walk past them, I gave them a wide berth.
I mailed my ballot in late September.
nice! How do you know it will actually be counted? I see loads of reports related to irregularities with mail in ballots.
17:44
I mailed it in before the rush to give it plenty of time to reach. I don't know for sure if it'll be counted, but I trust that it will because I didn't procrastinate getting it completed and mailed.
/me nods
Most of the irregularities are due to the USPS being overwhelmed, and with that in mind, I made sure to mail it early.
to be honest, I find it baffling to see that you have so many issues with voting. queues are unheard of here. And not knowing whether postal votes might be even counted? /me just shakes head
The active work on doing voter suppression makes me think the US isn't actually a democracy
One of my friends had the virus back in March, she had it bad almost died. Now she has all these health issues related to the virus. She is young too, ppl need to take it seriously.
Yes. But they won't until it effects them.
17:48
She got it from going to a rave
OK. That's not clever.
Back in March was before the realization hit for most people the seriousness of the situation
Doesn't excuse the behavior
It started off as, oh it's just like the flu. It's going to go away.
Which is exactly how it started in Italy before the wave of death
It's just now hitting rural US, death tolls are starting to rise
It's depressing
Once a person is sick enough to end up in the ICU, they have a 50% chance of surviving.
Luckily most people are asymptomatic, and not many end up in hospital.
18:00
Mass murder. When you have your leader telling ppl is ok that is just the flu.
Here in Utah our hospitals are finally nearing capacity; from here on out it's going to be more serious because you may not be able to get medical care.
Our govt seems to be using it as a way to line their mates pockets through lucrative contracts.
They sent out a state-wide emergency alert yesterday to all phones.
a lot of people probably did not want to go to the hospital, either they do not have insurance or not the type to go to the hospital for every little thing.
Derick here too
One of the nice things about Illinois, I did have Medicaid while I was unemployed and it did cover more than I expected it too.
18:02
wasting millions on a a track and trace system that doesn't work
or was it billions? A lot at least.
@Tiffany Does your state not give you the ability to track your mail-in ballot?
@Trowski possibly? I'm not sure, to be honest :/
@LeviMorrison uh that is devastating news :-( hope you are safe
@Tiffany Looks like Illinois doesn't have a state-wide system, you have to check with your county. Maybe their website has a tracking system.
@beberlei Yeah… it's getting close to that point in most of the midwestern states.
It was bad in Chicago early on, but hadn't hit the rest of the state until now
18:10
I think a lot of it has to do with fatigue from lockdown in areas that didn't have a lot of cases initially.
I see it in my own area – people are sick of not doing what is normal because of only a handful of cases. I get it, but most don't seem to realize how quickly a small number of cases can become a large number if precautions aren't taken.
Exactly :/
I'm definitely having fatigue, but that's mostly because some many other people are not giving a damn. Haven't travelled, or seen friends, or family, or my phomies, since March. I have absolutely had it.
yeah here its fatigue as well, we stayed below 1000 cases for months here, now up to 19k in just 8 weeks
daily cases that is
I think we're all fatigued at this point, but those in this room understand the consequences of "normal" behavior right now. For the average person I think the dangers are a little harder to understand.
Aye.
18:14
I kinda feel the same way. Seeing all these people going out having parties.
Add that on top of the failings and mixed messaging from the government and you get the situation in the US.
I visited my sister but that's been it. However, at the present time, I'm not even doing that. If she needs to pick something up in my apartment because most of her stuff is still here, I wear a mask while she's here.
@Trowski And UK - where communication about this is through "feeding it in drips in 'leaks' to friendly papers". Fuckers.
My wife went to see her mum today - technically not allowed.
@Derick It seems the UK has a similar problem with mixed messaging. Sensible things from local governments, but utter crap from higher up.
our head virologist recommends doing "pre-quarantines" for 7-10 days, stocking up on food, not meeting any people before visiting family. thats something we have done twice now to visit the in-laws. the only other people i met is our godchild and their parents.
18:16
there is no local government in England that's not the UK government. I think Wales and Scotland are doing a (little) better.
But not great.
@Derick Ah, ok. Our government is tiered, with local (city, township, or county), then state, and then federal.
At least I got lucky and got my hair cut just before lock down starts again this Thursday.
lol
I have long hair now.
I should stock up on food... I'm good about getting my mail-in ballot out early enough, bad about everything else...
Well, it is tiered here too, but city/county doesn't handle anything like this.
We have become great at finding slots for home delivery. I have been in a supermarket maybe twice since march.
18:18
@Derick My wife watched a few youtube vidoes and cut mine a couple times. Let's just say the first time I'm glad I wasn't going anywhere for a while…
hehe
My Mrs was unlucky last time, with appt the saturday after it started
Yeah, I've been doing grocery pickup from Walmart which is contactless and free, but I have to order enough stuff.
But she got hers cut today, so that's much better.
The barber I go to is kinda far. She was forced to close like most barbershops then I missed that window when everything re-opened. I think they were forced to close again.
I haven't been in a grocery store since March. I did have to go to Menards (similar to Home Depot) a couple of times.
18:19
We have a Menards here, surprisingly
Unluckily I had a dentist appointment the week this all started, which means now I haven't been in over a year, and I'm not planning on going anytime soon.
@Tiffany Ah yes, the do have stores that far south now. They've been running 11% off since this began, lol
Menards rose prices on cleaning materials earlier on in the pandemic which was pretty shit
All got enough loo paper though? :-D
Though I think they were forced to reverse the price changes, to not profit off suffering
They always adjust prices based on market/demand… but someone probably should have thought to not do that then, yes.
@Tiffany In some regards that's like complaining that they raised lumber prices due to shortages and hurricanes. That always happens.
18:23
Walmart places quantity restrictions. Like I could only get one bottle of cleaning vinegar, prior to pandemic, I'd buy three or four bottles.
Still can't get laundry sanitizer though
/me just got a beer order in - priorities!
rofl
@Derick If my grocery store didn't deliver beer there would have been issues, lol
And whiskey and tequila. I'm stocked up for Tuesday.
oh yes, I wonder whether I should do a "watch party with a drinking game"...
I've been tempted to buy vodka and orange juice...
18:26
Yeah… game… that's what I'll call it.
@Tiffany Eh… I guess. Once you get into quality spirits you can't go back to such things.
Though election night will be similar to black Friday for my employer, so I may need to be coherent.
Reminds me of my college years though, lol
@Trowski my alcohol consumption has to include a fruit juice or I'll get a migraine
@Tiffany What's laundry sanitizer? Detergent?
@Trowski basically colorsafe bleach
18:28
@Tiffany Try mixing some spiced rum in that hot chocolate.
I'm surprised that's in shortage… weird.
If you do mix it, don't by anything too expensive (but also don't by the really cheap stuff either).
@Trowski I'd probably still get a migraine :/ I remember trying a white Russian years ago and I had a massive headache within 30 minutes.
Though, coke and spiced rum didn't give me a migraine.... maybe hot chocolate would be fine...
White Russians have quite a bit of alcohol in them. You don't have to add a lot to the hot chocolate, start small.
my favourite cocktail is a vesper martini: ½ measure lillet, 1 measure (2cl) vodka, 2 measures (4cl) (good) gin, and a splash of bourbon
and shaken
Hmm… don't have any lillet.
I'll have to get some and try that.
it wants kina lillet, which has been discontinued
so I use lillet blanc instead
, with the splash of bourbon
18:34
It's been over year at least since I've drank any alcohol o_O
it's been about 5 seconds
lol
this lockdown stuff hasn't been helpful
I can't say the same for other recently state-legalized ... stuff ...
18:35
hah
What I've saved from not going to restaurants I'm pretty sure I've spent on delivery liquor.
I've never touched that, and I'm even Dutch! :D
@Trowski that sounds about right.
Nor have I… I don't even know what the legal status is in my state.
I been drinking more since the pandemic also.
Alcohol delivery, all of that.
a boom in alcohol delivery companies.
Every other post on my Facebook wall is another alcohol delivery ad.
Don't use Facebook :D
Or at least, don't go scrolling through Facebook
18:39
Or start visiting other websites, damn.
Facebook keeps showing me ads for tools and photo gear, which is to be expected.
I don't know what ads Facebook would show me because I immediately go into messenger when I access it
My only reason for having one at this point - contact people that I have no other way of contacting
I've uninstalled it from my phone, including messenger.
Sometimes ill have an idea of what I want to buy and before I type anything ill see ads on that.
I uninstalled that so my mother-in-law would stop sending me stupid links.
It insist on emailing me more now
i ignore that too
18:41
lol
And I rarely use Facebook anymore either. Can't really stand it anymore.
I still have messenger, but uninstalled the main app a long time ago
@Derick I think I have those blocked :D
I should just remove it from my phone. If it's not there I can't tap on it and make myself angry.
Is annoying seeing a political post from friends, special when you don't agree with their candidate lol
Yeah, that ^
Especially from people I didn't expect…
18:42
I have some friends that repost or reshare misinformation.
I dealt with that in 2016, which is when I stopped using it less and less
s/some/all
Like you would have to be locked in a basement for 20 years to believe that shit lol
I don't mind people disagreeing. I do mind people disagreeing because their information knowledge is crap, bullshit, or conspiratorial.
@Derick Exactly. Most of what I see people post is utter bullshit.
18:43
aint got time for that
My annoyance with people reached its limit and I began restricting my usage
my twitter block list is pretty large too
Its reached a point where if I need to be cordial with people IRL I needed to not see what they were posting on facebook.
You know what, the moment when they expect the covid peak now, is around jan 1st, which is also when brexit really happens.
Even people whose political opinions I agreed with were becoming annoying because they wouldn't analyze the things they were sharing and it irked me, let alone the people who I didn't agree with
18:46
That is going to be such a fucking shitshow.
How about those Facebook apps that people use. That predicts your future. Like you are going to marry a handsome guy and be a millionaire. I'm like what the hell lol
hmm, the wine has removed my naughty word filter - sorry.
@SalOrozco My wife did!
@Tiffany The bullshit runs deep in either camp it seems.
@Trowski people are people, and people are stupid
18:50
@Derick Shall we start a pool as to which will be worse? US election or brexit? I guess that would be hard to objectively judge though.
Though, my statement is pretty dismissive of the larger issue, but in general, it's true
Brexit. It's going to be for a generation.
And going to be a massive shock.
You at least have seen it sliding and sliding.
and, I do believe you will get a 46.
Excuse my ignorance, I though Brexit occurred earlier this year?
yes, but the transition period (without any changes) ends Dec 31st.
I have a friend whos into conspiracies, I had to hide her post lol Don't wanna hear about the earth is flat bull shit lol
18:52
@Derick I think so too, but I'm concerned about a shitstorm of him trying to deny the election results and far too many people supporting him.
That's why having a stonking win would be really helpful.
I'm hoping Biden wins Florida so there's no question about the election and things can not escalate.
@Trowski with guns
I'm keeping my fingers crossed.
Fingers crossed and liquor cabinet well stocked.
18:54
I think he is going to win by a large margin, embarrassing trump.
I'll be staying up I think.
I don't think you need to stay up, I doubt it will be decided for certain on election night.
@SalOrozco So do we drink for each Biden state win to celebrate, or each orange mango win to drown sorrows? :-)
@Trowski I really hope it does get sorted on election night.
Same. Again if he can win Florida, which has a higher chance of being decided on election night, then it's all over for Trump.
@Derick great idea.
18:56
@Derick Both.
:D
whisky for biden, bleach for 45?
It does cure COVID (he says)
You're suppose to inject that.
Sarah Cooper video intensifies
Trump used to be an internet chat troll that became a president.
Provably msn chat.
@Danack I WASN'T FOLLOWING YOU?!
If you're watching @Danack - do you see when that peak happens?
to be fair, I mostly just shitpost on twitter.
Christmas
@Danack That's what Twitter is for, innit?
18:59
yup.
THINGS I POST is an anagram of SHITPOSTING
4
:-)
I'm working on a RFC for Fibers. Still in early draft, but I would be interested in feedback. wiki.php.net/rfc/fibers
@Trowski please put it on github where people can do PRs...
and don't have to think about docuwiki.
@Danack So write it in markdown first?
19:02
> yar.
The fact that I just bought some rum, and apparently am now talking like a pirate, is a pure coincidence.
Yes, thanks.
hmm, rum
that might be a great thing to drink while cooking
One for the pan, one for me.
rum doesn't go well with mashed potatoes
christmas pud, sure
I'm working on a RFC for Fibers. Still in early draft, but I would be interested in feedback. github.com/trowski/fiber-rfc/blob/master/rfc.md
6
@Danack ^ There you go :-D
Would you happen to have a tool for the reverse?
19:13
flip the array keys/values?
(maybe?)
and the .md and .docuwiki extensions
@Trowski yeah, though on a machine 10 feet, so will need to wait...
@Tiffany No, not quite that simple here.
darn :(
I would appreciate a star on the feedback request.
19:17
Danke schön
@DaveRandom you missed @Trowski
I don't feel right promoting someone else to RO :X
oh fuck it
Ooo, neat!
 
1 hour later…
20:26
@Machavity when you have time, can you invite me to a private room?
20:40
Aug 29 at 14:48, by Danack
@Trowski at the risk of distracting a useful conversation, just for the record, whenever your write it like that, I hear async/await as https://www.youtube.com/watch?v=OQlByoPdG6c
21:44
@Tpojka ...that's less impactful than the NSFW version...
NSFW version? Didn't see it. :D
...
Came back just in moment of deleting. Damn. lol
no, was a completely seprate topic.
22:10
@Danack look at the other user's "rooms they are currently in"
@DaveRandom ty.
 
2 hours later…
23:58
@bwoebi When you say "map enums in arrays", can you clarify exactly what you mean? Because there have been like 4 versions of that sentence in the span of an hour meaning different things. :-)

« first day (3668 days earlier)      last day (1497 days later) »