« first day (1938 days earlier)      last day (3010 days later) » 

10:00 AM
@JoeWatkins I know you'll like it ^
 
omg, it's great, I seen it before actually ...
you know people say about driving a hovercraft, that if you can see an obstacle, you are going to hit it ... my experience of big teams is much like that ... I think the best you can do, whatever route you take - be it framework based, component based, or bespoke solutions - is prepare for the worst from the beginning ...
 
@AllenJB I disagree. For many projects using a monolith is still the way to go forward. The reason why Laravel and CI is so popular is because they give you structure and most of what you need out of the box. we can discuss their quality, but not their utility. Microframeworks and components are more flexible, but they also require more effort.
 
and at a certain point you have so many components that you have what amounts to a complicated framework ...
just as difficult for a new team member to grasp as any of the big names out there, only with 0% chance that they will know about it from the beginning ...
 
@JoeWatkins Yep, so would you say: frameworks are good for teams, and micro-frameworks / component-based stuff is good for one or two people?
 
10:06 AM
I'm saying at certain points in the applications life time, any approach will become problematic, for different reasons ...
 
@Jimbo imho, it's more about the level of expertise you expect from your team
 
There many benefits for using a framework, such as a framework at first helps you to do more with less code, gives you unified API/Tools to accomplish complex tasks easily with less effort.
 
But you miss out on knowing how/why things work the way they do.
 
do whatever is possible, whatever gets the thing out the door fastest, but to sustain the thing, prepare for the worst ... try to focus on making things that are really poor, or really time consuming, less so, rather than always focusing everyones effort on new stuff, and improving stuff that is already performing ...
if some project has a big learning curve, and so very many do, and it has such a curve because of feature X, Y, and Z ... nobody ever seems to ask the question "without changing the specification of X, Y, and Z, can we change the learning curve?" ... they just accept that it's difficult ...
 
10:15 AM
@SagarNaliyapara I disagree. At first it requires you to learn it's idioms and conventions. That will slow you down and will require more effort in the beginning. It's only when you learned to use these, that a framework will give you benefits. Ever tried to work with Sf2's authentication? It's Voodoo! I cannot count the times I had to jump through hoops just to make something work with a framework I could easily do in vanilla PHP.
 
@Gordon the advantage is more on the business side -- hire "symfony2 developers" and they're already familiar with that
 
@FlorianMargaine yes, but that assumes you already know the framework.
 
less or more, a framework uses abstraction layers to simplify the development process and it (Framework) may take some extra time than native PHP code.
Also, when developing application with many team members, it is much better that everyone is working on the same known documented framework, which might not be the case with your own archive PHP code and a framework also unites the team members to a specific convention of writing code because everyone follows same rule provided bt the framework. It's also easy to recruit additional team members anytime who knows that framework and new team members can easily fit into development process.
 
@SagarNaliyapara if you're expecting to work with good devs, then it doesn't matter. If your code is clean, framework or not, it's going to work out well.
 
@SagarNaliyapara yes, but you said "at first" and that is not the case if you don't know the framework already. you only get the benefits you mention if people already know the framework.
@tereško it generates strings, so it's a generator. Something like github.com/mifmif/Generex?
 
10:21 AM
:(
it's a really generic name
pun not intended
 
Only a few of the developers can write the code in an easy way and reliable format without framework
 
@SagarNaliyapara the same is true for people writing frameworks ;)
 
The framework I use undoubtedly has the best documentation... php.net/docs.php
 
@tereško the project makes me think about the programs generating code to improve tests of the language implementations... I don't remember the name
 
@FlorianMargaine Fuzzers?
 
10:25 AM
Think it's worth tagging a feature freeze in VC?
 
@Leigh yes!
I was googling "fuzzlers" and it didn't turn up any useful result...
 
haha
 
!!urban fuzzlers
 
[ fuzzler ] someone who gives you warm fuzzies
 
@FlorianMargaine I have never seen anyone familiar with Symfony2's security component, and I work mainly with people who were hired as 'symfony developers'
 
@Jeeves Awwww.
 
Is there a recording out there of Zeev or Andi pronouncing "Paamayim Nekudotayim"? Maybe there should be.
 
