« first day (1666 days earlier)      last day (3285 days later) » 

5:00 PM
@ircmaxell after which ; ?
@Sara sounds reasonable
 
test.c:33:20: error: expected ';' after struct
    string * foo = LITERAL("foo", 3);
                   ^
test.c:21:2: note: expanded from macro 'LITERAL'
}[1]))
 
(y)
Also, boo for not being able to meet you finally
 
@ircmaxell weird, pretty sure I tested that code
@Sara yeah :( I was looking forward to that
 
#define LITERAL(c, l) (string*) (struct {\
    refcounted gc;\
    unsigned long h;\
    size_t len;\
    char val[l];\
}[1]) {.gc = {0, 0}, .h = HASHOF(c, l), .len = l, .val = c}
test.c:33:20: error: expected ';' after struct
    string * foo = LITERAL("foo", 3);
                   ^
test.c:21:2: note: expanded from macro 'LITERAL'
}[1]) {.gc = {0, 0}, .h = HASHOF(c, l), .len = l, .val = c}
 ^
test.c:33:20: error: expected ')'
test.c:21:2: note: expanded from macro 'LITERAL'
}[1]) {.gc = {0, 0}, .h = HASHOF(c, l), .len = l, .val = c}
 ^
test.c:33:20: note: to match this '('
test.c:16:33: note: expanded from macro 'LITERAL'
#define LITERAL(c, l) (string*) (struct {\
                                ^
 
@ircmaxell that's missing a pair of braces
 
5:04 PM
which?
 
@NikiC why shouldn't they? you are passing zend_string *, not a bare zend_string.
 
@bwoebi dunno. not declares as const
 
@NikiC when you do char *str = "abc"; then it's stored int RO mem too or not?
 
@ircmaxell for the array
@bwoebi it is
The "abc" is of type const char *
 
the error is before that
 
5:07 PM
@NikiC sure. and we have here an implicit const zend_string * I think?
 
Being able to set a interface as the return hint feels good =] <3 PHP7
 
5:31 PM
btw, @NikiC & @ircmaxell, are there any known estimates for release date of 7.0.0 ?
 
Tomorrow
Or 2018
Or sometime in between
 
I need a beer
 
@ircmaxell But why not today?
@ircmaxell reminds me, what's the state with the csprng?
 
so, if we adjust this for normal development delays, it should be available in Q1 2016
 
@tereško sounds reasonable
 
5:37 PM
@NikiC ah that's a thing now. Great. But 6 RCs is a lot :-D
 
it says that the number might change
 
@tereško I've seen. But still.
 
well, the just don't want to fuck this one up too badly
keep in mind that 5.0.0 was released ages ago
it's before HHVM and before node.js and before touchscreen smartphones
... actually I am not so sure about that last one
 
@tereško … I just wanted to note^^
 
I like php!)
 
5:42 PM
anyway, what I wanted to point out is taht the landscapes has changed somewhat since last major php release , and they must do this one right
 
What could possibly go wrong?!?!
I do think a second (much shorter) RFC period for "stuff people forgot about" wouldn't go amiss, but there's always 7.1 I guess
 
good evening, is there a room for talking about htaccess?
 
6:02 PM
@Simone you can ask anything.....whether you get a response a different matter.
 
@AllenJB you must be new at this "programming thing"
 
And Tereško is sometimes bad at detecting sarcasm.
 
I am paying too much attention to WCS Premier League at the moment
 
6:21 PM
@tereško there were several touch screen portable devices even in the '90 :P and some of them were also phones
but yeah, first of the "mass" touch screen devices
iirc the first iphone is dated 2007, php 5 is 2003 ish?
 
the touchscreens where shown in "Mother of All Demos"
 
great video that one :D
 
they must not fuck it up and they must not cause a split in the community (like py3000)
 
@NikiC I thought it was ready to merge...
 
python? @tereško
can't find info about this py3000
 
6:27 PM
yes, I was refering to python 3
 
a "split" in the community happened tho. it's hack. and lot of the php community moved to other languages. php lost lot of users even if it's still one of the most used programming languages. i think it didn't evolve as fast as its community did. the community embraced almost instantly oop but the language is still pretty much the same of php5
it's funny tho that many users that used to complain about php moved to languages that have the same problems, or worse
like those that moved to node.js. brave people :P
 
