« first day (2466 days earlier)      last day (2706 days later) » 

11:00
@tereško maybe too dependent but at least not as hypocritical as physical sports
I mean, we all know people doing esports are couch potatoes living on a steady coke and chips diet
@Gordon you missed the point. They are talking about "esports" (like Starcraft and CSGO), whole covered in adverts
@tereško no, I got that. Hence "maybe too dependent"
... it should be satire, but it's not
well, "esports" it itself is a satire
!!caniuse async
11:09
No, I don't recommend using async, have you tried using a hammer instead?
W-wat
!!plugin list
Currently registered plugins:
[X] AntiW3Schools - A small monitoring plugin which bothers people when a w3schools link is detected.
[X] BetterTweet - Tweets chat messages just like !!tweet only better (WIP)
[X] Booze - Finds information about drinks
[X] CanIUse - A quick search tool for CanIUse, a browser comparability feature list for modern standards.
[X] Canonicals - Posts links to canonical resources on various subjects
[X] ChuckSkeet - Posts a random Chuck Norris/Jon Skeet joke on request
[X] CodeFormat - Asks users to format their code when unformatted multi-line code blocks are posted
1
Q: How to use vue.js syntax inside a string template with dropzone.js

Sagar NaliyaparaI am currently trying to implement dropzone.js Doc Ref - into my application. But since i've managed to run the basic functionallity of dropzone.js I want to customize the preview-template to hide and show the upload progressbar during different application state. I can customize the preview-te...

