« first day (2612 days earlier)      last day (2327 days later) » 
00:00 - 23:0023:00 - 00:00

Wes
12:18 AM
 
12:56 AM
@DaveRandom Hero
 
 
2 hours later…
Wes
2:32 AM
 
3:31 AM
good morning
 
 
1 hour later…
4:57 AM
mornin
 
 
3 hours later…
7:34 AM
ohayou
 
Anonymous
@Wes is that show any good?
 
Anonymous
There is too much hype on reddit
 
8:02 AM
Morning
@samayo It is quite good, very well written, good cgi and that 60s scene, its amazing.
 
Anonymous
8:14 AM
thanks
 
M-J
8:39 AM
php quotations around string variable
Hi
I have a question
I can't tell off the situations in which I have to add quotations around a string variable and the times that I shouldn't.
For example:
$name='Samantha';
..................
define("_HELLO_NAME","Hello".$name);
Vs
$_SESSION['name']='$name';
Look how $name is surrounded in the second code and not surrounded in the first one.
 
Anonymous
9:40 AM
second example is wrong
 
Anonymous
remove the quotes if you want to assign the value of $name to $_SESSION['name']
 
M-J
9:53 AM
Sorry my question was wrong.
 
Anonymous
@tereško too late, you are a racist now :p
 
Anonymous
 
:D
 
M-J
I wanted to ask why we need quotations around a php string variable inside a query. I think the answer is that when PHP is parsed, the php string variable is no more a php string variable and is converted into plain text and sent to the server. I don't know... :(
 
you should use single-quote strings by default
 
M-J
9:57 AM
By default of the SQL?
 
and only use double-quoted ones, when you need variable interpolation ... makes for easier maintenance also
@M-J how is it related to SQL ?
 
M-J
$result = $connection -> query("SELECT * FROM a_table WHERE name='$name' ");
I'm asking about this one indeed. :|
@tereško No that's not my question. Please look at the code I just sent.
 