@Worf may be thay want to try something new, may be not :)
 
"try" doesn't exist. industry just want to be productive
 
@ircmaxell "struct string"
Oh, you did typedef it.
 
6:42 PM
@Worf "php lost lot of users" - citation needed.
 
php lost some people to node and hhvm, but I would not describe it as "a lot"
 
@Danack well in percentage, yes, when asp 3 died basically all sites on the internet were made with php. now it has more users, but a lower percentage
 
You might be surprised at the number of sites that were Perl....
 
lol
perl was nuked by php
 
I'm worry about thing that most of us are developers, and we working for companies, for bosses. But only one do their own projects, and don't worry about anything) Startups - that's freedom solution))
We are smart guys) We can everything))
 
6:49 PM
@Worf perl is still somewhat popular in UK for webdev
 
@tereško ... seriously?
 
that's what I have heard
several people in #css (freenode) use perl for web, all from UK
 
afaik perl is still used a lot in the linux world, no?
 
yes
 
perl is used a lot in systems administration type jobs.
It's nicer than bash and is really good at text parsing and is always available.
 
7:02 PM
Perl looks like PHP to me
 
What is git-flow? What's the difference between regular git work and that tool???
and what's the point of git-flow?
 
@ziGi originally php was perl inspired
 
Still, why would you choose Perl over PHP or Ruby over PHP
 
imagine being a perl programmer in the '90. wow perl 6 was just announced! and then after 17 years perl 6 is still in development :D it must be the 6. they should have named it perl 7
 
Or Java/.NET for that matter
 
7:06 PM
Perl is bad and everyone hates it... come on! Look at perl's function definition sub funname { my $a; } and to get arguments you need to use $args array inside that function!
Perl would surely do its job, but it has very terrible design in general
 
second beer
 
@ircmaxell so no need of further review? If so, I'd probably go ahead and merge it
 
yeah sounds good
 
Well nobody knows what git-flow is?
 
@bad_boy there is actually some hype behind Perl7
 
7:10 PM
@ircmaxell Just one thing. I'd merge it without github.com/SammyK/php-src/commit/… as it is against the zpp error convention. Or do we have special reason to use false here?
 
I think null is fine there
 
@tereško yeah, like always
 
@ircmaxell ok
was just wondering because we made an exception for password_verify iirc
 
because it was used in a boolean context
neither of the random functions are
 
yes, agree
 
7:39 PM
@marcio regarding group use… we noticed that the trailing backslash looks really ugly in real code… :-( especially when writing it like:
use Amp\ {
    function any,
    function resolve,
    Reactor,
    Success,
    Failure,
    Promise,
    PrivateFuture,
    Struct
}
 
The space there is allowed?
 
@LeviMorrison implicitly by lexer
 
@bwoebi You only just now find out it is ugly? :P
 
user895378
It was always ugly, but the argument for it was "other languages with similar functionality require the namespace separator"
 
@PeeHaa I already complained back then when the RFC was under discussion… But now… e.g. @rdlowrey finds it ugly too (who had voted in favor of the trailing one)
 
user895378
7:42 PM
I thought it was ugly then. I just voted for consistent behavior with other languages :)
 
Let us make an ugly language that is like other ugly languages!
;)
 
:-)
 
@rdlowrey Yeah IIRC everybody thought it was fugly
 
everybody thought it was ugly… but just because consistency with … oh well…
I really wish I could make it optional
 
@PeeHaa <3 evening
 
7:50 PM
Hey worf
 
@bwoebi drop that whitespace, it will look less ugly
 
@NikiC hmm… true...
but then it's still condensed symbol shit
 
