« first day (1620 days earlier)      last day (3319 days later) » 

12:00 AM
Also, could you please move the token parsing part into zend_language_scanner.l?
It's not related to ext/tokenizer and every ext needing token stream for some reason would need to duplicate the code from ext/tokenizer
(I mean as a separate ZEND_API function, not related to actual bison parser)
 
@bwoebi ok
 
And at that point lex_scan then shouldn't be ZEND_API anymore.
There's no reason to leak the incomplete parse through…
 
I pushed another commit, just beware that the implementation of t_parse takes some future features into account that will be removed in case the PR get's merged on PHP 7.
E.g: if we implement constant expressions the ext/tokenizer won't need an update.
 
constant expressions?
 
nevermind, this isn't important right now... it's just that we only allow arrays in constants but there are plans to allow any expression.
 
12:12 AM
const FOO = [1] + [2 => 3]; works today?
or give me an example of what you mean?
 
something like:
const FOO = [1, 2, function(){ return Foo::bar + Foo::baz; }];
// currently we get
Fatal error: Constant expression contains invalid operations
Though I'm not sure how stupid is this supposition, post processing the token stream won't impair expanding constant expression support.
 
note that there is a constructor call there :|
 
@Ocramius ?
 
closure instantiation
 
@Ocramius sure, emphasis on - I'm not sure how stupid is this supposition - :)
 
12:27 AM
@Ocramius yeah and…? Array instantiation usually has its own opcodes too…
 
A closure closes on a scope - not sure I'd want a global to be trapped in there at class definition time
 
@bwoebi could constant closures have static variables?
 
const FOO = [function() { static $foo = 0; $foo++; return $foo;}];

echo (FOO[0])(); // 0
echo (FOO[0])(); // 1
looks horrible
 
^ THAT
 
And the reason why it's not possible are certain optimizations relying on constants being static, immutable and not containing references (like to $this)
constants are assumed to be constant once defined
 
12:32 AM
sounds like too much restriction, I'd be happy not to have this feature
checking all these things when compiling looks too tricky - does the closure has static vars? is the closure static? does it has side effects? etc.
 
12:51 AM
I love when travis starts a build against the wrong commit ¬¬
 
Hello, Anyone can suggest good php charting lib ?
 
@bwoebi what other extension needs to analyze the token stream?
 
@marcio No idea. It's just the API which provides a possibility to access it, and in case some random ext needs it, API is there.
 
@bwoebi in this case, would we need an intermediate format between the api and the ext tokenizer return value? current API only works with the format returned by token_get_all.
 
1:07 AM
@marcio Oh. Well, it ideally should work with just a rename of the function we use, completely transparent to exts.
 
ok
is there a way to do this operation without the need to have a 'zend_string *tmp' ?
 
@marcio you already know it's a string… so why don't you just Z_STRVAL_P(token)[0]?
And eih… in php-src, we usually put a space between the control structure keyword and the parens (if( vs. if ()
 
1:23 AM
oh, there are Z_STRVAL_P... macros
:D
 
yeah, they didn't disappear ^^
You just can't assign them directly (or better: shouldn't)
 
we could have a documentation at least for the ZVAL macros, I loose too much time picking the right one and they don't seem to change every day.
 
They're really all in one place
it can't be so hard ^^
The important thing though is to know that there exist macros for that.
 
yea, perhaps I'm just too lazy xD
 
@marcio heh, I do too. I'm not better than you… just a bit more used to the macros ;-)
 
1:40 AM
@bwoebi time to go here. Thanks for your help today :) I'll keep pinging you with news once in a while.
 
@marcio I look forward to it… Catch you tomorrow then ;-)
 