@M-J it has nothing to do with the query( call
double qoutes " allow for interpolation
 
@M-J you are doing queries wrong. This is how you end up with SQL injections.
 
so you can do "Hello $name"
but you cant do 'Hello $name';
 
M-J
10:02 AM
So why quotations are necessary around $name?
 
@M-J because a sql statement cant look like
 
4 messages moved to Trash
 
"SELECT * FROM Foo WHERE name = joe"
is wrong
it must be 'joe' or it will look to joe as a sql keyword or column
 
@M-J you should probably read this: phpdelusions.net/pdo
 
really it should be "SELECT * FROM Foo WHERE name = 'joe'"
and on a much more serious note, you should do as @tereško says
 
10:04 AM
^ good rule of thumb
 
M-J
@tereško You mean it's not secure ?
@tereško I will now.
 
@samayo it's quite hard to be one in my country. We are basically living an "identitarian dream" here (ask @Fabor, he visited recently) . To grow genuine racists, you need to have both stereotypes AND racial friction.
 
Anonymous
what's identitariandream?
 
@samayo people who promote "white etho-state" ... but are very evasive, when someone starts asking about "how".
basically, the far-right group of people in the far-right
 
Anonymous
stereotypes is enough in many cases to be one.
 
10:15 AM
dunno ... then ones regarding blacks, that we have here, would only result on one having better chances at getting laid
otherwise, people have no opinions
 
Anonymous
That is an exaggeration on another level.
 
you get more stereotypes about drunk swedes here
 
Anonymous
I have some vacation time of 1 month and was planing to tour EU. The first thing I would do is to cross off all Balkan countries.
 
Anonymous
Vacation time should be about enjoying every possible minute of it. I don't know why some people go to places that are not very friendly and comeback to tell some sob stories about how they were treated with disrespect...
 
Anonymous
i have a feeling Romania would be nice though
 
10:25 AM
yeah, Rumania might be nice .. and cheap
 
10:57 AM
@samayo 1 month vacation? What's going on?
 
@Shafizadeh he works in Switzerland
 
@tereško does it mean Switzerland companies give vacations for 1 month?
 
I think all rich Europian countries do
 
@tereško and they work all the week? I mean there isn't any vacation in the year except that 1 month?
 
they work for 5 days a week
well. according to official statistics, they work on average 35h per week (I suspect that developers actually work more than average hours)
 
11:08 AM
So they are either too lazy or very luxurious
 
Most software companies provide 20-30 annual vacation days.
 
@Shafizadeh you might find this interesting (and a bit depressing): money.cnn.com/gallery/news/economy/2013/07/10/…
@mega6382 yes, but in Latvia you are usually encouraged to only take them two-weeks a the time
 
Anonymous
@Shafizadeh yeah, and some people get paid 10k per month also
 
Anonymous
I actually work 50+ hours a week, but only because I wan't to help my boss get his business up asap
 
11:36 AM
@Shafizadeh most give 5 weeks
(to programmers ^^)
 
I guess I have to travel to Europa ...
 
@samayo interrail/eurail is awesome if you want to travel through a couple of countries
 
Anonymous
@Patrick Yeah. I found out about that last year. I think it's better than taking a car if you are alone specially
 
I went with 2 friends for 3 weeks. Had a great time
The long train rides might be a little boring alone though (but same with the car and on the train you can at least do something)
 
@NikiC @bwoebi If anybody got time: travis-ci.org/amphp/artax/jobs/314279132 segfaults with either phpdbg or xdebug, but doesn't segfault without both. It's somewhere in _zend_hash_add_new.
 
11:50 AM
pdo sqlite is not compiled with SQLITE_ENABLE_FTS3_PARENTHESIS – #75662
 
12:15 PM
I am trying to learn Haskell, I find it to be quite fascinating.
I just wanted, if someone could please recommend me some program that I should make with it, because such practical uses makes it easier to learn.
 
@tereško Don't you have any intent to travel to another country?
 
not right now
 
So, please can any of you recommend something?
 
build a web server
 
@mega6382 That's the biggest issue with haskell, finding practical use cases. :P
 
Wes
12:20 PM
build a better programming language with it @mega6382
 
user1804599
That's bullshit. You can make anything you want with Haskell. It poses no additional challenges.
 
user1804599
At my job we use it for proxying, job scheduling, and user notifications.
 
Wes
i don't remember who rightfold is :B are you on internals, right?
we are just joking though
 
@Wes lol
@SaitamaSama That'll be interesting but might be too much work, for beginning.
 
Wes
snow has arrived, and it's plenty already
 
12:24 PM
:B
 
Wes
damn i need to go buy some groceries lol
 
@kelunik I was just reading, how Haskell is powerful like C or Java, with Python ease of use but faster than Python and especially the "lazy evaluation", so thought some kind of practical use case on those lines.
 
I've never written a useful program with Haskell, but I wanted to look into Haxl, which Facebook uses to fight spam.
 
o/
 
12:40 PM
\o
 
Wes
12:56 PM
checkmark: artisan
everybody should have that rofl
 
Do they give some credit to symfony too?
 
Wes
nop
 
that's so mean,they are only famous due their marketing strategy.
 
Wes
1:19 PM
they are famous because they sell easy to use code in exchange of flexibility
 
1:42 PM
@Wes have you finally been sent to the reeducation camp?
 
Wes
✖ Artisan
#1 Artisan

Laravel generates code using a built-in tool called Artisan. Since developers have to mostly interact with Laravel using a command line, Artisan is a great advantage as it rids the need of performing repetitive and tedious programming tasks manually. Artisan allows developers to generate controllers, model, etc.
ah it's an actual thing lol
 
yeah, it's their scaffolding tool
ya know, as in any other rapid prototyping framework
... ya know, those things that you use to make a quick proof of concept, before getting a financial backing and deleting the entire thing to start from scratch with an actual architecture
 
Wes
lol
i call that "paper"
 
2:11 PM
@Wes ROR have a similar thing for generating models and controllers etc.
 
Wes
i have no idea what that is and i don't want to know :P
 
lol :P
 
3:12 PM
@Wes have you moved to the uk?
Current conditions on #M5 junctions 2 to 1. Seriously peeps if you don't need to go out today stay at home & enjoy a nice sunday lunch & build a snowman ☃️🍗☃️ or stay in bed!! we wish that's where we were!!!
 
Wes
that's good weather for us :B
but it is actually melting now
driving a car in the snow is the best fun :B it's an adventure :B
i used to have a 4wd car, that was so fun
 
Hello fellow humans
I need some help using include() to import HTML into another HTML document...
having a specific <div id="specific></div> in both files, I want the content of the "imported" div, to appear in the main one; while it creates both divs next to each other instead. Is there a way to achieve that?
 
3:55 PM
@Wes rearwheel drive and snow fun++ :)
 