@JayIsTooCommon Are you on one?
11:16
@Jeeves <3
@Gordon I love you too :-)
@Gordon that's bullshit. It is as legitimate as any other "sport" out there.
Anonymous
@Sean I was put in castle :)
Anonymous
@Sean I was out in castle :)
Anonymous
11:19
Thank you, mobile
Thank you, mobile
Thank you, mobile
Thank you, mobile
Thank you, mobile
Thank you, mobile
11:22
no no no no no no no
no
:P
@tereško nope
what is going on with Thank you, mobile?
what is going on with Thank you, mobile?
what is going on with Thank you, mobile?
11:29
what is going on with Thank you, mobile?
what is going on with Thank you, mobile?
what is going on with Thank you, mobile?
Anonymous
I hope we manage to get a decent combo.
I'm gonna hurt you @Jay
11:37
memory leak with eval closure on php7 – #74938
memory leak with eval closure on php7 – #74938
not a chance
what is going on with Thank you, mobile?
All are drunk or what?
All are drunk or what?
11:47
All are drunk or what?
All are drunk or what?
*hicks*
ReflectionMethod:getName returns incorrect case when nesting traits – #74939
abr
abr
Let's say i wanted to show to a user, a progress bar for a long logic operation that some database and calculations are doing, how would that be possible with php?
@abr store the progress somewhere and keep polling that
11:50
@MadaraUchiha hey, something in chat is broken. See above. Messages get randomly repeated under different user accounts. Can you tell balpha to fix it, please?
@MadaraUchiha hey, something in chat is broken. See above. Messages get randomly repeated under different user accounts. Can you tell balpha to fix it, please?
@MadaraUchiha hey, something in chat is broken. See above. Messages get randomly repeated under different user accounts. Can you tell balpha to fix it, please?
@JayIsTooCommon OH
Damnit man, can't believe I missed out :<
user924016
link
amazon estimate calculator is confusing
12:00
Hello there everyoen
everyone*
\o
Here is a simple question about PHP time() function which weigh on my mind
The definition is : The time() function returns the current time in the number of seconds since the Unix Epoch (January 1 1970 00:00:00 GMT).
>.<
12:01
on w3schools
^ there is your problem
@PorFavorDama use w3fools.com instead
\o/
so in that function that seconds must be converted into normal date format and added into (January 1 1970 00:00:00 GMT), right?
@PorFavorDama step 1: read the official docs
!!docs time
12:03
[ time() ] Return current Unix timestamp
!!docs DateTimeImmutable
[ DateTimeImmutable ] This class behaves the same as DateTime except it never modifies itself but returns a new object instead.
@PorFavorDama step 2: read the above, it's probably what you are looking for
I already did but this is something I wonder. I think my question was not clear enough
@PorFavorDama no, you do not need to add anything. time() will just return the seconds elapsed since jan, 1 1970 midnight
12:08
morning
any function capable of accepting unix timestamps will know how to handle that properly, e.g. date() or datetimeimmutable
@Gordon Exactly this is what I was looking for and it was just out of curiosity.
12:10
Thank you all
I think there has never been a message less worthy of a star than that one ... what are you doing, just what ?
Can I not star whatever I wish to?
It's not "like"
someone starred my answer to someone's question "why are you echoing printf" ... thought it was a bit odd to star...
Maybe I just wanted to note it lol
12:12
copy it and paste it to notepad or your blog or something
Okaay
Sorry
it could be taken to mean like ... I didn't think of that ...
sorry, it's just that particular piece of information read something like "variables are prefixed with dollar signs in PHP" ...
and to be fair, what @Gordon said, I didn't know either
so it's news to me :D
Okay guys
you may be pros but that was interesting for me as a beginner lol
Which is why I did that :D
Because it was interesting
I'm no where close to an expert
12:17
But nevermind all settled now. A lot to learn here
I may tiptoe intermediate, but that's about it.
I set up a ubuntu 16.04 VM at home with 8GB of HD space, and it installed fine. Now I'm trying it at work, and it's saying 8GB isn't enough? WTF?
fwiw, everything I say is star-worthy…just by virtue of having been said by… well… me
states of delusion and confusion are part of the territory of extremely advanced age, I believe ...
@Gordon I ought canceling these stars now!
@JoeWatkins if that's true, then I've been "old" for a very long time
12:25
@Tiffany you read it on the internet ... it's true ...
@bwoebi maybe you'd like to give (or not) your blessing to github.com/php/php-src/pull/2616 ? :P
@JoeWatkins I want to ask how you're doing, but I'm afraid of the answer
@Tiffany Wait wtf, you can install ubuntu with 8GB of space?!
@Tiffany I'm good ...
@HassanAlthaf As far as I can remember, I did it yesterday
12:26
@pmmaga 2616 is a good number
@Tiffany wow lol. and what can you do with that 8GB of space? :D
My primary machine has 2.25TB of space, and I'm almost overflowing.
@HassanAlthaf set up a builtin php web server
@HassanAlthaf dude, buy a NAS
@DaveRandom How much do they cost? xD
12:27
@DaveRandom hum?
well, yes, that's the problem :-P
I might be able to
Turn my old PC into a NAS.
my home machine has 2.5 TB total, 500 GB SSD, 2TB platter HD for everything else.
But HDD are quite exp here.
12:27
@HassanAlthaf 50 million dollars source
@DaveRandom oh! nice! :D
@JoeWatkins Was that a joke? :P
no, they really are 50 million dollars ...
@JoeWatkins That sarcasm. :P
12:29
if they were really 50 million dollars, then my college would be fucking broke
Can't you build a NAS out of an old PC/
Do they like have special hardware or just normal hardware found in PCs?
I dunno, but I suggest googling "how to build NAS"
I have one of these with 4 WD40EFRX in it, not cheap but very satisfied
well like a gaming pc has a focus on graphics, a nas has a focus on storage (and network), so the base board might be something quite normal, but the storage and network controllers need to be top notch for it to do it's job ...
@HassanAlthaf you'll probably want a h/w RAID controller, but apart from that there's nothing special required
12:31
Ah, so maybe my MOBO needs to be changed?
I have a shitty old chinese mobo on my spare PC.
Sound card stopped working on it.
Depends what you want it to do
For the 'H/W RAID controller'
Is it a mobo component?
Or an external one
I imagine you can pick up a reasonable PCIe card for not ridiculous money, hang on
hardware raid controller, so pci(e) sata
Oh, SATA.
All I need is support for multiple SATA HDD
12:33
Depends whether the bus on the motherboard is good enough to translate that into a decent network transfer speed
And a special OS or something installed eh?
not really
Lets say
well no, the firmware needs to support raid ...
My internet network is down.
Will I still be able to use the NAS (wired)
Wow lol $65 for that xD
Might as well buy an entire new NAS
Believe they go for like 150-200?
Depends what you get
That's a 4-port option, you could go cheaper probably
@Gordon No, you need to put it in for about 30 minutes :D
A few minutes won't work
I see.
At the moment, my only machine is a Desktop. Once I get my laptop, might have to invest one of these to sync stuff.
@HassanAlthaf at the end of the day, if I was going to spend the money, I'd probably (and indeed, I did) spend it on a thing that is purpose-built
12:39
Yes
I might as well get a NAS.
They come with compact cases, etc so why not. :P
It's not the cheapest option by far, but I am v. happy with my Netgear RN104, and I'm generally not a fan of netgear
Can go under my PC with ease.
How much did yours cost?
Lets say I want RAID 0 with two 1TB drives
all in (with disks) about £700
but would be less now
12:41
or two 2 TB drives
when I bought it the disks that are in it were pretty top end
Oh.
SSDs?
No, WD40EFRX
SSDs would be a waste of time in a NAS
WD RED
Quite expensive xD
2TB is almost a hundred bucks.
remember that it's network accessed, so your bottleneck is most likely the LAN
12:42
Meaning the router?
My ISP doesn't allow me to change my router on a fiber connection.
I have bonded the two ports so I get 2Gbps but that's still slower than the drives, even if they are platters
So might be stuck with it.
@DaveRandom bonded?
@HassanAlthaf well, switch. I guess you use your router as a switch though
@PeeHaa superglue
12:43
:P
+latex
@DaveRandom No no, it's a regular router.
I have wifi, everything.
ZTE F660
Well then SSDs would definitely be a waste of money/time
Sorry for being a dumb dumb, with a raid controller like that, do you have one sata linking to your mobo and then the rest going to drives?
Oh I'm stupid. It's a card
You link the drives to the controller
12:44
So they all go to drives and it's a pci slot
Well, that's only if you want a RAID yeah?
A lot of mobos have built-in RAID controllers though, even (modern) mid-low end ones, it's worth just exploring the BIOS options
some of them won't let you include all the onboard SATAs, depends
A lot of them don't support hot-swap but I assume you are not attempting to run a data centre on it so it doesn't really matter
> libtool: link: `Zend/zend_ini_parser.lo' is not a valid libtool object
Compiling php from source and got that. Anyone know how to fix it?
rm -rf Zend/zend_ini_parser.o
rm -rf Zend/zend_ini_parser.lo
make
12:51
@JoeWatkins still invalid after that.
does Zend/zend_ini_parser.c exist ?
@JoeWatkins Love that muscle-memory -r for added jepoardy
haha
maybe missing yacc/bison @Danack
DateTimeZone loose comparison always true until properties are initialized. – #74940
\o/ game of thrones
don't ban me
:B
12:58
@Jimbo I won't eat it again. I'll give my last portion to the wife. I can't stomach it. I didn't feel well again after drinking it.
I'll try Bertrand, Huel or Saturo
@DaveRandom if your network is slow...
@Gordon Looking at that site, Lently looks good
And doesn't have any Maltodextrin
= no blood sugar spikes
@JoeWatkins upgrading all the things seemed to make it work. I am using Centos 6.4 so lots of things are ancient by default.
13:16
@FlorianMargaine dunno about you, but I don't have 6Gbps networking really anywhere
Even if you drives are SATA 1, chances are your network is slower
@Jimbo I'll try the german one first.
although that's one of the most expensive ones and they dont offer cheap trials
the santoru coffee sounds promising but I dont like them using plastic bottles (apparently)
@DaveRandom 10Gbps is becoming pretty common, isn't it?
maybe inside yer fancy EU, here in the third world, 1gbps isn't that common ...
we're talking about LAN there
oh gigabit is common, not so much 10gig
13:27
After coming from 30Mb/s (so, max 3MB download, more like 2.5), I'mg getting 320Mb here (30+ MB/s), it's crazy
majority of people are using hardware provided by their ISP, and they might have one or two gigabit ports ...
13:37
right, a lot of SP-supplied routers still have 10/100 switches
@DaveRandom D:
that's the bottom end of the market
not going to be many home users or even SMBs who are deploying at that cost
It's pretty pointless anyway, no-one really needs that speed
You can do full uncompressed 1080p over 1Gbps with a lot of breathing space, the average user simply doesn't have the bandwidth requirements for anything else
@Tiffany I'm talking about the el-cheapo end of the market there, obv
I guess I'm thinking in terms of copying files between computers over a network, but I guess most people won't care about that
That's it, for most people 802.11g is acceptable. They certainly aren't going to notice the difference between 1g and 10g
@bwoebi Sure.
13:44
Does PHP have a 'process' for deciding when to update shipped packages e.g. SQLite?
yes it does
1) Wait until someone is paying enough attention and/or needs a feature/fix to suggest it
2) Argue about it for 12-18 months
3) Decide not to bother
Anonymous
@Sean VIP in players and Digi aha, was a good night man
4) Add it to the list of PHPSadness
5) Slip the change in without discussion
@Danack tbh it's much the same process as GNU
seriously though @Danack, I think the best thing to do is just send an email to internals phrased as "I'm going to do this in 2 weeks unless someone stops me"
A lot of the time, a bit of assertiveness goes a long way
"I'm going to get DaveRandom to do this in 2 weeks unless someone stops me"
13:50
Yeh but that's just moving the 12-18 month part to a different bit of the process
the upgrade of the all apps to 7.1 at work is now in QA for a full regression! It's happeningggggggg!!! :D
evenings
is there a single word for "participant list" ?
I am having trouble naming shit again
participants?
14:02
I need a different word
also, the focus is on "list" - plural of subjects is NOT a list of those subjects
@WesStark lol. he can so totally handle this ;D
what about "census"?
@FélixGagnon-Grenier i was like "the fuck are you doing dude"
@PeeHaa how is one supposed to delete a folder containing undreds of thousands of iles (node modules...) on windows?
that's almost a suicide attempt
14:07
@FélixGagnon-Grenier Delete the parent?
@FélixGagnon-Grenier command line....
deltree?
@FélixGagnon-Grenier format
it's effective
Or just re-install windows - probably would take less time.
> MS-DOS del command help - Computer Hope
that could not have been more accurate
Morning.
Internals contributors: I'm writing a voting plugin for wiki.php.net that includes single, multi, and sort-by-preference options. Any other vote type you can think of that would be valuable?
3
@PeeHaa hmmm, on windows 10 they recommend rmdir /S. guess I'll have no other choice than to wait for it to finish...
my memory_get_peak_usage(1) returns 2mb
And im the only one on there so does it mean that each user will require 2mb ram?
:dumb_question: ... ???
@Danack indeed, that'll have to do it.
@user7594714 each active connection might require 2MB of ram. Hopefully though, your processing of requests will be quick, so their won't be many active connections at once.
14:20
Oh okay so it isnt too bad.
@LeviMorrison To push your good-will a bit, but maybe an optional comment box to explain your vote? :P
Session fails to start after having headers sent – #74941
@Jeeves pebkac
@Danack No, I prefer to follow a topic to it's conclusion.
@Jeeves That was the conclusion.
!!uptime
14:31
╔═══════════════════════════════════════════════════════════╗
║ [23 hours, 38 minutes and 37 seconds] without an accident ║
║                since [2017-07-16 14:52:26]                ║
╚═══════════════════════════════════════════════════════════╝
@Danack Edinburgh is a good place to live.
good morning
morning
@danack Thanks for that ghostscript command, it did exactly what I needed
np.
> C:\Users\back_again\projects\pavics-frontend\node_modules\babel-preset-stage-0\n‌​ode_modules\babel-preset-stage-1\node_modules\babel-preset-stage-2\node_modules\b‌​abel-preset-stage-3\node_modules\babel-plugin-transform-exponentiation-operator\n‌​ode_modules
and it's not even the last sub folder. I apologize for all the times I said something about node not being so bad.
14:37
that's triggering the headache I started with this morning
sumatriptan is my friend
and a tiny bit of caffeine slurps coffee
@FélixGagnon-Grenier did you try deltree which apparently is called RMDIR now.
@Danack or rd for short
@Danack yes. that filepath was apparently so long it sould not be deleted with rmdir
14:39
@FélixGagnon-Grenier DID YOU TRY RD?
I believe I did, dear :)
I am now moving folders one by one to a lower place in the tree so that my computer can actually manage them. I don't feel like I'm in 2017
I got you this hon
60
Q: How do I delete a folder which is nested quite deep and avoid "File name too long"?

user39186Eclipse created a temp folder in one of the directories which is nested quite deep, e.g. dir1\dir1\dir1\dir1\... I am unable to delete this folder in Windows via Explorer, the del or rmdir commands, nor the Cygwin 'rm' command. How should I remove this very long folder? It just keeps saying ...

Also:
@MrDanack
Maintainer of the PHP Imagick extension. Has a beard.
1.7k tweets, 380 followers, following 224 users
"But this is a work computer!"

"Get a job that uses macs"
14:43
....If I applied for a job and they told me I couldn't use a mac, that would be the end of the conversation there and then.
do people even do that anymore?
apply for jobs?
I mean, telling people on which environment they can work, apart from build/specific build environments needs?
;)
@Trowski yeah, just wanted to ensure all is read there :-)
So, when I started at my current company 6 years ago, we had complete freedom, and things were good
then my boss decided to start "standardizing"
14:48
tbh probably dodging a bullet if you get a requirement like that.
and since I am the oldest employee, he decreed everyone would use what I use
@FélixGagnon-Grenier yes. some places won't allow Linux or mac as they can't be controlled so easily by a central IT department.
I think that was a terrible decision
I kinda want to switch away from this editor by now, because I think I'd rather have two that were really hyper specific than one that is pretty good at both
And windows shouldn't be used (imosho) as it just doesn't work well enough with Docker + vagrant.
The one good thing that came of that is he forced me off of Windows for development
now I look at Windows (for dev) like gaming -- I ain't never goin' back
except, of course, for my homie HeidiSQL, who's still stuck on the inside. I visit HeidiSQL daily in a VM
14:51
@Danack linux cant be controlled by a central IT department?
@tereško Not if they're a bunch of cowards afraid to leave their cozy windows-based life
tbf, it's somwehat of a headache at work, people on linux have a harder time using outlook for mails, calendar events, sharing stuff. However My employers are great and are willing to compromise, and support everyone. We get to choose whatever type of computer we want.
You mean they don't just come to your desk and hover behind you till you acknowledge them?
> outlook
you forget how hard it is to use Internet Explorer on linux too ... and Windows Movie Maker
14:53
@Fabor oh no ;)
btw o/

« first day (2466 days earlier)      last day (2706 days later) »