2:18 AM
If someone smarter than me can help me with this issue, I would really appreciate it. Been working on a project for 14+ hours straight, and if I dont get this done in a couple of more hours I might get fired lol :( stackoverflow.com/questions/29223808/…
 
 
4 hours later…
6:05 AM
moin
 
6:18 AM
morning
 
 
1 hour later…
7:18 AM
good mornings
 
indeed
 
posted on March 24, 2015 by kbironneau

/* by pierre */

 
7:34 AM
moin
 
Hi. I'm getting this "Additional uncaught exception thrown while handling exception.". Anybody knows how to resolve this? I have read things about my.ini, but I don't know where to find that file. I can access MySQL via PHPMyadmin though, could I resolve something there? | The error sais "General error: 2006 MySQL server has gone away" | Thanks
 
7:49 AM
@VincentVerheyen The "MySQL server has gone away" error indicates the server stopped responding / timed out - this could be because the server process died for some reason, it became unresponsive (too much load) or the network connection was interrupted.
As far as I know, there's nothing you can do from the client-side of the connection to prevent this from happening.
 
@AllenJB | Thank you for your response. I can only access certain pages on my site, whereas others give this error. | I have ±fishy hosting. Could you advise a good host for a simple site? =)
 
General error: 101 MySQL server took a day off.
 
The "Additional uncaught exception" issue sounds to me like an exception was thrown in the uncaught exception handler.
 
I have read that clearing cache rows in MySQL might work (truncating); but I don't even know how to truncate rows via PHPMyAdmin.
 
TRUNCATE TABLE name;
 
7:52 AM
I have no command line access ... (I guess at least)
 
you can enter raw sql in phpma
 
Ok. I'll see if I can find that, thanks.
 
@JoeWatkins He's talking about "cache" - I don't think he wants to remove all data from the table
 
of the crime of reading the last part of the last sentence, I am guilty, and I sentence myself to another 30 years of programming, to run concurrently with all previous sentences for similar bouts of stupidness ...
 
@VincentVerheyen Be aware that "TRUNCATE TABLE" is essentially the same as "DELETE FROM table" (no where clause) - it deletes all rows in the table
 
7:54 AM
I could totally be a judge ...
 
/me suspects @JoeWatkins has not had his caffeine yet this morning
 
Aha, ok, thanks. | I'll just sit still and hope for now; I have had troubles with fiddling around at my beginner's experience ||| Or rather: I'll send a question to my hosting service | Perhaps the best thing is to find a better host hé.
 
still drinking first dose
 
Now it works again. See: that's the magic of having free and fishy hosting. Everything is like magic! You can't rely on anything; it's such an adventure! It's like extreme sporting for webmasters. :D
 
for the cost of one less cup of tea or coffee a day, you can get yourself a VPS: I do not understand why anyone anywhere uses shared (or free) hosting anymore.
 
8:11 AM
that's some cheap coffee you are drinking @JoeWatkins ;)
12$/y at ramnode with a coupon
3 cents per coffee :P
 
we have milk and sugar in our tea in the UK ... because we're not animals !
about 30p a cup, 30 cups, £9, which is enough for pretty decent vps, not just the cheapest available ... there is no excuse ...
 
@JoeWatkins maintaining a VPS requires some skills
and time
 
8:27 AM
@FlorianMargaine | Can you give a hint at what skills should be learned for VPS?
 
@FlorianMargaine meh. there are some really good tutorials out there these days
 
@Patrick many people are still afraid of the command line :)
 
@FlorianMargaine I know some of those guys. They use dreamweaver, work directly on the server with ftp and of course don't use source control :P
 
8:40 AM
So, anyone could help me with a tutorial on setting up VPS (I use Mac, so perhaps Linux VPS)?

Is RamNode about the best bang for the buck? I would like to start asap.

Thanks for any help.
 
@LeviMorrison suggestion: make .refsect1 elements collapsible on php.net
example to try out: run this in your console: function toggle() { $(this).find('*:not(.title)').toggle(); }$('.refsect1').on('click', toggle).each(toggle);
imho it helps because most people are interested in one part only (i.e. return value, parameters, etc)
 
@VincentVerheyen yeah I guess you can't go cheaper than ramnode. I had the cheapest one for a while now and it works fine. Put ubuntu on it and google for the digitalocean or linode tutorials for whatever you are trying to do. They have pretty much everything covered
 
@Patrick l Thanks a lot for the help, will do this today. | All I would like is a simple Drupal installation running on it.
 
8:59 AM
Morning
 