current lexer run is over 180k classes, and stikk generating them
oh, been generating them for hours :-P
class S0 extends S {
public $value = false; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; public $�; pub
 
looks like my every day php code ^
 
Good morning
 
8:09 PM
@bwoebi remember, the more you complain about \ the more they will invade your code
I got used to it already, even though my personal preference was to use just { instead of \{
 
github.com/php/php-src/pull/1268/files in case someone wants to give this another review
 
@NikiC is github.com/php/php-src/pull/1267/… really the same case as bugs.php.net/bug.php?id=69068 ? because the former crash requires a use(&$var) and $var has to be the array being iterated by array walk.
 
@marcio It's just two diff ways to change the array
one using use() the other using globals
 
@NikiC If we drop the & the crash doesn't happen... is $GLOBALS treated as a reference?
 
@marcio as the array is already a reference at that point due to array_walk, yes
 
8:18 PM
@ircmaxell 180k+ classes… how long does that need to compile?
 
they aren't done generating, so can't compile them yet
 
@ircmaxell What are you trying to do?
 
building a lexer
 
@ircmaxell How many classes will you end up with?
 
@NikiC ok, ty :)
 
8:20 PM
no idea
I'm guessing around 250k
 
@ircmaxell So basically an average Symfony install :P
 
lol
 
@NikiC line 192 of random.c, all other failures return false, that one returns null
 
@marcio Is this a modern implementation of the performance loop?
 
8:26 PM
what's the "performance loop"?
 
@marcio for ($i = 0; $i < 1e8; $i++) /* do nothing */;
In languages like C you declare i volatile so that compiler doesn't optimize it away…
 
@ircmaxell good catch
 
@bwoebi hah, I think it is, he was probably just testing blackfire
 
@NikiC that one looks to me like something with commit message "fixing the SQL race condition"
 
8:40 PM
microframeworks are the new performance loop of FOSS
 
9:26 PM
@NikiC is this necessary in php7?
 
9:47 PM
@FlorianMargaine dunno, but I'd assume so
 
@FlorianMargaine yeah… without ZTS we will in any case terminate the process shortly after it… so no mem leaks.
 
10:05 PM
212k and counting
 
@LeviMorrison Often better syntax, I'd say
 
just remembered that some months ago I wanted to watch this series again:
 
Implicit function application is wonderful
@tereško I really need to buy a boxset of it sometime
(and a DVD drive)
 
:D
 
10:28 PM
@Andrea I don't disagree. At least a lot of languages are usually heavily inspired from other languages instead of starting with a new syntax…
[which isn't a bad thing though. It just explains why syntax of has the same issues]
 
yo what up boys?
/gals
anyone have any expertise on how MongoDB can be accessed through PHP? I need to pull info from the MongoDB and write to it....
 
10:43 PM
Arg, one phone didn't charge, macbook won't charge, and one phone is buggy as shit. Yay.
 
11:13 PM
 
require (require 'configuration/paths.php')['autoload'];
 
last 24 passwords is gold
 
yo humans
I think I am in love with PHP
 
@Worf doesn't mean password's stored as plaintext though
but
>24
That number.
@MieerDarwesh "Love" is an interesting word to use...
 
Well, I have to say that my initial experience with Java and other languages wasn't as seamless and gentle as with PHP
 
11:15 PM
means that if i get an error i just guessed one of the last 24 users' passwords @Andrea lol
 
Anonymous
How does one know if intel's core i* is a quand core?
 
@Worf oh, it's not one of your own passwords?
 
i7 is per intel core phase @samaYo
So you have intel dual core i7
but also quad core i7
MS Azure even offers single core i7
 
i don't know. why would one have several passwords on the same site? :P
it's the last 24 passwords of the last 24 accounts created on the site, i believe
 
11:17 PM
@worf bipolar
 
@samaYo s/quand/quad
 
Anonymous
@MieerDarwesh why is it freaking complicated, how do you calculate to know if some intel processor is dual/quad core?
 
Anonymous
@Danack TIL :)
 
@samaYo I have to warn you, don't be fooled by the i7's of the lower cores. They are sometimes really shitty. Calculate isn't the right term. Often it is a given in the specs.
 
Anonymous
11:20 PM
I used to think quad core was four physical processors attched to the mother board :/
 
it is
but they are in the same die
 
@samaYo also often the QUAD CORE isn't literally stated. Sometimes there is a ID given with a 'Q' in it.
That basically tells you it's a quadcore
But which generation Quad Core processor it is, you have to refer to the specs for that. Or some even can tell by the build year of that specific laptop or desktop
 
Anonymous
@MieerDarwesh eli5 why does this laptop digitec.ch/de/s1/product/… has the latest intel processor, but is still quad core?
 
Anonymous
but intel's corei5-3330 is a quad core google.ch/…
 
@samaYo nope that is a single core
 
Anonymous
11:24 PM
no, check it again
 
i7 is almost certainly quad core
but why are you looking at this crap again?
 
@Worf not true
@samaYo if it was a Quad Core the ID: i7-5500U would be --> i7-5500QU,
 
Anonymous
check > Spezifikationen
> Weniger anzeigen
 
nein, du muss zu Tweakers gehen mit die ID von dieser Laptop. Weil Tweaker immer besser spezifikationen hat
my german is falling apart, sorry :p
 
Anonymous
so the Q means it is quad, how do you know if it is dual, since you said this is a single code
 
11:27 PM
Yes
9 out of 10 times
 
@MieerDarwesh That's only true for the notebook version, afaik
 
For instance:
 
Anonymous
@MieerDarwesh english digitec.ch/en/s1/product/…
 
For instance: DELL Core i7 4810MQ
That Q states that it is a Quad Core
 
@samaYo i enjoy how you are wasting so much time trying to get the best notebook you can afford. you know that even the best notebbok doesn't usually last more than 3 years? and after 4 years will be hopelessly slow? i am basically saying that meanwhile you were choosing, everything you considered a possible candidate became old hardware
 
11:30 PM
Also, here in the comments you can read people saying it's not a Quad Core: ultrabookreview.com/6135-intel-core-i5-5200u-i7-5500u
Like I told you
It's a ULV
I wouldn't buy it for that price
 
so. get an amd, any amd. they are cheaper. don't spend more than 1000$. just check it has a dedicated gpu and is at least 15''
 
A DeLL or a HP workstation would have much better specs for that price range
Yeah, don't spend more than 1000
@Sama
 
Anonymous
@Worf iknow, i'm hopeless. I nedd something that lasts twice that time.
 
I know, it took me long too to buy a descent laptop
 
then dell is not what you would want to buy
get a lenovo. they are the tanks of the notebooks
and also cheap
 
Anonymous
11:32 PM
@MieerDarwesh my budget is less than 1600. Can you suggest any laptop 13", ssd 256 minimum, corei5 or plus, but most importantly quad core?
 
i don't know how much is it but a classic ideapad would be a wise choice
 
@samaYo I have a HP WORKSTATION 8570W i7 16GB 250 SSD. This thing can have 4 wives and still not be depressive.
I bought it for 900 euros
 
(i mean thinkpad or whatever it is named after as lenovo brand)
 
Don't buy Lenovo, don't buy Acer
I had them in the past, but bad laptops
I still have nightmares
:(
 
@samaYo remind me why you need a quad-core? And for the record I think getting a 2nd hand mac book pro wouldn't be a terrible choice for you.
 
11:35 PM
@Danack I agree completely
No need to look for second hand MacBooks. Since May this year. even the 13 inch macbook pro's in store have a Quad Core i7
The previous 13 inch only ran up to a i5
But Apple has renewed their line
Back then you only had a beast of a Macbook pro if you had the 15 inch version
A second hand 15 inch with Quad Core and Retina display costs only about 1400
with the initial new price of 2450
That's a deal, I tell ya
 
@MieerDarwesh wat. i agree acer sucks but todays lenovos are awesome
 
Anonymous
I don't want a used one, I need quad core because I can use multiple VM instances, photoshop, browsers, phpstorm .... @Danack
 
@MieerDarwesh Hmm - The MBP from 5 years ago has an i7.....but that just shows that looking at the name of the processor isn't that useful a guide.
 
i wish they had also amd processors tho
 
The System Admin at work bought a lenovo thinkpad for my boss recently, He isn't happy..
also due to those Malware implementations, that were recently on the news
 
11:39 PM
@MieerDarwesh i mean, they are still cheap computers.
 
@samaYo I'm using a 2011 MBP with dual core - the only thing it's noticeably slow at is compiling PHP. But for that I'm going to get a real non-laptop computer at some point.
 
@Danack just --disable-all
 
@samaYo goog thinking, I forgot that one, with VM it is very pleasant to have a Quad Core. That way you can divide the cores and RAM per Machine
 
Anonymous
@Danack MBP?
 
You will get more value from a second hand machine than you will from buying a new one.
MBP = mac book pro.
 
11:39 PM
mac book pro @samaYo
 
and honestly these days I have more issue with hard disk than anything else
 
@FlorianMargaine And don't run the tests either....
 
and that's coming from someone running 4 virtualbox VMs constantly
 
@Danack, tbh I like Desktops too but I don't know
 
@samaYo you should be more interested in having an SSD than having an i5
 
11:41 PM
@Danack However, you shouldn't get a new desktop just for the compiling of PHP. Sell you mac and save up for a good laptop!
 
"these days I have more issue with hard disk than anything else" - yeah that's my issue. The slowdown for compiling PHP in a VM seems to be the biggest slowdown....so I need to get a real computer to install some Linux flavour on, to avoid the VM slowdown.
 
@Danack oh, you're compiling on vboxfs? dear
 
Or I could just rent some server somewhere...
 
Anonymous
One thing I hate in this world is a second hand product. Even a laptop used for a day, would bother me a lot. I don't know why. Plus, I need warranty ..
 
11:41 PM
@Florian Margaine Half True, It all comes to the final composition of all the components
Last Week I bought a Crucial 100-something GB SSD for my moms old Laptop
 
i imagine used keyboards dirty as fuck
 
@Florian Margaine I tell ya, that thing runs like a stallion know
 
id never buy an used laptop
 
@Worf hahaha fuck that
 
@Worf wolf, when you have a noun starting with the letter 'u' the indefinite article is not 'an' but 'a'
 
11:43 PM
@Guys I am going to watch the last season of House of Cards
Have a Good night ! ;)
 
enjoy Mieer, nice to meet you
 
@ziGi i gave up. i will never remember that, but thanks :P
 
Anonymous
@MieerDarwesh wait .. or come back later :)
 
@SamaYo hey! Don't spent all that money on Crap, be consulted well prior to buying any laptop haha
spend*
@ziGi thanks ;)
 