Wes
eh, not really
front engine and rwd is terrible on snow
my car has (so they say) 50 50 weight distribution and sucks on snow, and imagine a bmw with the massive engine at the front and no weight to push drive wheels on the road
 
Exactly!
Fuun \o/
 
Wes
lol not what i intended
 
:P
 
4:21 PM
lol
It is especially fuun when the snow is melting and there's a layer of ice all over the road. :P
 
4:45 PM
file_get_contents() fatal error by php:// wrapper – #75663
 
Any PHP + Windows users here? /cc @PeeHaa Could you run the amphp/parallel test suite locally and see if you have any issues?
 
@Wes is a windows user iirc
ping @Wes
@Wes might be able to help you
 
Wes
yes, one ping was sufficient
 
:P (/me tries to annoy people)
 
Wes
@kelunik give me a sec. php 7.2?
 
4:56 PM
@Wes 7.0-7.2 if possible. :P
 
Wes
amphp/parallel suggests installing ext-pthreads (Required for thread contexts)
do i need this?
dunno why i required it. cloning now... just wait about 45 minutes so that sourcetree starts lol
 
@Wes no
 
Wes
installin
 
@Wes @kelunik Maybe I should remove this recommendation?
 
Wes
should i try phpdbg?
 
5:07 PM
@Wes Sure
@Wes Looks like it hangs for you in the same place it is on appveyor.
@Danack Average winter day in Minnesota.
 
Wes
also phpdbg crashes
 
@Wes Same test?
 
Wes
hold on
 
@Wes Do the worker.php and worker-pool.php examples work for you?
 
@Wes That's good, at least that reproduces the AppVeyor hang.
 
Wes
5:11 PM
Test 'Amp\Parallel\Test\Worker\ProcessPoolTest::testMinWorkersSpawnedOnStart' started
seems it hangs here. but no crash yet
yeah seems dead
 
@Wes Can you comment out the tests after testMinWorkersSpawnedOnStart and run it again with xdebug, it seems like that test is failing.
I'd like to know what the error message is there.
 
Wes
the tests after?
like comment out the class ProcessPoolTest ?
 
Comment out the tests after testMinWorkersSpawnedOnStart in ProcessPoolTest.
 
Morning.
 
@Wes Which would actually be in AbstractPoolTest.
 
Wes
5:14 PM
ok :B
 
@LeviMorrison o/
 
Wes
so comment out from line 51 to end of file?
OK, but incomplete, skipped, or risky tests!
Tests: 549, Assertions: 68, Skipped: 42.
 
Comment out line 62 to end.
 
Wes
if i comment "62 to end" i get no error
OK, but incomplete, skipped, or risky tests!
Tests: 559, Assertions: 69, Skipped: 43.
 
Ugh… that's really annoying.
How about 73 to end?
 
5:22 PM
evening
 
Wes
crashes @Trowski
 
Wes
Test 'Amp\Parallel\Test\Worker\ProcessPoolTest::testWorkersIdleOnStart' started
Press any key to continue . . .
\o
 
@Wes What if you reduce the number of workers in testMinWorkersSpawnedOnStart and testWorkersIdleOnStart to 1, 32.
 
can someone explain to me what is going on with this bug report? bugs.php.net/bug.php?id=75663&edit=1 is the user complaining that $_SESSION['auth'] is becoming false?
 
Wes
5:26 PM
Test 'Amp\Parallel\Test\Worker\ProcessPoolTest::testMinWorkersSpawnedOnStart' started
Test 'Amp\Parallel\Test\Worker\ProcessPoolTest::testMinWorkersSpawnedOnStart' ended
Test 'Amp\Parallel\Test\Worker\ProcessPoolTest::testWorkersIdleOnStart' started
@Trowski crash on testWorkersIdelOnStart
 
@crypticツ Yes. His code is bad and he should feel bad.
@Wes Did you try the worker.php and worker-pool.php examples?
 
@Wes Do you have 7.1 installed?
 
Wes
crashes also with xdebug in case you want to know
nope i'd have to compile it @kelunik
if you want i will do it :B
 
No, I'll just download it then.
 
Wes
PHP Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages:
error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in E:\...\examples\BlockingTask.php on line 32
PHP Stack trace:
@Trowski that's worker-pool
worker.php works
 
5:31 PM
@Wes Switch from google.com to something else in worker-pool.php
 
Wes
PHP Warning: file_get_contents(): Failed to enable crypto
do i miss some extension? :B
 