@Andrea ask @MadaraUchiha to create a sound file for you
 
@nikita2206 err, I have seen several people familiar with it...
 
@bwoebi it is in practice
 
10:27 AM
/paamgim nuke them/
?
 
I've always said it like "scope resolution operator"
dunno what's so hard about that
 
paamayim nekudotayim is not proper Hebrew, IIRC it's something like "double dot twice" rather than "double colon" and was chosen to be poetic
 
peric.github.io/GetCountries similar to this with telephone code anyone knows?
 
@Andrea For... science..?
 
@MadaraUchiha obviously
science elePHPant
 
10:37 AM
@SagarNaliyapara The best method I know of for dealing with phone numbers is Google's libphonenumber - there's a well maintained PHP port: github.com/giggsey/libphonenumber-for-php
 
What language would you recommend for picking up Selenium WD? Java or something like Python/Ruby?
 
@Sean There are awesome bindings in PHP too :P
 
@AllenJB i want to insert that into mysql table
 
@Jimbo :O Oooo aaaaa
 
@Andrea ha ha ha ha LOL
 
10:41 AM
@SagarNaliyapara It has data files you can probably do that from (or generate the records you want using the library). I'm not sure why you would tho - the data can change fairly frequently - it's easier to use the library.
 
10:58 AM
8
Q: Mysql Query Group Concat Limit multiple record of child table in one query

Sagar NaliyaparaAlbum Table: +------------------------------+ | id name updated_at| +------------------------------+ Album_member Table: +------------------------------------+ | id album_id member_id | +------------------------------------+ Album_media Table: +---------------------...

 
11:18 AM
Would you say fuzz testing is specifically white/black box testing, or somewhere in the middle?
 
/home/leigh/php-src/Zend/zend_string.h(121) :  Freeing 0x7F30608640C0 (152 bytes), script=/home/leigh/test.php
Last leak repeated 2 times
=== Total 3 memory leaks detected ===
(unmodified master)
Not actually sure where to begin tracking this down.
Smallest repro script I guess
 
11:33 AM
@Leigh break on php_request_shutdown
when execution stops, print (char*) ((zend_string*)0x7F30608640C0)->val
get value of leaked string, then you'll know where it comes from probably ...
also, you could set watch on 0x7F30608640C0 and see when the refcount is changing (where release/delref is omitted)
 
leaked amount is header length + 32
 
yeah, which is sizeof(zend_string), that sounds right ...
ZEND_ALIGNED zend_string ...
 
I don't fully understand the consequences of what I'm doing, but replacing the zend_string_copy with a zend_string_dup and persistent set to 1 makes the error go away
 
11:52 AM
that'll be negative consequences, what you are looking for is too many zend_string_copy calls, or too few zend_string_release calls
 
@JoeWatkins probably the later. Will review post-pint :D
Thanks for the help thus far
 
if you watch *address, it'll break when refcount changes, you can compare that to expectations and deduce where the problem is usually ...
welcome :)
 
@tereško I understood your mean of this sentence last night, when I was in bed and really near to sleep :-) tnx
 
@Shafizadeh ha ha ha
@tereško in bed near to sleep
:-)
 
what's funny ? ;-)
 
12:03 PM
nothing bro
welcome @Ryan
 
good morning
 
mornings
 
http://stackoverflow.com/questions/35223266/codeigniter-gocart-vs-co‌​deigniter-cart-class
 
So I bought a domain abd tried setting up letsencrypt
was much easier then expected
 
mornin @RonniSkansing o/
 
12:07 PM
check it
 
morning \o
 
12:09 PM
\o
 
@RonniSkansing YO
 
morning everyone
 
mornin
 
I just made a boatload of grammar edits to the php tag wiki, if someone with sufficient rep would care to approve.
 
12:15 PM
@SagarNaliyapara YOOY
 
ya know what, it's actually quite easy to creep me out
it's something I have notices in past few years
 
> and run it from browser.
> downloads them into a vendors directory in your project
the directory is configurable and defaults to vendor (no s)
 
fixed those two
would be nice if I could actually see the diffs while I'm editing. Would make proofreading my edits way easier.
 
