« first day (2324 days earlier)      last day (2610 days later) » 
00:00 - 16:0016:00 - 23:00

12:23 AM
why will composer, when presented with requirement like "php": "5.6 - 7.1", will still install versions of the other requirements that have a only php7 requirement?
 
Wes
12:36 AM
didn't know that version syntax was possible. what does that mean?
also hi \o
 
yo o/
it's a range version.. apparently. or so says the doc, a bit
but I took the easy way out and dropped 5.6
 
Wes
composer's documentation confuses me
 
Wes
1:04 AM
ended up reading other things about it... basically i know nothing about composer :B
someone should write a reference, too much text gets confusing
like the version part, should be tabular data. would be much simpler to understand
also i'm unsure about the use cases of many of the options available
 
Anyone know of a good database designing tool? Just design no manipulation
 
Wes
@LeviMorrison it's back (latest eap)
Feb 21 at 7:04, by Wes
i like that phpstorm is very actively developed, but for each new added feature they accidentally kill another one :B
> Illegal array key type MyObject less... (Ctrl+F1)
Arrays and objects can not be used as array keys.
but it's not an array, it's a class implementing arrayaccess :B
 
@FélixGagnon-Grenier "that have a only php7 requirement" - why do you think that's a problem?
 
Wes
hey Ray \o
 
sup.
 
can anyone tell me why I cannot send email?
I'm on a live domain
 
press send
 
1:38 AM
seemingly the email script is correct but for some strange reason it fails to be delivered
 
1:54 AM
@Danack well, I expected that a package marked as requiring php 5.6 inclusive to 7.1 would refuse a hard dependency on php7. One of the requirement of the first package (5.6) is not respected by the second (7.0)
I might not understand correctly what 5.6 - 7.1 really means though, or the premises of respecting conditions
Sorry if I posted that the times, my phone did a strange thing
 
@FélixGagnon-Grenier "marked as requiring php 5.6 inclusive to 7.1" - it doesn't mean that the software will run on all versions of PHP from 5.6 to 7.1, it means that it will on any version from that range. So, as long as there is a solution to finding all the packages for the current version of PHP, it will be fine.
 
@Danack Hmm. Yeah, that makes sense. The scenario is I was trying to use travis ci to test the build on 5.6, 7.0 and 7.1. since the composer install was done on a 7.0 machine, it locked phpunit at 6.0.7 (which requires php 7.0). Which, in turn, made the build fail on 5.6, because composer would not install, however the package itself might very well have passed the tests on a php 5.6 fresh install with a compatible version of phpunit
I kind naively assumed composer would not lock a file that would fail on one of the targeted php versions
 
2:10 AM
I guess you could just do a composer update on those different versions, as well as do a composer install on the 7.1 version or whatever you develop against.
 
2:41 AM
@Danack Yes, you are right, that would be the way to go. However, I realize that I might be in a place where I need to actually remove the lock file from the repository. Either install or update will first verify if the lock file exists. If said lockfile was created against >7, composer update or install on 5.6 will fail, as dependencies are already needing php7.
unless there is a command of flag that can be added to composer that expressively tells it to ignore and recreate the lock file from nothing
 
> If said lockfile was created against >7, composer update or install on 5.6 will fail
@FélixGagnon-Grenier I've not seen that. Composer update shouldn't read the lock file at all.
 
@Danack well, it appears it does? pastebin.com/PZLwGGnZ this is the log from travis, I assume it builds in a clean environment.
unless, phpunit just dropped packagist for 5.6?
 
@FélixGagnon-Grenier can you link the composer.json of the project?
 
@Danack oh. oh.... oh. ok wait
phpunit is hardcoded at a version in the composer.json...
sorry... trying right now, that is probably why it would want to install that. duh.
hmmm... which also means that I have to use phpunit 5.6 (PHPUnit_Framework_TestCase) for tests in any project that need to support php 5.6, otherwise the 5.6 version will crash when presented with the new phpunit classes (PHPUnit\Framework\TestCase)
and vice versa...
 
@FélixGagnon-Grenier I guess, though if they behave the same maybe you could use class_alias.
Or just drop PHP 5.x support.
 
Wes
i wonder how many are going back to mexico convinced it's actually better than the us right now :P
 
3:53 AM
@Andrea I will peek at what is serving the fonts but if it's apache I'm not sure it's something I can fix.
 
Wes
4:26 AM
\o
 
o/
 
[ Sat, 25 Feb 2017 04:31:36 ] Accepted Connection 127.0.0.1:60516
zend_mm_heap corrupted
gawd
halp me!!
 