Anonymous
I need moar opinions :)
 
11:44 PM
imagine finding some hair in an used notebook. only thinking that COULD be pubic hair would make me throw it out of the window without thinking it twice
 
Add me samaYo
wait.. can you add people on thing thing?
this thing*
 
Anonymous
@MieerDarwesh next time press up ( to edit your post)
 
@Worf it's easy you say an in front of words starting with the letters 'a', 'o', 'i', 'e'
 
@samaYo haha
 
11:47 PM
@Danack you need this :-)
 
@CodingInsane the hdd is useless
 
Alienware are mostly a scam these days - but yes I need a decent machine.
 
@Worf so how do you remember that you have to put a double == for comparison instead of =, same thing with 'a' and 'an'
 
true the 2TB SSD is enough
 
@ziGi Don't ask a non-native to ever get that a unicorn vs. an uprising thing ;P
 
11:48 PM
@Danack I fully agree with you, you can build much faster pc with the same cash
@Rangad I am not native as well
 
@ziGi in fact i always confuse = == ===
 
well if it sounds like it starts with a 'y' then it's an 'a' otherwise if it sounds like u in the word unicorn it's a 'an'
@Worf which country do you come from?
 
why you assume i know how unicorn is pronounced
 
good point
 
i need to buy a laptop soon too. but i think alienware products are more close to pc and they're designed for gaming. so they don't heat up like regular laptops
 