12:34 PM
ok, got my approval vote, but still needs love - stackoverflow.com/review/suggested-edits/11158957
 
12:53 PM
thanks
 
(not a troll link, I promise)
modstar pl0x?
 
!!rfcs
 
Oh only one
 
So ... I watched Legends of Tomorrow
I think this summed it up pretty well:
This Doctor Who spin off is super weird. #LegendsOfTomorrow
 
1:02 PM
@PeeHaa yeah, other two votes had closed
!!eval echo base64_decode("ISFldmFsIGVjaG8gYmFzZTY0X2RlY29kZSgiSVNGbGRtRnNJR1ZqYUc4Z0lraHBJU‌​0k3Iik7");
 
[ 5.3.22 - 7.0.3, hhvm-3.6.1 - 3.11.0 ] !!eval echo base64_decode("ISFldmFsIGVjaG8gIkhpISI7");
 
!!eval echo base64_decode("ISFldmFsIGVjaG8gIkhpISI7");
 
[ 5.3.22 - 7.0.3, hhvm-3.6.1 - 3.11.0 ] !!eval echo "Hi!";
 
!!eval echo "Hi!";
 
Won't that trigger the 3v4l throttling?
 
1:06 PM
probably
 
Eventually yeah
Dude. You still alive? @DaveRandom
 
Yeh, just had a seriously shit week at work and less than awesome week at home, barely had 5 minutes to stop and think
 
Meh, I'm on top of it now (I think/hope)
 
1:09 PM
Although I'm in the odd situation where I am hoping that a particular bit of kit doesn't come back up by itself before 5pm otherwise a whole bunch of stuff is going to explode :-S
 
@DaveRandom :-(
 
posted on February 05, 2016 by nlecointre

/* by Blapi */

 
9 messages moved to bin
 
censorship!
 
:P
 
1:17 PM
heh
 
@PeeHaa boooo
 
unless their name happens to start with a zero-width space
 
nice use of \u{}. Is that the zero-width space?
 
@PaulCrovella I don't think that is possible?
@Andrea yea
 
1:20 PM
@PeeHaa :)
 
@PeeHaa try it
 
Waaay too lazy :P
 
I wonder if I can fool Jeeves with invalid UTF-8 :D
 
hello, first time in chat
 
@SupunFictionPraneeth o/
@Andrea I highly doubt it
 
1:27 PM
that would requires jeeves to care about utf-8
 
so here only you can talk about php ?
 
@SupunFictionPraneeth Mostly yeah
 
@PaulCrovella StackOverflow might
and, crucially, JS has to
@SupunFictionPraneeth PHP and PHP accessories
 
what was the html regex easter egg again
 
Anything html finder regex
 
1:33 PM
62
Q: What Easter Eggs do the chat sites have?

MosheAccording to balpha, the SE chat sites may have individual Easter eggs, depending on the site. If you find them, please post. Edit: Because it's so easy to make this stuff up, a screenshot as proof would be nice. (Although Photoshop ain't that hard either...)

 
<(?:"[^"]*"['"]*|'[^']*'['"]*|[^'">])+>
 
<[^>]
 
<(?:"[^"]*"['"]*|'[^']*'['"]*|[^'">])+>
 
!!eval echo "<[^>]";
 
^ this should cause jeeves to speak in zalgo text for a bit
 
<[^>]+>
 
@Andrea wow. this is unintuitive
 
@Andrea I'm okay with this; but can we get rid of list and just use [] please?
[$key => $value] = ['foo' => 'bar']; var_dump($key, $value); // foo, bar
 
@PaulCrovella yeah, if jeeves were in a browser... :)
 
1:50 PM
user image
2
 
@Andrea in the first example the argument is made that its cumbersome to manually assign, yet the proposed syntax still requires me to do so and is two lines longer. it adds complexity for the sake of nozt having to write the array variable more than once. I'd argue the code got worse by using list.
 
@PaulCrovella open your js console on this page, type Eggs.Cthulu.toString(), there's a .search(/your regex/) somewhere in there
 
that should make it easy for jeeves to replicate on his own output
 