PHP on Windows seems to have issues with google.com, I have those, too.
 
Wes
PHP Warning: file_get_contents(): SSL: The operation completed successfully.
6
that's the strangest error ever
 
Wow… ok…
 
Wes
if i open sites without ssl, all works
...
Read from http://google.com: 46993 bytes
.
Read from http://php.net: 30140 bytes
....
Read from http://github.com: 51469 bytes

Result array keys:
array (
0 => 'http://google.com',
1 => 'http://php.net',
2 => 'http://github.com',
)
Process finished with exit code 0
dunno what that means
 
5:36 PM
hello
 
I guess I have to update composer: i.imgur.com/9Hddonf.png
 
@Wes Essentially that it worked. That example launches 3 workers to execute 3 blocking tasks in parallel.
 
is there any laravel guy ? if i may ask something
 
@Wes If you run the tests without either xdebug or phpdbg do they pass?
That is, just run it with vanilla PHP, no extensions.
 
Wes
how do i do that?
 
5:41 PM
Just comment out any extensions in the ini file.
I shouldn't have said no extensions, just no additional extensions beyond the built-in ones.
 
Wes
oohh
wait
when i said "with xdebug" i actually meant with raw php, because i'm not generating coverage
disabled all i could disable
 
Don't even load the xdebug extension.
Just loading it causes engine changes.
 
Wes
ERRORS!
Tests: 619, Assertions: 75, Errors: 1, Failures: 2, Skipped: 47.
it worked :P
 
Well, it didn't hang at least.
What's the one error?
 
Wes
ignore it it's because i changed
$pool = $this->createPool(1, 32);
$pool->start();

$this->assertEquals(8, $pool->getIdleWorkerCount());
trying with 8 now
ok now i only have xdebug disabled, and i get this @Trowski
1) Amp\Parallel\Test\Worker\ProcessPoolTest::testMinWorkersSpawnedOnStart
Amp\Parallel\Context\ContextException: The context stopped responding, potentially due to a fatal error or calling exit
 
5:47 PM
@Wes Odd that didn't happen last time you ran it.
Does that happen every time?
 
Wes
1) Amp\Parallel\Test\Worker\ProcessPoolTest::testMinWorkersSpawnedOnStart
Amp\Parallel\Context\ContextException: The context stopped responding, potentially due to a fatal error or calling exit
2) Amp\Parallel\Test\Worker\ProcessPoolTest::testWorkersIdleOnStart
Amp\Parallel\Context\ContextException: The context stopped responding, potentially due to a fatal error or calling exit
3) Amp\Parallel\Test\Worker\ProcessPoolTest::testEnqueue
Amp\Parallel\Worker\WorkerException: Worker was shut down
ran it again, only got 3 errors
ran again, 3 errors again ^
 
@Wes @kelunik Some interesting things going on there ^
 
Wes
actually errors are different:
1) Amp\Parallel\Test\Worker\ProcessPoolTest::testMinWorkersSpawnedOnStart
Amp\Parallel\Context\ContextException: The context stopped responding, potentially due to a fatal error or calling exit
2) Amp\Parallel\Test\Worker\ProcessPoolTest::testWorkersIdleOnStart
Amp\Parallel\Context\ContextException: The context stopped responding, potentially due to a fatal error or calling exit
3) Amp\Parallel\Test\Worker\ProcessPoolTest::testEnqueueMultiple
Amp\Process\StatusError: Process is not running.
 
@Wes in vendor/amphp/process/lib/Internal/Windows/SocketConnector.php, change line 18 to be 10000 for CONNECT_TIMEOUT.
 
@Wes Please try setting github.com/amphp/socket/blob/master/lib/… to 1 and rerun the worker.php example.
 
Wes
5:55 PM
@Trowski only one error this time
1) Amp\Parallel\Test\Worker\ProcessPoolTest::testWorkersIdleOnStart
Amp\Parallel\Context\ContextException: The context stopped responding, potentially due to a fatal error or calling exit
running again
1) Amp\Parallel\Test\Worker\ProcessPoolTest::testMinWorkersSpawnedOnStart
Amp\Parallel\Context\ContextException: The context stopped responding, potentially due to a fatal error or calling exit
2) Amp\Parallel\Test\Worker\ProcessPoolTest::testWorkersIdleOnStart
Amp\Parallel\Context\ContextException: The context stopped responding, potentially due to a fatal error or calling exit
3) Amp\Parallel\Test\Worker\ProcessPoolTest::testEnqueueMultiple
Amp\Process\StatusError: Process is not running.
nope, 3
 