Wes
@LeviMorrison what are my options for ordered hash maps? i keep reading that linked lists should be avoided because cpus can't cache their contiguous values properly. i think php uses two arrays now, but i have no idea how that technique is called
/me just killed linkedhashmap. one of the few things i did that worked :B
 
4:44 AM
gggrr
 
morning
happy caturday
 
@PaulCrovella oh hullo there kitty, mind if I scratch you behind the ear?
 
5:07 AM
@JoeWatkins ping
 
pong pogety pong
 
:P
 
btw @Linus, how's the new job going?
 
5:22 AM
@FélixGagnon-Grenier awsome :P need to work on saturday and sundays as well ..
 
ugh... Hard stuff..!
they make you work 7 days a week?
 
yeah
we are in starting phase and we are only two developer here
 
hmmm... ok. is that temporary?
oh I see
 
actually after march i can also enjoy weekends as well :)
 
even then... it's good, from time to time, to not work for a few fays, be it only to refresh one's mind :)
 
5:24 AM
yeah
 
cool :)
how big is the team, apart from you two developers?
 
all over 10 people 2 develpers including and other marketing and sales people
that's pretty samall isn't :P
 
@Andrea That's under control of apache :/
 
6:18 AM
posted on February 25, 2017

New Cyanide and Happiness Comic

 
7:06 AM
@DejanMarjanovic just tell me what to write :)
@Saitama pong
 
@JoeWatkins "please let @Dejan in for sexy times"
 
umm, yeah... I am always getting a zend_mm_heap corrupted when trying to submit a work to a pool...
wait lemme create a gist
 
mornin
 
'nin
 
7:09 AM
\o
 
\o/
 
o/
 
\o
 
best destop sharing application?
 
7:17 AM
@SalOrozco what platform?
 
Windows
 
both sides?
 
both sides?
 
both ends
 
both sides ?
 
7:18 AM
hum
 
Windows to Windows?
 
oh
Windows to Mac
 
oh
er
sharing the windows screen or the mac screen
 
sharing the mac screen
 
or going both ways?
 
7:19 AM
teamviewer
 
mac sharing his screen
How much is teamviewer you know
 
there is a free version
but
there is also built in vnc sharing
which works a lot fucking better
because team viewer can't cope with user logouts
 
why would it need too ?
 
if the task you're trying to achieve involves switching users
or even just logging out and back in
 
wouldn't you ask a mac user for help with that ?
meh, the only thing I've ever got to work cross platform is teamviewer
 
7:22 AM
huh
if you're remoting in, i assume there is no person in front of it, or they need your help
its pretty crappy remote control if you can't actually control it
@SalOrozco can you describe your problem a little more
 
screen share doesn't imply remote desktop to me, it implies you want someone to see what you're doing on your screen ...
 
Tutoring someone
So he is sharing his screen
 
and he will drive, or you drive?
 
tv can let you take control, I've controlled a mac from ubuntu before
 
ok so basically, team viewer should IMO be considered the absolute last resort. from a security point of view, its a fucking nightmare
 
7:24 AM
what are you talking about ?
 
lol
 
"no, there was no breach"
"oh, that breach.. yeah.. um.. shit."
 
you just found that a minute ago
 
i looked up urls for it, because i don't bookmark every fucking security nightmare i read about
i read about it at the time
as i said
it should be considered last resort
 
7:27 AM
now search for vnc hacks, then rdp
 
VNC hacks can be mitigated on your part
you can put firewall and/or password changes in place
you have no control over those aspects with TV
 
have you actually used it ?
 
teamviewer?
 
yes
 
yes
 
7:28 AM
funny that you didn't open with alleged security risks
 
as i said, i've used it when no other option was possible, due to network issues.
funny how you just jumped to a single, known security cluster fuck
without any clue about what he wants to do
notice how I actually asked some questions about what he wants to do
 
read again, I waited to see what operating systems were being used ...
like I said, the only thing I've ever got to work cross platform is tv
 
and like I said, it should be considered a last resort
it's security and functionality are both terrible, compared to other available tools
the only thing it does better, is traversing difficult network conditions, because both ends phone home to the TV service
which is part of why its a security danger.
 
7:47 AM
github.com/SaitamaSama/memeserver/blob/master/lib/Core/… - that is where a new Work is started, and I start it from here
 
that's not a gist
 
umm... I couldn't sandbox it...
wait... gimme some moar moments
 
you are using resources
 
yeap
 
