by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 21 2018 04:00
    sagebind closed #8
  • Sep 21 2018 04:00
    sagebind closed #7
  • Mar 20 2018 13:46
    henrywood edited #25
  • Mar 20 2018 13:45
    henrywood edited #25
  • Mar 20 2018 13:44
    henrywood opened #25
  • May 17 2017 09:57
    pentatonicfunk commented #21
  • May 17 2017 09:56
    pentatonicfunk commented #21
  • May 17 2017 08:11
    pentatonicfunk edited #21
  • May 17 2017 08:10
    pentatonicfunk opened #21
  • May 06 2017 13:13
    pentatonicfunk opened #14
  • Mar 17 2017 01:54
    trowski closed #17
  • Mar 17 2017 01:53

    trowski on master

    Deprecation notice (compare)

  • Feb 24 2017 21:17

    trowski on master

    Deprecation notice (compare)

  • Feb 24 2017 21:07

    trowski on master

    Deprecation notice (compare)

  • Dec 10 2016 00:53
    tak3r opened #5
  • Nov 29 2016 08:28
    lhfeng edited #6
  • Nov 29 2016 08:26
    lhfeng opened #6
  • Nov 23 2016 21:58
    lukaszwit commented #23
  • Nov 23 2016 21:58
    lukaszwit commented #23
  • Nov 23 2016 21:54
    lukaszwit commented #23
chris
@parweb
pff ^^
my goal it's to "refactor" the javascript librairie https://github.com/facebook/dataloader in PHP
i have done allmost all the work but now i try execute againts the test suite provided by facebook for the JS but nothing seems to work accordingly :'(
so first question do you now a PHP librairie who works good with icicle if it's possible (2 day of hard work but love it ;)
Pavel Chebotarev
@nexor

a PHP librairie who works good with icicle if it's possible

Hi! Please explain, what kind of library are you looking for?

chris
@parweb
@nexor like this one https://github.com/facebook/dataloader in PHP with icicle
Pavel Chebotarev
@nexor
Not sure if it exists in PHP
chris
@parweb
@nexor soon it will, i almost finish
angel herrera sara
@gelsher_twitter
Hi all! I have a question. Why do I get this error "syntax error, unexpected '{', expecting identifier (T_STRING)" on this script "use Icicle\Http\Message{BasicResponse, Request, Response};"? Moreover I am using php v5.5.12, "icicleio/icicle": "^0.9.6",
"icicleio/http": "^0.3.0".
angel herrera sara
@gelsher_twitter
The example is from https://github.com/icicleio/http
Pavel Chebotarev
@nexor
use Icicle\Http\Message{BasicResponse, Request, Response}; does not work on php 5.5, only on 7. You need to checkout icicle for php 5.5
lukaszwit
@lukaszwit
Quick question: is there any way to use icicleio/http with HTTP2 ?
Pavel Chebotarev
@nexor
@trowski Noticed comment https://github.com/icicleio/http/issues/23#issuecomment-262422954 Do you recommend to migrate to amphp from icicle, or icicleio will be supported in future?
Patrik
@birdspider
hi, neither icicle nor phpreact have had much git activity in the last 12 month and thats fine by me. Has development just slowed down/stablized or am I just unable to find the other 3rd lib/alternative/hotstuff framework ?
Greg Beaven
@dotstormz
Am I able to use icicle like socket.io and broadcast to a channel where other clients can read a message? Not sure which classes to look at the achieve this as all example are really low level. If you point me in the right direction it would be greatly appreciated
Vbigen
@Vbigen

Hi, I posted my PHP source and questions here, please help me:

http://pastebin.com/L9qbR2bv

I want to make a job/task manager based on icicleio. I just need to handle how many job/task run in same time. Start a new task if the any task finished. Exec new php is ok and I want this, because of memory usage and independent tasks. Just need to detect when ended and start a new one. Please help about this, I can make it maybe in dirty, not so nice solution, with file locks, etc, but maybe had nicer solution. Thank you.

The second thing is the communication with job/task.
I had input arrays (eash arrays for each job), and I want to collect the output arrays. After all done, process all output arrays.
Posted example is broken, not working in PHP 7.1:

https://icicle.io/docs/manual/concurrency/#synchronization-with-parcels

PHP Fatal error: Class 'Threaded' not found in vendor/icicleio/concurrent/src/Threading/Internal/Mutex.php on line 10

Thanks!

Aaron Piotrowski
@trowski
@/all Icicle is now deprecated in favor of Amp v2.
I am a major contributor to Amp v2. The API has many similarities to Icicle, so migrating any existing Icicle code to Amp v2.0 should be straightforward.
Nathan Lincoln
@NLincoln
certs are broken :)
henrywood
@henrywood

Can anyone share an example of getting the full POST data into a variable - from a MemoryStream - I am using http + icicleio

I am using code such as
$stream = $request->getBody();
$generator = function ($stream) {
if (! $stream->isReadable()) {
return;
}
$data = (yield $stream->read());
};

$coroutine = new Coroutine($generator($stream));
$fullBody = $coroutine->wait();
echo $fullBody;

This typically only returns around 500-2000 bytes of the post body ? Please help

My Dev
@MyDev18_twitter
Hello everybuddy
Anybuddy can help me with a quesiton?
Mads Ovesen
@madshov_twitter
Hi All,
Does anyone have a working example of how to create a TCP socket client and send and receive data through it? I'm struggling a bit with this library. Thanks
Aaron Piotrowski
@trowski
@madshov_twitter You should use Amp instead, https://amphp.org.
Icicle has been deprecated in favor of Amp.
Azri Bilel
@azribilel

Hello
i use Coroutine with Closure like the documentation but she need a instance of Generator
i guess there's problem in the documentation in github

ERROR:

Type error: Argument 1 passed to Icicle\Coroutine\Coroutine::__construct() must be an instance of Generator