@Wes In vendor/amphp/process/lib/Internal/Windows/Runner.php, comment out lines 188-190
 
Wes
@kelunik seems i don't have that package
 
@Wes Right... we're talking about file_get_contents ...
And the same appears for me also with 7.1.x
 
@Wes Err... what are lines 188-190, you might not be getting those commits.
 
Wes
        for ($i = 0; $i < 4; $i++) {
            if (\is_resource($handle->sockets[$i] ?? null)) {
188:                \fclose($handle->sockets[$i]);
            }
        }
 
6:01 PM
@Wes Yeah, sorry, then make that lines 182-184. Should be just $handle->*->close().
 
Wes
running again
i commented the for. did i do that right? :B
    /** @inheritdoc */
    public function destroy(ProcessHandle $handle) {
        /** @var Handle $handle */
        if ($handle->status < ProcessStatus::ENDED && \is_resource($handle->proc)) {
            try {
                $this->kill($handle);
            } catch (ProcessException $e) {
                // ignore
            }
        }

        if ($handle->childPidWatcher !== null) {
            Loop::cancel($handle->childPidWatcher);
            $handle->childPidWatcher = null;
        }
 
@Wes Also comment out the 3 lines above the for loop.
Though did it pass with just the for loop commented out?
 
Wes
nope, pretty much the same 3 errors
do you want the trace?
 
I have 3 totally unrelated files that are required by 2 files called with ajax and acting like a webservice. So i'd like to put those 3 files into a folder to clear up the folder where all webservice files are. Problem is, I don't know what to name it. Help please <3
 
@Wes Nah, I'm sure it's the same as last time.
 
6:09 PM
@Wes Please also try removing @\stream_get_contents($handle->wrapperStderrPipe);
 
Wes
same errors
 
nite all.
have a great monday.
 
PHP Warning: file_get_contents(): SSL: The operation completed successfully.
 
Wes
nite \o
 
6:27 PM
@Wes Change composer.json in parallel to require "amphp/process": "dev-windows", run composer update, and try the tests again without xdebug.
 
@Trowski The catch looks wrong to me. Should be around the read, not the $parser->push: github.com/amphp/parallel/blob/…
 
Wes
@kelunik should i try again?
tell me when to do composer update
 
@Wes Eh, I borked the process one, give me a minute.
 
Yes, do what @Trowski said. The code I mentioned is wrong, but shouldn't break anything.
 
@kelunik Yeah, the try/catch for StreamException should be around read.
@Wes Ok, now try using dev-windows for amphp/process and re-run the tests.
 
Wes
6:40 PM
composerupdatin'
sorry i have no idea what i am doing @Trowski do i need to clone the windows branch? :B
*checkout
 
6:56 PM
@Wes No, just change line 27 in composer.json in the parallel clone to "amphp/process": "dev-windows"
That tells it to use the windows branch of amphp/process.
 
Wes
ok
hold on need 5 min
 
7:18 PM
hello r11
 
7:29 PM
evening everyones
 
Wes
7:42 PM
@Trowski sorry. i'm here now. composer updating
i'm installing amphp/process through parallel, but iirc i won't get the tests, right?
cc @kelunik
indeed i don't have them
because
examples export-ignore
test export-ignore
not sure why you wanted me to do that
 
I want to see if what I changed in process fixes parallel.
 
Wes
do i have to run the tests of parallel?
 
Yes
Once you've changed amphp/process to dev-windows and run composer update.
 
8:04 PM
@Wes Yes, just run the parallel tests. You can clone process separately and run those, too, but those pass on AppVeyor.
 
Wes
crash @Trowski
Test 'Amp\Parallel\Test\Worker\ProcessPoolTest::testWorkersIdleOnStart' started
Press any key to continue . . .
 
@Wes Ok, so what I changed in amphp/process did nothing.
 
Wes
oh sorry, did with phpdbg
 
@Wes Oh, yes, run as before using php without xdebug.
 
Wes
pastebin.com/h9nrhshW @Trowski sorry i'm being messaged by 4 people at the sametime
this is what i get
without xdebug and phpdbg
did that help? sorry for giving you partial attention only, i'm busy with these clients... yes, on sunday -__-
 
9:22 PM
@Trowski Any idea what else I could test? github.com/amphp/process/compare/…
 
Wes
 
@Wes Unfortunately no that didn't help, but I appreciate you doing that.
@kelunik No, if that passes then parallel should work fine.
@Wes Right… I saw it dropped like $3,000 the other day… but still to like $15,000 when it was a few hundred. Crazy. I still would be concerned because there's few real things you can buy with bitcoins.
 
Wes
PHP Notice: Undefined index: type in C:\Users\Wes\Desktop\parallel\vendor\amphp\amp\lib\Internal\functions.php on line 23
 
Add "amphp/amp": "dev-master" to your composer.json
 
Wes
Process finished with exit code -1073741819 (0xC0000005)
can i do something else to help? :B
 
9:34 PM
That's phpdbg again?
0xC0..005 is a segfault
 
Wes
i'm not sure. i think phpstorm enables xdebug automatically now, even if disabled in php.ini
 
@kelunik This should make parallel very user-friendly: github.com/amphp/parallel/compare/process
 
Wes
holy shit debugging async
i'm lost already lol
 
@Wes Heh, what specifically are you looking at?
 
Wes
trying to check if i understand what's going on
 
9:42 PM
The windows side of the process package is a bit complicated.
 
@Trowski github.com/amphp/parallel/compare/… won't work, as the options are one param then.
 
@kelunik Hmm? formatOptions returns a string.
 
@Trowski Yes, but those are supposed to be multiple options, not one. The array escapes it as one arg.
 
@kelunik It's just imploding, not applying escapeshellargs.
 
Passing an array to process uses escapeshellarg
 
Nevermind... dunno what I've read...
 
@kelunik That could probably be made clearer then.
I used implode just because the line got long… maybe I shouldn't have :-P
 
That's fine. I'm just stupid. Read it while playing a game at the same time. :P
 
@kelunik Process should run $command through escapeshellcmd then if it's just a string?
 
@Trowski Process does that if you pass an array.
 
9:56 PM
@kelunik It passes each arg through escapeshellarg, which is correct.
 
@Trowski Why does it make it more userfriendly?
 
But if passing a single string, it should go through escapeshellcmd.
@kelunik A process can now just be written as return function (Channel $channel) { // Do blocking stuff }; without having to deal with loading the autoloader, or figuring out how to communicate with the parent.
It just removes a lot of boilerplate that would confuse most I believe.
@kelunik I'm suggesting that this line should be escapeshellcmd($command).
 
@Trowski Well, people should mostly use the Worker::enqueu() API anyway, no?
But I like that, yeah
 
@kelunik That's generally were I've directed them in the past, but IMO this gives them a more flexible option.
 
Yes, for more special use cases.
If you want IPC with a subprocess.
 
10:06 PM
@kelunik Also it looks like I was wrong, escapeshellcmd there doesn't work, but then users have to be responsible with what they pass.
 
Yes, users should mostly use the array syntax.
 
Finally managed to implement github.com/php/php-src/pull/2972
7
 
Wes
@NikiC omg <3
 
Unfortunately the last internals discussion on this went badly
 
Wes
why? should've been like that since the beginning. way a better solution than declares all over the place
 
@NikiC What do conflicting declares do?
 
@kelunik What do you mean by conflicting?
 
Wes
i imagine the in-file declare() would override the value specified in namespace_declare
 
yes
@kelunik You can't call the function twice on the same namespace, if that's what you mean
 
Wes
can you have A\ strict and A\B\ non strict? (and vice versa?)
 
10:21 PM
You can, if you like
 
Yes, does declaring the global namespace work?
 
@kelunik No
 
@Trowski For some reason I dislike static functions like Process::spawn ... dunno why.
Maybe it's just the name...
 
im having a readfile issue
I have a zip on the server that gets returned with readfile. The headers are correctly set, the file size is correct. If I look at what readfile itself returns, the size is correct.
Hoever, the data output is not correct. It's about 2x the size of the initial zipfile
when I look at the currupted zips in a hex editor, there's a bunch of "EF BF BD EF BF BD" bytes that aren't in the correct zip
 
@kelunik I added it for symmetry with Thread::spawn. I don't really have strong feelings about it. Since 99% of the time you intend to run a process/thread right away it does make some sense.
 
10:39 PM
Hi everyone!
Hope all of you are well :)
 
@Trowski I think run would be a better name than spawn
 
@kelunik I agree.
 
00:00 - 23:0023:00 - 00:00

« first day (2612 days earlier)      last day (2327 days later) »