@RonniSkansing E_NOT_ENOUGH_REBECCA
 
1:56 PM
@Gordon If I understand you correctly, you're complaining that this:
list(
'first' => $this->first,
...
) = $args;
is six lines, not four?
 
@jbafford and has additional indentation and feels unintuitive to me because it assigns left to right
 
5 min and I am going home!
 
That's really no different than
$arr = [
'one' => 1,
'two' => 2,
];

vs.

$arr = [];
$arr['one'] = 1;
$arr['two'] = 2;
you add a couple extra lines that don't really have anything on them, to replace a lot of repetition.
I think that makes it entirely worth it.
 
@jbafford disagree. it adds needless complexity to erase almost no duplication. saving the array var doest cut it for me
 
1:59 PM
we'll just have to disagree, then.
 
that's okay with me
on a side note, I also find the example suboptimal because passing an array with ctor arguments instead of making them explicit is bad practice in my book.
 
laterzzzz
 
Although I would point out that there are other use cases where the source is not just $foo, but, say, $this->data[$someKey]
In that case, you're eliminating repeating three levels of indirection without having to assign it to a new local variable.
Which could be an especially significant win on an opcode-emitted basis
 
I just like that it'd let you sanely use list on sparse arrays, or those not numerically indexed
 
2:05 PM
And not necessarily something an optimizer could optimize after-the-fact because it can't necessarily make the assumption that repeated reads from $this->data[$someKey] wouldn't change each time, even assuming a constant $someKey.
 
maybe, but I don't judge this on an internals basis but on a userland basis. the initial example is sufficiently simple and easy to read. it doesnt need changing.
 
@AnmolRaghuvanshiVersion1.0 wat
 
@AnmolRaghuvanshiVersion1.0 no
 
SergeyTelshevsky i am asking is it good to use above ?
ok is there any which would you all recommend??
 
2:16 PM
@AnmolRaghuvanshiVersion1.0 SSL
 
ah thnks PaulCrovella,SergeyTelshevsky
 
@JoeWatkins Kind of strange, the refcount is getting incremented twice on that line
 
2:31 PM
@Andrea nice idea :)
 