9:12 AM
Yet, what should be chosen @ RamNode (https://clientarea.ramnode.com/cart.php)? There are a lot of options:

OpenVZ SSD VPS (SVZ) |
KVM SSD VPS (SKVM) |
OpenVZ SSD VPS (SVZS) |...

I have no idea what these mean.
 
@VincentVerheyen scroll down for the faq
OpenVZ SSD VPS should be fine though
 
... KVM SSD VPS (SKVMS) |
OpenVZ SSD-Cached VPS (CVZ) |
KVM SSD-Cached VPS (CKVM) |

Ok, thanks. I'll have a look.
UPDATE: The location wouldn't matter right? Unless someone throws a bomb or there is a natural disaster on the servers or something?
CORRECTION (after a google): "By choosing a location close to you, you're able to manage your site with an extremely fast connection speed. Users visiting your site will also be able to view the site faster than another that is hosted further from them."
 
Can I tame xhprof to show normal data? It keeps showing wacky method-names and child functions are improperly calculated. I've got date@20 calling date@21, calling date@22, calling Illuminate\View\View::getContents@2, ...
 
@FlorianMargaine yeah or a cpanel license, or some other software ... which they are likely using anyway ...
 
I got 7 different calls to date() all taking 90% of inclusive walltime, all showing as chained calls.
 
9:28 AM
@Fabor They can't really tweak the SNR exactly, SNR is a metric for how effective the current frequency profile of your line is at delivering usable signal to your CPE.
ADSL(2\+?)? is in a state of constant monitoring and re-adjustment, in general they say that any physical changes can take up to 2 weeks before an effect is seen, but if they've tweaked something it suggests that they've bypassed these mechanisms to try and improve the SNR - but without knowing exactly what they've done it's hard to say.
One thing you can do to help would be to ensure that the router (or modem) is left powered up at all times
 
Fair enough. It's more stable ATM anyway. I was forced to read a book it was so bad yesterday.
 
posted on March 24, 2015 by kbironneau

/* by Stichoza */

 
I really think you could probably benefit from isolating the incoming pair and ensuring it is directly connected to the network terminals of a modern NTE5, and disconnecting (temporarily) any extension wiring, and plugging your router/phone into the master socket, if only to eliminate an internal wiring fault as the cause
 
> What goals have you set for yourself for the next quarter?
another 3 inches of beard, at least ...
I dunno ...
hate questions like this
> What is your career aspiration with the company in the future?
 
But based on your attenuation scores I suspect that your real problem is a long alu section of the feed, or a weak external short, or both
 
9:32 AM
what if, I'm quite happy and don't want anything to change ...
 
@JoeWatkins Just put "more money". Everyone wants more money, so that probably amounts to the same thing without sounding like you are a robot with no desires
 
do I sound like a robot with no desires ?
 
@DaveRandom It's currently in the master socket but fiddling about with other sockets seems a little out of my comfort zone.
 
@Patrick | I'm ready to order at $15/year | At "Configure Server" they ask for a hostname; they want me to write an existing nameserver right? They write "(e.g., server.domain.com)" Does anyone know if this is possible with the domain server "Freenom" (my.freenom.com/knowledgebase.php?action=displayarticle&id=4 | which I am now using)?
 
@JoeWatkins HR people are... weird.
 
9:36 AM
You're down in about 2 months anyway. Perhaps you can fix the fridge door too :P
 
I'll bring a spanner. By which I mean I'll bring myself.
 
lol
Going to poke the local council as a last resort to have my cabinet looked at
 
9:50 AM
@Fabor If I doubt the council will have any sway over it, at the end of the day Openreach (who own and maintain the physical network) is a private enterprise. It pretty ridiculous, basically the council offers a "grant" to Openreach to do some particular fuzzily defined task ("increase the available bandwidth in postcode x"), which they then have to claim as a rebate from central government. There's a whole industry built around red tape, and unsurprisingly they are often reluctant to do it
It wouldn't matter so much if there was any competition, but there isn't in any meaningful sense. It's essentially a public service that's being run as a business, so they can basically set their own prices. I've been frequently amazed that one of the tabloids hasn't picked the story up and kicked up a stink.
 
Not too unlike comcast in America I imagine
 
The same is true of BT Wholesale (the "carrier" arm of BT) and BT Retail are basically getting away with murder, it's only now >10 years after privatisation that they are finally starting to get some real competition in the form of Carphone Warehouse and, by proxy, O2 - and even then they bought out Plusnet so anyone who says "screw BT, I'm going to Plusnet" is actually not going anywhere.
@Fabor I believe that a company called Comcast have a similar monopoly over there, but they acquired it by simply buying out all the competition
 
lol
It's like a slow moving train wreck.
 
It's a different ball game over there though, both in terms of the business model and the logistical differences that come from delivering services to an area that (compared to the UK) is almost entirely unpopulated in terms of population density
 
Typically aren't most of the people in charge of these things relatively lacking knowledge about BB as a whole.
 
9:57 AM
The differences in the business model are really a knock on effect of the coverage area problem, it was much more economical to have separate companies for specific areas, whereas the UK is small and populous enough that a single entity was practical
@Fabor The people in charge are non-techies, same as everywhere. It all comes down to who's going to pay the bill, at the end of the day
/me is going to stop talking because I am being quite boring and also making myself angry :-P
 
Which party do I vote for to get fibre? :P
 
Monster Raving Looney, probably
 
heh
At least you probably have a decent speed though no?
 
Yeh I get about 60/18, but I live quite close to the exchange on a fibre-enabled cab
I do find it ridiculous that you aren't going to get it in the foreseeable future, but at the same time I do understand why after a conversation I had a few weeks ago with an Openreach network planning engineer - essentially, while there is a huge market in urban environments, there's also a huge amount of red tape to wade through when you have to dig up the road in a town, it gets very expensive and sometimes the council just won't give permission at all.
 
Well then it's double stupid because they JUST dug up the entire road about 2 months ago
Spent the good part of last year changing it from a one-way to two-way street.
 
10:04 AM
He told me there were a few occasions on which councils have threatened to sue Openreach because they haven't run fibre to some place that was covered under a grant, and then some other people at the council have refused planning permission for the required work. That alone should give you some insight into why this is so seemingly difficult.
 
I was actually hoping to find my cabinet on the map to see if it does indeed require a road to be dug up.
 
@Fabor With any luck they'll have dropped a channel with a pull into the road when they did that, they are getting much better at that kind of thing. But it won't do then any good unless there's another one at the end of the road, and at the end of that road, etc all the way back the exchange
 
@Fabor (y)
 
@DaveRandom I spoke to some of the openreach engineers who were working directly outside my building, they were surprised I didn't have fibre as they stated all the cables required were down there.
Morning @WilliamGeorge
 
@Fabor They might be dark, though. That's also an indication that they did some of the required work when the road was being dug up, but just because there's a fibre running past your building doesn't mean it's actually connected to anything.
dammit, ctl-C ctl-V fail :-P
 
10:10 AM
Does that make it easier to install though? I mean they said it on the side of the road that would mean they don't need to dig it up.
 
Sorry to bother again ...

At the registration of a VPS, there is asked for a hostname at "Configure Server"; they want me to write an existing nameserver right? They write "(e.g., server.domain.com)" Does anyone know if this is possible with the domain server "Freenom" (https://my.freenom.com/knowledgebase.php?action=displayarticle&id=4 | which I am now using)?
 
Sent you a gTalk link. Is that likely to be my cabinet? It's black now and I thought they were supposed to be green @DaveRandom
 
@Fabor No, they won't when they deliver it. But if you'r 2 miles from the exchange, and that fibre only runs 1 of those miles... there might as well be no fibre there at all. Even if there's only a 50-metre gap to from the end of that fibre to the next network junction point, that's still potentially a >£1M job required to complete the hop
 
I'm okay with them spending that money for me.
 
@Fabor Some are black. Some are green. In Salford, for some reason, some of them are pink.
 
10:14 AM
Interesting choice.
 
I really have no idea who decided that was a good colour for the council motif
 
Jaipur wannabe
 
@ircmaxell @Andrea I've ported the PHP-Parser library to scalar types + return types + strict types yesterday, this was the fallout: github.com/nikic/PHP-Parser/commit/…
Which, I would say is quite an agreeable amount of change, given that it found two incorrect docblock typehints and one instance of missing input validation in unserialization code
Here are the type annotations I tested with: gist.github.com/nikic/1521a879b97f0d40d79e
I've also written about 500 loc from scratch using type annotations yesterday. My primary gripe was the lack of nullable return types
For all my fancy talk of nullable types being bad, they do come up a damn lot
And the second gripe is that ?? will also hide typo'd variables - but that's not related to types ^^
 
10:38 AM
@NikiC So in summary, PHP's typing could use improvement, and so could yours
*ba-dum tish*
 
@DaveRandom totally :D
I also need a new keyboard, the current one is very typo-friendly...
 
It's interesting, I thought I'd seen some of the worst possible ideas, but internals continues to prove me wrong
 
Multiple return types and whatever that other thing is
 
@Fabor God damn you
 
10:51 AM
It's all about dem strawbs.
 
Yup, just ordered one :-P
 
@Fabor are they the ones made in germany? 'cause holy crap those are good
 
There's a difference?
 
Groupon Goods Global GmbH is a Swiss company apparently, who knows.
Can't go wrong with strawberries though
 
@DaveRandom huge difference, at least in the bears (which is what i'm after anyway)
the ones made in germany are a touch stiffer and the flavor is more fruity than sweet
 
10:54 AM
Anyone having a party can make Gummy Bear Vodka
 
haribo made anywhere else is just not the same
 
How cheap were those haribo bags when you were a kid? I think I can remember 2 for £1
 
hi everyone
i need a suggestion, what is the best way to protect this: $arraydata= json_decode($_POST["models"]);
 
protect what from what?
 
sql injection
 
11:02 AM
Aliens
No, ghosts!
 
ghost aliens
 
I believe you can use aliens to protect yourself from ghosts, and vice versa. But you must always be exposed to one of them...
 
If you believe in ghost and also aliens by proxy do you believe in ghost aliens?
 
@Japa None of that code has anything to do with SQL...
@Fabor No, that would be ridiculous. Dead aliens simply become woodlice.
 
heh
 
11:05 AM
i´m using kendo ui grid, and when you post something from they´re forms it comes in that object "models", and i was just wondering if i need some kind of protection
in other forms that i have (not kendo ui) i´m using this: $name = filter_var(($_POST['formGeneralImputName']),FILTER_SANITIZE_STRING);
 
You need to sanitise data no matter what you are doing. However with JSON, you need to handle the possibility that json_decode() fails (invalid JSON) and you need to validate the data in the resulting structure returned by the decode process, but you don't need to validate the JSON string itself - JSON is not the data, it is merely a mechanism for encoding it for transmission
 
Hello all
 
@DaveRandom thanks for the explanation, i appreciate.
always learning
 
i have seen code where i found <?php?> in html tags whats the purpose of that? and it is good soltuion to use that
 
No. Try to keep your PHP away from your HTML.
Look at templating engines like Mustache or Twig
 
11:13 AM
@Fabor whyyyyyyyyy
 
@Fabor i am very confused why we use php in html tags?
why we use php in html tags? whats the purpose of this
 
<input name="first_name" value="<?php echo $first_name; ?>" />
 
@Fabor why would advise against embdedding PHP in HTML?????
 
@MuneemHabib you can use it to output stuff from php
Do like Fab says though
5
A: Why should we separate PHP from HTML

DanFromGermanyThe best practice is not to seperate PHP from HTML, the best practice is to seperate logic from markup. Also important is coding style. Proper line indentions. Using echo "</div>"; instead of echo"</div>";, valid HTML, not putting variables into quotations: echo "The variable contains the strin...

 
^. That. Late reply. I was making a tea.
 
11:21 AM
so british
 
cool
 
@FlorianMargaine I honestly don't understand why everyone doesn't drink more tea. It's ruddy lovely.
 
yay to Symfony! Close the PR from the domain expert on the subject, accept random guy's PR who's literally said he doesn't understand the problem being solved.
 
@ircmaxell link(s)?
 
11:29 AM
To balance it out, here is some Laravel derprecation: github.com/laravel/framework/commit/cfa7fcb
 
@ircmaxell Maybe deprecate or drop mb overloads for 7?
Probably deprecate at this point
 
please do so
 
can i ask one stupid question ?
 
github.com/nicolas-grekas/symfony/commit/… … where's data duplicated there? it's a simple refcounter increment immediately followed by a decrement? @ircmaxell …… oh, from PHP 5.x perspective… okay.
 
hi guys
 
11:43 AM
@MuneemHabib don't ask to ask... just ask
 
I know this is not php related but hope if anybody can help please. while working on angularjs I have uploaded file using angularjs but when I removed that div and click submit then also that file gets uploaded .I guess this file is still in controllers scope and I dont know how to unlink it
please guide
 
i am very confused can somebody tell me or give me link of web page flow where php is used inside html or php is generating html element? i want to study this thing
 
mogguh
 
@bwoebi yes, as the code path will only run on <= 5.5
 
@ircmaxell fine
 
11:55 AM
anybody?
 
@Danack da fuck? messing about with vendor is not cool, whatever the version
 
@John go to the js room
 
@Patrick I asked to that room as well
but yet to get response
:(
 
I freaking hate people using DIRECTORY_SEPARATOR
 
\o/
 
12:02 PM
@John then stop bothering the php room with your js question
 
But yeah @Danack that is once more a proper dick move from taylor
 
@Danack Because something cannot be both a directory and a file, and the members in the different cases are sufficiently different that it makes sense for both space saving and naming (i.e. readability) purposes
 
@Danack Y U NO CREATE PROPER GITHUB TAGS?
 
@DaveRandom Why not just have DirectoryEntity and FileEntity and a union of just union { DirectoryEntity *dirEntity; FileEntity *fileEntity; }
 
12:07 PM
Well you could, it would compile to the same code most likely, but if those structs are not used anywhere else then there's not really any point in introducing the extra types.
It would all be resolved to the same thing at compile time, if there's a use case for those structs somewhere else you could just pull them out into types
From a usage PoV it would remain the same
Also, if you make them part of the parent struct then it simplifies it from a memory management PoV
Well, it does if you use pointers to you "entity" types, anyway
 
Meh - it's kind of nasty. I'm trying to fix a bug, and I have to pass spl_filesystem_object *intern` and then access it via intern->u.file.open_mode = "r"; - it would be easier to refactor it to be a separate struct, just so it can be passed as a thing, rather than having to be aware of the full object.
i.e. just file->open_mode.
 
You'll probably have already noticed, lots of the SPL code is "kind of nasty". :P
 
wasted 40 minutes by making a typo in a typehinted classname and researching why the fek PHP doesn't support typehinting parent class and passing the extending one.
 
I doubt anyone would object to tidying things up, if you want to.
 
shouldn't it throw the class not found fatal in the first place?
 
12:14 PM
@salathe I fear the "person who touched it last, is responsible for it" rule.
 
@Danack Oh yes, you'll certainly be responsible for the whole of SPL after touching it.
 
@Danack That could be a legitimate use case for introducing another type, if you do that then don't use pointers to the child structs though, because if you do it will mean you'll have to hunt down all the allocs/frees and refactor them, as well as having to changed every access to u->file etc
You'd also potentially run into some issues if anything changes the type after the alloc and/or does the alloc before the type is known
 
@SergeyTelshevsky No, that'd get into looking for the class, autoloading and all that.
 
@SergeyTelshevsky Seems to work for me
(Not that I think coding like that is necessarily a good idea.)
 
@PaulCrovella why not?
@Danack I mean this
 
12:18 PM
Oh Twitch got hacked the other day... the email
 
@SergeyTelshevsky Yeh well that obviously isn't going to work :-P
 
@SergeyTelshevsky You've been given an error message - I can't see what you think PHP should be doing more.
 
@DaveRandom yeah, I was really thinking I made some inheritance mistake or something like that, the didn't think it won't throw me a 'Class does not exist' error
 
And remember - it's a totally dynamic language, so at compile time the parent of class that isn't loaded can't be known.
 
I can sort of see the point - there's no point in invoking the autoloader there, since if it was going to pass the type check then the class would already be loaded by that point, since an instance would have been created
 
12:20 PM
oh.. yeah, then it's not possible :(
 
But since it's going to issue a catchable fatal anyway, it's probably not a worthwhile improvement given the added complexity
 
They also sent a different email to my hotmail. here
> While we store passwords in a cryptographically protected form, we believe it’s possible that your password could have been captured in clear text by malicious code when you logged into our site on March 3rd.
 
plus if something did get autoloaded due to it, what's autoloaded may have side effects - which is normally not something I'd expect a type hint to cause on its own
 
@Fabor My bet is there was two facets to the attack. One compromised the database and the other compromised the server
 
damn composer is so slow
 
12:23 PM
@PaulCrovella No, but expectation goes out the window in that scenario anyway. You wrote bad code, if you violate your own expectations that's your problem.
 
@DaveRandom expectation is just an error, which isn't unreasonable
don't get me wrong, writing WTFery where something getting autoloaded has side effects is not a good idea - there'd just be no need for PHP itself to pile more WTFery on top of it by autoloading due to a type hint.
 
That would be a good April 1st RFC: Typo hints
 
@PaulCrovella I certainly agree that invoking the autoloader seems unnecessary, but I'm also conscious that it seems pretty obviously unnecessary, which makes me wonder if there's something that I'm not seeing where it could have a legitimate use case
I can envisage some weird composition hacks using it, but I wouldn't call them "legitimate" use cases
 
we'd need it if we did duck typing, but we don't.. offhand I can think of no other use
 
12:35 PM
In other news, SSL certificates are a train wreck waiting to happen
 
they... they're not waiting
 
Probably not :/
But you have to love the fact that a CA apparently thought it was a good idea to hand that authority over to a third party who used it to do MITM on their own clients
 
@Patrick oops
 
Hello everyone.
 
so, HTTPS is again on fire
oh joy
 
12:42 PM
 
my CTO asked me a week ago, why didn't I relay on HTTPS to ensure the security of the API for an iOS app
I was kinda confused for a moment there
 
Is there something strange about that question?
 
seeing in how lately there is at least on hole in HTTPS per every two month, yeah, it is kinda a strange question
and the application is expected to be used exclusively on unprotected networks
 
Ok. So this noob has just set up a Ramnode's VPS with Ubuntu. Anyone knows a good tutorial to run/install a Drupal website there? ||| Can I just create a new MySQL database?
 
@tereško openssl !== https
 
12:52 PM
yes, but those are closely related
 
@tereško I think people just went so long in not wanting to question SSL (particularly openssl) that when someone found a giant loophole people started looking at what else was broken. I expect the flaws to taper off and settle down to a normal patch cycle 9especially since openSSL is funded now)
 
On rosehosting.com/blog/how-to-install-drupal-7-on-ubuntu-14-04, it is mentioned that one can create a new MySQL database, just by entering a command lnie. Is this true? ||| Greetings.
 
The flaw I linked is more due to bad CA behavior
 
issues found with https doesn't mean it's logical to not use it altogether.
 
forgive me my paranoia, but I don't want an app which sends around money-related request, to trust only based on https
and I am using HTTPS
I am just not relying on it to be trustworthy
 
12:54 PM
@VincentVerheyen did you install mysql yet? (actually I would recommend mariadb instead, it's a drop in replacement)
 
@tereško perhaps from your wording it wasn't very clear that you were doing anything on top of https
if you are, then i misunderstood
 
    @Patrick =) I haven't installed MySQL yet. The only thing I did so far is enter "sudo apt-get update", which has completed. Now I am in the middle of entering "sudo apt-get upgrade" >>> I get the following dialogue screen called "Postfix Configuration":

    ||| Please select the mail server configuration type that best meets your needs.

    - No configuration.
    - Internet site.
    - Internet with smarthost.
    - Satellite system.
    - Local only.

Of course I have no idea what to choose =).
 

« first day (1620 days earlier)      last day (3319 days later) »