that's going to be the problem
don't use resources, they are unsupported
 
7:52 AM
so, how about the \Socket thing you were developing?
 
yes, use that
 
k, got it ^^ btw is it documented somewhere?
 
it isn't yet
you can use cli reflection to look at api though, it's pretty much same as any socket api
 
alright!
 
Hello guys
 
8:02 AM
this is the actual file, right? github.com/krakjoe/pthreads/blob/…
 
Can anyone help me solve my issue.. stackoverflow.com/questions/42443509/…
 
have you tried debugging your code?
 
I am getting this error:
Parse error: syntax error, unexpected '$mail' (T_VARIABLE), expecting function (T_FUNCTION) in /home/hostbig/public_html/test/mail.php on line 9
I have declared $mail function just after starting class
Still its showing error
 
apart from the fact that your code is totally flawed, you should just set mail as a property in the class
and access it from inside the methods
 
I did same
what you saying
Still not able to understand whats the issue
<?php
// Include the PHPMailer class
include('PHPMailer/class.phpmailer.php');
require_once 'PHPMailer/PHPMailerAutoload.php';

class email {

// Setup PHPMailer
$mail = new PHPMailer();

public function getmailauth(){
$mail is defined inside class
but methods still not able to access it
On line: $mail = new PHPMailer();
Its giving error:
Parse error: syntax error, unexpected '$mail' (T_VARIABLE), expecting function (T_FUNCTION)
 
8:09 AM
$mail = new PHPMailer(); - this line is wrong
 
What is the correct line then?
 
@Saitama right ... php --rc Socket will show reflection info ...
 
It worked! :D
Thanks @Saitama!
One more small issue
I have 2 methods in total
public function getmailauth()
It contains all the smtp configurations
and
I am using one more method to send mail
function sendwelcomemail($username,$password,$to){
getmailauth();
But its showing undefined method getmailauth(); in sendwelcomemail method
How do i make getmailauth global so all methods can access it?
 
morning Wes
 
Wes
\o
 
o/
 
@Trowski Strongly against that.
 
9:11 AM
<?php
$socket = new \Socket(Socket::AF_INET, Socket::SOCK_STREAM, Socket::SOL_TCP);
$socket->bind("0.0.0.0", 9999);
while (true) {
	$socket->listen(5);

	if($client = $socket->accept()) {
		var_dump($client->read(4096));
	}
}
\o/
 
or just this one liner on the shell: socket -B 0.0.0.0 -sl 9999 ;)
 
well, I just wanted to know how to use that \Socket from pthreads :D
 
is there a way to find out when a package was installed using composer ?
 
helo guys gd afternoon
I am loading a css file to web page but it has no affect at all. And thing is when I loaded the same css file from some other server it works fine. I don't actually understand why its not working when loaded from the same server?
Anyone any idea why
 
10:06 AM
inspect the network tab and make sure its actually loaded
 
10:39 AM
o/
 
11:14 AM
morngin
 
yo
 
!!should I get a haircut now or wake up doing twitter api stuff
 
You should wake up doing twitter api stuff.
 
k
 
mornin
 
11:20 AM
o/
 
\o
I'm thinking of using nikic/php-parser to traverse PHP code and generate C code and compile in form of extension, is it a good idea at all?
 
For what purpose?
 
IIRC @ircmaxell already did something like thta
 
Building PHP extensions in PHP?
 
Turn my code into compiled one which cannot be restored|deserialized|decompiled into source code again
Also build ext in PHP
Implementing ext in PHP could replace creating polyfill libs
 
11:26 AM
You're implying that decompiling is impossible
 
@MadaraUchiha Not exactly, it'll be harder for normal users and you won't get original code so easy
 
Meh, people are too worried about code theft these days
I work in JS a lot, I know.
If someone steals your code, you just sue them, in most cases, case closed.
 
Hi all
 
@brzuchal Part of userland polyfills is so that people don't have to install an ext
 
Thats because there are no ZendGuard or any other encoders for PHP7
 
11:28 AM
I am working on a static site. where I have a requirement to redirect "localhost/site" to "localhost/site/xyz"
How can I do this?
 
@PeeHaa I was going to say, if I had ext code in PHP and possibility to compile it into C exxtension from that PHP, then I'll be maintaining only one codebase
@Mr_Green Use Location header
 
I personally see the usefulness of being able to compile userland code into c, bt not for the reaons you mentioned
 
ANd purpose code 301 or 302
 
Doesn't phalcon already does that btw?
 
@PeeHaa Okay, so what would be additional benefits ?
 
11:31 AM
@Mr_Green JS: if(window.location.pathname == '/site') { window.location = '/site/xyz'; }
 
@PeeHaa They are compiling Zephir lang AFAIK
 
Yeah
 
@Saitama ah that's easy
thanks
 
:)
 
@brzuchal The one thing I can think of is performance
 
11:32 AM
oh wait.. I don't have any index.html in site folder
 
Oh yes it is
 
so can't do it with javascript
 
The other thing I can think of is "you don't have to write c"
 
Yes, there might be more people going to write extensions right?
 
@Saitama I think the only option left is .htaccess..
I tried doing like this, which isn't working.
RewriteEngine On
RewriteRule ^\/$ \/xyz\/ [QSA,L]
 
11:34 AM
@PeeHaa so it would be possible and have some benefits, so it might be worth to invest some time
 
I dunno 'bout htaccess... maybe someone else can help?
 
ok..
any redirecting expert here?
 
Look for an htaccess online generator
 
@marcio ResultSet::fetch()?
@Trowski please only when we're about to release amp v2.
 
12:00 PM
@brzuchal if you know assembly, everything is open source
 
12:11 PM
@littlepootis Yes, but it's not an easy way of restoring source code right?
Also we've talked this would have benefits like performance and just simply writing extensions to PHP in PHP
 
12:33 PM
heads up @iroegbu not sure if you want to merge this back in in the future. But I don't really care about phpdoc for 7+
Also @DaveRandom can I haz async twitter on lxr pleeease
 
1:31 PM
Hi! I recently came to a point where I try to shrink (or add) code in my ext regards ZTS support. Do you people use zts in you work/pet projects and what are particular needs for zts build in general (not counting pthreads)?
 
@pinepain The only people that would ever need a thread safe VM (besides those using pthreads) would be the Windows guys (where forking is not possible).
And... well... who cares about Windows
 
yeah, except windows and pthread (my ext doesn't support windows at this time anyway)
 
I posit there is never a need for a threaded VM on linux. Parallel code is so much harder to write, think about, and debug compared to concurrent solutions.
 
<?php
	error_reporting(-1);<?php
	error_reporting(-1);
	ini_set('display_errors', 'On');

	if($_SERVER["REQUEST_METHOD"]== "POST"){
	// Fetching Values from URL.
	$name = $_POST['sender'];
	$email = strip_tags(htmlspecialchars($_POST['email']));
	$phone = strip_tags(htmlspecialchars($_POST['phone']));
	$message = strip_tags(htmlspecialchars($_POST['message']));
	$to = "marcomarturano@libero.it";
	$to = filter_var($to, FILTER_SANITIZE_EMAIl);
	$email = filter_var($email, FILTER_SANITIZE_EMAIL); // Sanitizing E-mail.
please can anyone check this out?
 
@Sherif (I hope Joe won't see this) that's true
 
1:42 PM
I cannot send email and I'd like to know if it is wrong the php script
I'm really stuck in understanding what's going onù
I'm testing this script on a live domain
 
for me the question is how bad it would be to just say 'no' to zts folks or pretending that my ext is zts. and the ext is about embedding v8 into php and providing rich api to it
 
@pinepain I mean.. why should I have to think twice as hard just to end up with the same result? Maybe in a language like Go where threading is easier to deal with, but in PHP... meh
 
sorry for the pasting I pasted it twice
 
@pinepain I think it's safe to assume those that require thread safe extensions are in the minority.
Unless you're using Apache or IIs on Windows, you probably never have a need for thread safety at all.
 
2:03 PM
@pinepain I think the correct attitude would be, until someone who needs ZTS support is willing to provide a significant amount of time or cashmoney, to help it get done, just forget ZTS support.
 
2:42 PM
Heads up. feedr may be throwing in a lot of releases in a couple of minutes
 
posted on January 23, 2017 by PeeHaa

Fixed cleverbot endpoint

posted on January 25, 2017 by kelunik

- Fix custom name server parsing

posted on February 03, 2017 by nikic

### Fixed * In `"$foo[0]"` the `0` is now parsed as an `LNumber` rather than `String`. (#325) * Ensure integers and floats are always pretty printed preserving semantics, even if the particular value can only be manually constructed. * Throw a `...

posted on February 05, 2017 by nikic

* Added support for [route groups](https://github.com/nikic/FastRoute#route-groups). * Made some `RouteCollector` properties protected instead of private.

posted on February 06, 2017 by kelunik

- Search for DhcpNameServer in interfaces on Windows - Automatically convert IPs to ARPA domain for (PTR) lookups

posted on February 07, 2017 by bwoebi

amphp/aerys v0.4.5

posted on February 10, 2017 by nikic

### Fixed * Fixed some extensibility issues in pretty printer (`pUseType()` is now public and `pPrec()` calls into `p()`, instead of directly dispatching to the type-specific printing method). * Fixed notice in `bin/php-parse` script. ### Adde...

posted on February 22, 2017 by PeeHaa

Implemented the official cleverbot API

 
@PeeHaa ya don't say
 
Yeah sorry :( I suck at coding
 
3:00 PM
what happened anyway? borked feeds?
 
@LeviMorrison removed a repo and of course I don't do error checking so the entire retrieval fails on a single 404
 
3:13 PM
Things I should already know the answer to, when you have something like:
config.vm.provider :virtualbox do |vb|
    vb.memory = 2048
    vb.cpus = 1
end
in a vagrant file, what is vb actually set to?
Is it correct to say - it's a parameter to a function defined by the block?
 
3:28 PM
...
 
when I using vagrant, I thought it was using some DSL
 
hi
can anybody help me with git
i push it well but it doesn't implement on my server folder
3
you know i created a folder on the server and then with git init --bare
and on the local i greate git init
and then i add the server address to the configuration by git remote add ...
and then git push
it says that all file send to the server
but when i see the server there is no file there
 
It's a bare repo
 
yes
 
it doesn't have files / directories in that sense
 
3:36 PM
on the server
 
because well... bare
 
so where the file gone
 
In the "database"
 
i can not get u
 
Look up the internet what a bare repo does first
 
3:38 PM
i supposed to have a copy of my file that is my local machine on the server
 
@AndroidDev Git saves things in two main places
In the "database" or "repo", and in the "working directory"
 
I found the most glorious thing on the internet today!
 
40 secs ago, by PeeHaa
Look up the internet what a bare repo does first
Stop guessing
 
The "repo" contains all the commits, diffs, branches, etc.
The "working directory" is the actual files.
A bare repo has no working directory, to save space.
 
3:39 PM
does github does this ?
 
Github has their own git backend
 
@PeeHaa Although I'm fairly sure they don't have a working directory.
On their repos.
 
IIRC they have their own implementation
It's nothing like a traditional repo
 
i made another folder on the server and did git init on it
 
3:41 PM
Which is not that weird considering their scale :P
 
and then when i wanted to push in it
i got this errors
remote: error: refusing to update checked out branch: refs/heads/master
remote: error: By default, updating the current branch in a non-bare repository
remote: error: is denied, because it will make the index and work tree inconsistent
remote: error: with what you pushed, and will require 'git reset --hard' to match
remote: error: the work tree to HEAD.
common this folder isn't bare
why i can not push in it
 
@AndroidDev listen to the people who you've asked to help you
 
I did
i did a several ways in this case
 
cool, so explain what a bare repo is and its purpose
 
what circumstances are you operating under to not use a git host ? or install something like gogs..
 
3:45 PM
you know i followed this tutorial
 
@AndroidDev I don't care what tutorial you followed. If you've listened to the people trying to help you then you've gone and studied what a bare repo is. So explain what you've learned.
 
@PeeHaa ?
 
@LeviMorrison You broke feedr :P
 
Well... ahum... I don't do any error checking and you deleted a repo
:P
 
3:51 PM
... lmao
 
:D
 
Deleting a repo breaks it? You... um... okay
 
Totally blaming you
:P
 
it was a team effort
 
I'm having `config.m4` which generates empty all_targets in Makefile after `./configure` on extension and don't know why?

PHP_ARG_ENABLE(FOO, whether to enable foo extension support,
[--enable-foo Enable foo extension support])

if test $PHP_FOO != "no"; then
AC_DEFINE(HAVE_FOO, 1, [foo])
PHP_NEW_EXTENSION(foo, php_foo.c, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
fi
 
3:52 PM
hehehehe
 
Is there something wrong with this config.m4? Is there something else to be set up building an ext before ./configure ?
 
I i read @PaulCrovella about bare repository but i got confused. it just keep a track of project and don't have any copy
 
just released github.com/vamsiikrishna/composer-tools ,, really wanted to learn how to create a phar extn .. would appreciate any feedback .. - Thanks !
 
Ok, fixed this
 
@Vamsi Start writing tests please :-)
 
00:00 - 16:0016:00 - 23:00

« first day (2324 days earlier)      last day (2610 days later) »