It says im missing a closing bracket somewhere...hm but where`?
CREATE DATABASE IF NOT EXISTS test;

USE test;

CREATE TABLE Companies(
   COM_ID    INT NOT NULL,
   Company   VARCHAR (50) NOT NULL,
   PRIMARY KEY (COM_ID);
);

CREATE TABLE OS(
	OS_ID	 INT NOT NULL,
    PRIMARY KEY (OS_ID);
);

CREATE TABLE Software(
	SO_ID,
    PRIMARY KEY (SO_ID);
);
 
2:48 PM
@Asperger I'd say the actual error is too many semi-colons
You've ended the query before the expected closing bracket
 
@PeeHaa git checkout renew && git checkout HEAD^.
 
Thanks to the magic of Emojii I can now make a bug severity system based on how injured the doom character is next to the issue.
emoji-cheat-sheet.com (Bottom of 'People')
 
3:03 PM
posted on February 05, 2016 by nlecointre

/* by Kromen */

 
When you click on a link from "the coding love"
 
Tnx. @kelunik. What's the status of 5.x support atm?
 
That's the 5.5 support commit.
And it works pretty good, just used it for pse.kelunik.com, was surprised.
 
Coolio. Will do some testing this weekend to see if I can break it
What is needed for renew to be merged into master?
 
Since i started using HHVM over PHP-fpm, i experience some kind of "cache" that gets filled over time and results in slower pageloads? Then when i restart HHVM it all works fast again but after a week or two, it's the same thing.. It's just a feeling. Is there a explanation to it?
 
lemon party . jpg ?
LOLZ
 
Anyone has discount code from conferences for Zeev & Andy certification? :)
 
@PeeHaa I have some changes half finished locally. And I wanted to write a migrate tool from the old config, but I will probably just skip that.
 
@Jimbo saw it on YC... considering keybase basically fell under "crypto in the browser", didn't really bother to check it out
 
@Leigh crypto in the browser?
 
3:30 PM
\o/ home
 
@FlorianMargaine the initial keybase stuff was browser based crypto
 
@Leigh uh? never used that
I've always used it as "regroup your social network accounts under your gpg public key"
 
They also "invented" some "triplesec" thing (if I remember correctly)
@FlorianMargaine keybase.io/triplesec - I dunno, for some reason it bothers me slightly
 
$meta_value = base64_encode(serialize($meta_value));
Seriously just die already
Probably to prevent sqli...
                    $meta_value = base64_encode(serialize($meta_value));
                    $wpdb->query( "UPDATE $wpdb->postmeta
                            SET `meta_value` = '". addslashes($meta_value) ."'
                        WHERE `meta_key` = 'mfn-page-items'
                        AND `meta_id`= ". $meta_id ."
                    ");
 
Wes
504 Gateway Time-out
nginx/1.4.6 (Ubuntu)
wiki.php.net
 
3:40 PM
works for me
 
also, yeah, don't do browser crypto
 
hi guys, I followed this tutorial php-guru.in/2013/html-to-pdf-conversion-in-codeigniter on how to generate a pdf using php but I'm struggling to find out how to insert a form inside the pdf report.
 
triplesec: two block ciphers and a stream cipher walk into a bar
 
@ScottArciszewski at least they're using the keystreams correctly :D
 
lol yeah
the only thing they ballsed up was they wrote their own AES
which I hadn't had a chance to review thoroughly
 
3:43 PM
well we're all guilty of that.. right.. whistles
 
lol
I once wrote my own hash function, so..
 
I wrote my own AES in PHP because it was faster than mcrypt :/
 
true story
 
that's sad
 
3:46 PM
@Jimbo Signed up for the alpha. Hope someone reads my cringe note.
> Dees keys seem like the bees knees! I'd be pleased, appeased, to see an eased, teased, release of keybase. "Alas, I'm all rhymed out", I scout my queue number with doubt and pout. "I'll see you about!" I shout, stout near spout.
 
OpenSSL was still 10x faster though, but understandable if people don't have/want that installed
 
boo
 
benchmark vs sodium_aead_aes256gcm_encrypt() ;)
 
@ScottArciszewski first I'd have to commit myself to doing galois field maths using only 64 bit signed integers...
 
uh
I didn't mean write it in PHP :P
 
3:51 PM
AEAD_ChaCha20_Poly1305 was actually pretty easy to write in PHP
although I obviously need to disclaim against the algorithms still being constant time
 
4:08 PM
@Jimbo yah I should have added the "plays motorcycle games" category
 
4:43 PM
Eh? No... biker + play games
I don't really enjoy bike or car games tbh
Apart from Burnout Revenge, where the aim of one of the game modes was to drive your car into traffic at high speed and see how much of a crash you could cause... things blowing up, other ones piling in. Was good fun that!
 
me neither. lame joke that was a.
 
@JoeWatkins also a bad idea: good luck with finding replacement parts
 
@Jimbo So you never played Carmageddon back in the day?
I Suppose you also dislike Iron Maiden, you heathen!
 
Forgot completely about Carmageddon - I played the demo :P Iron Maiden are good
 
The original Carmageddon soundtrack was Iron Maiden... \m/
 
4:47 PM
Awesome, I didn't know that
 
oh apparently it was Carpocalypse Now... never mind, still, maiden!
 
Speaking of games, anyone cracked open XCOM2 yet?
 
@Sean Maybe Teresko has
He's the hardcore on FPS
 
I soo want to play I'm really close to just buy it, even if 80 bucks
 
5:02 PM
posted on February 05, 2016 by nlecointre

/* by ikurhai */

 
has something happened to laptop market?
or could the mess be just restricted to LV
a friend asked me to help her find a laptop around 500 euro pricepoint and the options are shit or worse
 
5:23 PM
Tablets replace cheap laptops^^
 
meh
 
@ScottArciszewski eiiiih .... This is just for replacing named arguments by question marks? Not sure what the issue here is?
 
@tereško Maybe garbage compared to the rest of the market but will it meet her needs?
 
the needs are basically "cheap gaming laptop"
 
Ah. "Gaming"
I guess that depends on what games, then.
 
5:37 PM
60h+ skyrim, 60h+ heroes 6, 20h deus ex:hr (and that's just the legal stuff on steam)
"proper games"
 
"h" is stand for what in this context? ^^
 
Honestly I would shoot for a processor with good integrated graphics like the Intel Skylake line.
 
hours
 
ah ok
Then OH !!
 
That's going to help keep the price low and free up money for SSD, etc.
A cursory glance says these games are playable with the integrated graphics chip.
 
5:40 PM
those also happen to be "played games"
when I asked about what exacly she want to play, the answer was xcom 2 and farcry 4
 
Well, for a laptop at around 500 euros… I don't know if she'll be able to play those games all that well.
Perhaps "playable" but not excellent performance.
 
yeah, I know
I am currently looking at Core i5-5200U + GeForce GT920M, but that might be too short, even on a 768p screen
 
:D
 
once you got kids, this is a totally feasible approach ;)
 
5:46 PM
I don't think the GT920M is much better than integrated graphics. I think it might be better to dump the money into a better processor and SSD.
 
@LeviMorrison that's exactly what I worry about
I have no idea how laptop GPUs stack up
@Gordon when you got kids, they have all the games since 2000 to experience
 
I can play League of Legends just fine on recent Intel integrated graphics.
 
yeah, well, only online game on her steam history is Warframe
 
That's about all the perspective I can give for real-world performance for them.
 
@tereško there is so many fantastic games before 2000
 
5:49 PM
@Andrea A question on the list_keys RFC: why are variables permitted for key names, again?
 
@Gordon true, but those older ones become too terrible to use. There was a major advancement in UI design around millennium
 
That wasn't in the original RFC but I missed the discussion of why it was added, I gues.
I actually still love Warcraft III but the UI is so clunky compared to newer games I just quit.
 
yeah
its not the graphics that age poorly
it's the UI
 
Ohai 11
 
If Blizzard released a refresh on Warcraft III that basically updates the UI I'd buy it.
 
5:52 PM
@LeviMorrison I don't think they can. They would loos more subscribers then they gain that way
 
the sound on the amiga was much better though
 
@Gordon Stop it asshole
 
@PeeHaa COC!
 
I've been playng prince of persia for too long this week already
 
:D
 
5:58 PM
/me playing IGI
 
if i say this: url:"basedados.php?access_token",
type: "GET",
 
lol dat moment when you can still do the first digger level blind :P
 
on my .php file can i do it like this to acess:
else
   {
		$verb = $_SERVER["REQUEST_METHOD"];


		if ($verb == $_GET["access_token"])
		{
 
We are very proud to announce the PSR+-04 coding standard, to make the lives of #PHP developers more painful. https://github.com/fig-php/PHP-FIG-PSRs/blob/master/PSR%2B-04.markdown
 
lol
The fack define has a $case_insensitive flag
god damnit
 
6:10 PM
@Andrea the amount of effort you have put into this makes it clear: you are a truly evil person
7
 
@tereško thank you :D
 
Taking lessons from INTERCAL.
How much effort would COME FROM take in PHP?
 
Anonymous
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: in `/usr/local/src/php-7.0.3':
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details
[root@samayo php-7.0.3]# tail config.log
#define HAVE_GD_XPM 1
#define HAVE_GD_FREETYPE 1
#define ENABLE_GD_TTF 1
#define HAVE_HASH_EXT 1
#define SIZEOF_SHORT 2
 
Anonymous
another day, another php error /fml
 
6:26 PM
@PeeHaa I'm a flag you for insults :D
 
:P
 
6:42 PM
@Charles not much
 
Horrifying.
 
@Gordon it's not the best example, yeah, I should've made a better one. that function is improved more by the future scope suggestion
@Gordon how so?
@NorthbornDesign it's been suggested, but one step at a time...
 
6:57 PM
Can anyone help me with item out of the first item(0)? Data is from curl so can't format it from source - anyone with good ideas? codepad.org/PJace71d
 
ASP detected: ctl00$content$newsView$ctl08$ImageButton1
 
I know, but using php to parse it ;0)
Trying to catch the input field, no dice yet
 

« first day (1938 days earlier)      last day (3010 days later) »