@Worf if it sounds like the 'u' in the italian word 'Frutti' then you put an 'an' in front of the word.
 
i swear frutti doesn't sound anything like unicorn xDxD
 
exactly
that's why unicorn is with an 'a'
 
Anonymous
italy === e taly. so, e is a vowel so .. go figure.
 
@Worf translate.google.com/#en/it/unicorn you can hear how it sounds like here
 
11:54 PM
and the 'u' in used does not sound like the 'u' in 'frutti' so it's again 'a' instead of 'an'
 
i know florian :P
@ziGi i will try to remember
 
just think of it that way, does the u in the word sound like the u in frutti, then put 'an' in front otherwise just 'a'
 
Anonymous
@Worf the secret is just to feel the first syllabel. If it sounds like a vowel use an, otherwise use a
 
Anonymous
there is nothing more to it.
 
Anonymous
3 mins ago, by samaYo
italy === e taly. so, e is a vowel so .. go figure.
 
11:58 PM
@Worf the word unicorn in english is read as 'you - ni - corn'
 
again you are assuming i know how you is pronounced. ahahahah
moving on!
:P
 
@Worf if you don't know how you is pronounced, how do you even speak the language
 
i am joking :D
 
Anonymous
@Worf where are you from?
 

« first day (1666 days earlier)      last day (3285 days later) »