« first day (1680 days earlier)      last day (3275 days later) » 
01:00 - 19:0019:00 - 00:00

1:24 AM
We have a winnar:
-2
Q: PHP imagick cannot generate 2 gb size pictures of PSD

yuwenshanrenPHP imagick upload 2 gb type PSD generated thumbnail images can't, is like this, I went to the server after I upload large images in the folder to see the original photos uploaded to the server, but do not generate a thumbnail, I use 300 MB will be automatically generated JPG images, when I want ...

 
;_;
 
Who wants people uploading 2GB PSDs regularly, anyway?
oh, EXE, heh
Hmmm, running 2GB PSD through imagick I already see my memory climbing above 18GB o.0
yikes
 
1:46 AM
@Sherif well, at least you have more than 18 GB of RAM^^
 
@Danack Wow... there's just so much win in that question.
 
@bwoebi You don't?
Memory is cheap these days
 
@Sherif I have 32 on my iMac
 
Even my Macbook has 16GB
 
@Sherif yeah, mine does too…^^ there sadly was no 32 GB MBP 2 years ago ^^
 
1:51 AM
Still isn't today
At least I don't think you can order more than 16GB, last I checked.
16GB is a lot for a laptop though.
 
@Sherif I'm constantly near the limit (without swap)
I don't understand it… but always when I have swap enabled, my MBP is always awkwardly slow after a few days^^
 
Is it just because you paid so much for the MBP that you feel you need to push it to the max? :p
Gotta get your money's worth out of Apple
 
@Sherif ah… 15" MBP isn't available with 8 GB configuration at all anymore ^^
@Sherif hahahahah
 
If you're going to pay the extra $700 for the 15" you might as well get the extra 8 GB that only costs them an extra $70
 
@Sherif having PHPStorm, IntelliJ and Safari open… that's already a good 7 GB ^^
 
1:55 AM
Well, at least you didn't say Eclipse
 
:-P
I have no idea… but these days everything seems to be so RAM hungry… Mail.app 627 MB… wat?!
 
more data, more memory
It's the information age
 
PhpStorm is taking up more memory on my Mac right now than kernel_task. That's wrong.
 
Sometimes I wonder how they just wrote great apps 15 years ago… when we only had 1 GB of memory max…
 
My first computer had 8 MB of RAM.
 
2:01 AM
@Trowski The time computers had 8 MB of RAM I wasn't born :-P
 
That was only in 1993. I was 9. :)
 
Yes. And I was born in 1996.
 
Just wanted to point out that I'm not that ancient yet.
 
@Trowski Errr… wait? You call that not ancient? ;-D
All these people over 30…
 
Yeah... I thought that when I was 19 too, lol.
 
2:04 AM
@Trowski ;-)
 
@Trowski I think I might win this. My first computer had 5kB memory, though I was a bit young to do programming on it.
 
Any of you ever hear of the site pokemoncrater.com?
 
@bwoebi Each piece is easy; getting everything to work together is harder.
 
@Danack Yep, you win. I think my brother's Radio Shack computer even had a few hundred kB of memory.
 
2:10 AM
wordpress admin area is extremely slow.... it's slow for every single wordpress website on the server...so something wrong with server config... any idea?
 
get rid of wordpress @user3692125
that's actually not trolling but a wise suggestion.
 
@LeviMorrison well, yeah, that's CSS… formatting everything relative to all the other elements…
 
(@Worf Not in my control...plus the issue is there for admin panel of other softwares (like prestashop etc too)
 
get a different hoster?
 
@Worf It's a dedicated server... I have full access to the server... so that's why I want to know what wrong server config can cause such issues
 
2:19 AM
My first computer had 64KB of memory
Albeit I did buy the Commodore a year later at a garage sale
Definitely not my first though
 
2:46 AM
@bwoebi you don't do OO CSS? </sarcasm>
 
@marcio Yes. I abstract CSS away by exactly zero OO layers :-)
 
2:59 AM
@LeviMorrison funny. i could think the same of C and other stuff :D
the difficulty is probably our preconceptions about them
 
3:17 AM
does restarting apache automatically flush dns? can't remember
 
user895378
3:58 AM
@marcio any updates on context-sensitive lexer patch? I have some names I'd really like to use :)
 
class function implements class{ public function protected() : private{} }
can't wait to do that.
 
 
4 hours later…
7:50 AM
Moornings
 
8:34 AM
hi @RonniSkansing
 
lazy saturday
 
9:01 AM
hello world! :)
 
9:34 AM
@Worf With the funny part being that not a single one of those usages will work ;)
 
nooooooooooooooooOOOOooooOOOoOOOOooOOOOOOOOOO
 
9:45 AM
 
10:00 AM
hello guys
i need help
i need to remove Yii extension from netbeabs
what are the steps for it.
?
 
@RamMansawala why not google that e.g wiki.netbeans.org/PluginUninstallation - I don't think anyone here uses netbeans.
 
10:21 AM
thank uou
you*
 
@RamMansawala use phpstorme its good , i used neatbean but not as good as this for php
 
@NullPoiиteя reply to wrong person?
 
oops sorry ;)
 
netbeans is free tho
 
hello all, i am trying to echo this string "02 &#8211; Ye Kaviki &#8211; Hemachandra, Pranavi" but it prints this "02 – Ye Kaviki – Hemachandra, Pranavi" but i want to remove – this don't want to print or replace with dash. then how to do this.
 
10:30 AM
phpstorm is a valuable tool but imho not if you renew it yearly
in the past year i paid for 0 updates, basically
it's not even the money, it's just disappointing that is not updated more
 
PHPStorm? Not updated any more? What are you on about? They're continually improving it. Latest EAP is starting work on PHP 7 support and adds postfix completion.
 
Do you expect more bugfix releases or major things?
 
For me, PHPStorm easily saves me more time in my day job than it costs me in renewal.
 
10:48 AM
@AllenJB phpstorm 8 is nearly a year old now, and it's been updated just 3 times
@kelunik both
 
Software people use as a productivity tool shouldn't be updated that frequently....
 
just because the qa process sucks @Danack
if a feature is guaranteed to be working you can install it at any time and it's very welcome in my opinion
 
It's a pretty massive bit of software, even any minor break or change in functionality has large penalties for the people who use it.
 
even missing simple functionality or regressions are penalties @Danack
guys i'm being very retard. how would you get "true" from an array of booleans if entries are all true, or false if one of more entries are false. array_reduce? array_sum?
can't think of a nice way of doing it
nvm, solved... ish
 
11:05 AM
@Worf write a function ^^
any/all don't really fit with reduce due to short circuiting
 
i did with array_sum($c) === count($c)
 
11:23 AM
mornign
 
@PeeHaa o/
 
\o
 
@PeeHaa \o
 
PeeHaa has stopped a feed from being posted into this room
PeeHaa has made a change to the feeds posted into this room
posted on November 20, 2014 by PeeHaa

First release candidate

posted on December 03, 2014 by PeeHaa

Another test release

posted on May 22, 2015 by Danack

Kids these days, with their tags, and their releases, and their distributed version control systems. In my day, we used Visual Source Safe, and we ....actually didn't like it.

posted on May 22, 2015 by PeeHaa

YUNOWORK?!

posted on May 23, 2015 by PeeHaa

Looks like SO chat is heavily caching feed servers that are down. Hopefully this release will be shown in the room so I can setup all the repos again.

 
Sorry about that people. /me is fixing feedr
 
11:56 AM
i would quite like decent news about php. everything i tried to read is all about cms and framework stuff. not something i enjoy reading :P
 
@Worf News like what?
 
news/articles
 
@Worf We had this feed for a while until there were only brandon savage articles
There is a lot of crap in there, but there should also be some intresting stuff in there
 
when i seen the size of php strom then my interest get decreased
 
@PeeHaa instant quit at laravel logo
 
12:00 PM
Yeah it is kinda bloated. If you are looking for leightweight just use an texteditor
 
@santosh Because your computer has a 1MB hard drive?
 
:D
 
hahaha @NikiC
 
i'm creating a unicode string (multibyte char) Iterator. tips for ideal implementation? should i split the string to an array just once and store the array, or should i store the string and use mb_substr ?
 
@Worf Why not use the intl break iterator?
 
12:04 PM
consider that the string will stay in memory anyway, operating on the array would duplicate the data
@NikiC tbh i found several nasty bugs in the intl extension so i try to use it as less as possible. but actually that was several months ago
 
did you report them? ^^
 
iirc yes, at least some
need to read more about intl, so far i'm not using much of it
 
@Worf yeah, api is crap
And you need to read icu docs because intl is undocumented
wonder what the "character" instance does. does it split on extended grapheme clusters or what definition does it use?
 
but the extension functionality is pretty neat
 
but it's not actually a php problem is it, it's just how icu is @NikiC right?
 
12:14 PM
@Worf Yes, PHP apis are pretty much 1:1 copy of ICU apis
hm, icu docs also aren't terribly clear on what a character is
 
@NikiC In their defense it is kinda confusing :P
@Gordon do you have interesting projects for which you crate proper github releases by any chance?
 
/me writes Iterator using mbstring
 
12:31 PM
@PeeHaa whats a proper github release?
 
That's what I said.
 
@Gordon You can tag releases in git, but feedr only follows github releases. Meaning you go to https://github.com/{yourusername}/{yourrepo}/releases/new to draft a new release
 
@PeeHaa I could probably do that for the Interface Distiller
but I am not currently doing it
 
@Gordon Can you give me the link to the repo so I can add it to the feed?
 
but I haven't touched it for a while
not sure how useful it is nowadays anymore
and it probably should use @NikiC's parser underneath anyway
 
12:42 PM
Added
@Gordon Well if you do some work on it again create a github release for it :)
 
@PeeHaa not sure where you added that to, but thanks :D
 
A.k.a. the room 11 regulars github stalker feed
In somewhat related news: Fuck you github with your broken oauth permissions!
 
1:08 PM
hi
 
hey
 
:) i cam here if anyone here who can help me out
:)
no one can help? :(
 
posted on May 23, 2015 by PeeHaa

First stable release. This releases fixes the fightingforalostcause URL (now over TLS) and made the header clickable.

 
@candycrush you are asking the wrong questions ;)
 
what i said wrong? ..i am new here..if i said anything wrong..plz ignore
@go
i posted a ques n no rep came yet thats y i came here
@Gordon
 
1:14 PM
 
ok
ok
@Gordon ?
@Gordon ?
 
user1648409
Hey guys. Shouldn't
image="<![CDATA[iVBORw0KGgoAAAANSUhEUgAAArIAAAgwdAAAAAXNSR0]]>"
be a valid cdata tag in xml for storing base64 encoded images?
 
@kelunik We are up again! requestable.pieterhordijk.com \o/
 
@PeeHaa +1, still no answer from GitHub.
 
:(
BTW do you know of an example site which failed on ssl verification? I am hoping my newest version of everything fixes that automagically
I have reinstalled feedr and had to manually add all the repos and admins. If you or you repo needs to be added let me know!
5
brb hunting for food
 
1:44 PM
@Worf It's true. The difference is that in C I can usually predict how two things merged together will react; in CSS it is less predictable.
 
@LeviMorrison i can predict css just as well :P
well, on standards compliant browsers :P
 
1:57 PM
@Shiuyin Doesn't base64 usually end with an equals sign?
 
2:28 PM
@Danack the = are for padding
 
Anonymous
@PeeHaa did you buy ssl certificate? If it's free, I wanna go https too :)
 
So... not always
@PeeHaa I want requestable locally
 
@FlorianMargaine fair enough.
 
@Danack the "usually" was technically correct though
 
The best type.
 
2:38 PM
@samaYo I did buy one because I needed a wildcard. You can get a non wildcard here for free though
@FlorianMargaine github.com/PeeHaa/Requestable clone it and run it :)
 
@bwoebi Do you know how zend_mm_get_custom_handlers is meant to be called, as zend_mm_heap seems to be declared privately in the C file, rather than an available struct type. The compiler knows it's a struct but can't allocate it as "storage size of ‘heap’ isn’t known".
 
@Danack the mm_heap is what you get with zend_mm_set_heap()
yeah… weird…
 
I'll find out when zend_mm_get_custom_handlers was added and by whom, and see if there is any reason for it.... I'm right to say that currently the function zend_mm_get_custom_handlers can't be called from outside of the file that defines it right?
PHPdbg seems to have a copy of the structure.
 
With some effort I managed to setup an x32 system
Now php is happily crashing
 
Presumably then PHP has no CI that uses an x32 system?
 
2:50 PM
Yeah we don't support x32
 
hey guys, how do you create a site-wide incremental variable correctly? I just tried to upload two files at once, and the generated Id for them were both '8'... so I seem to have concurrency issues?
 
Anonymous
@PeeHaa thanks, but will browsers display the certificate not trusted message like this one kb.mit.edu/confluence/download/attachments/3903437/… if I use the free one?
 
@Gizmo Either use something that is inherently atomic (like a primary key on a database, or redis) or just give up and use some variant of uniqid.
 
pcre is the culprit
 
3:07 PM
@samaYo No, just try it on dev.kelunik.com, it's a StartSSL cert.
 
@samaYo That's a self signed cert
 
@PeeHaa Yeah, self signed or other non-trusted certificate like missing intermediate or so.
 
@Danack phpdbg doesn't use the copy in that context… let me link some code…
 
Anonymous
hmm interesting, so why buy a certificate if this can do the same thing? Or do commercial cert. use stronger encyption @kelunik
 
@Danack lxr.php.net/xref/PHP_TRUNK/sapi/phpdbg/… … to get the heap… as long as I just use the pointer, no issue.
 
3:11 PM
@samaYo no
That certificate doesn't do wildcards for free
 
@samaYo Better support / multi-host or wildcard certs, etc.
 
@Danack at least since PHP 7, phpdbg doesn't need any copy of it.
 
@samaYo In general the CA crap is just utter bullshit
 
And I think it's only allowed for non-commercial sites, but I'm not sure.
 
@bwoebi Thanks.....that still seems a little bit fruity...
 
3:13 PM
@Danack hehe, true ^^
But @Danack there's currently no better way than lxr.php.net/xref/PHP_TRUNK/sapi/phpdbg/phpdbg.c#1343 ^^
 
Anonymous
hmm, I'll just tinker around with it and see if it's worth it. (depending on how easy it is to set up)
 
yay
built against system pcre, now most things are working
 
@NikiC Awesome!
Oh yeah, did someone do 32-bit Travis builds yet?
 
And it looks like zend_long is not correctly determined, I get 32bit integers :/
 
@NikiC Is long 32-bit on x32?
I wouldn't be surprised if it was
 
3:26 PM
@Andrea Looks like its 32bit
But I would have expected it to use 64bit zend_long anyways, as __x86_64__ should still be defined
 
@NikiC I assume that define is only for the x64 ABI
Otherwise you'd break things
(4 byte pointers)
 
@Andrea I was going off "If your code uses inline assembly based on #ifdef x86_64 or #ifdef amd64, etc., these conditions will also be triggered on X32 builds. " which it says on the debian x32 page
oh
looks like X86_64 and x86_64 are two different things...
2
or not
The X86_64 just doesn't exist
 
@NikiC #justprogrammerthings
 
The defined(__X86_64__) part of our check just doesn't work because there is no such thing. Wrong case...
root@uranus:~/php-src# sapi/cli/php -r 'var_dump(PHP_INT_MAX);'
int(4294967295)
okay ... that's a new one
now I get the unsigned range of a 32bit int
 
3:41 PM
wow
Check where ZEND_LONG_MAX is defined
 
@NikiC and -1 is failing?
 
root@uranus:~/php-src# sapi/cli/php -r 'var_dump(-1);'
int(4294967295)
 
nice
 
well ... people always wanted to have unsigned integers in PHP right? ^^
 
that remembers me when I got a negative string length on PHP 5 when allocating more than 2 GB…^^
@NikiC right :-D
I'm doing my uint operations on a separate server in future then.
@NikiC we need a new type IS_UNSIGNED
that'd be a nice chaos, no?
 
3:51 PM
ah, I think I see the issue
ZVAL_COPY_VALUE assumes that if sizeof(zend_long)==8 then sizeof(void*)==8 as well
 
@NikiC o.O
Fire whoever wrote that :p
 
yay, that was it
root@uranus:~/php-src# sapi/cli/php -r 'var_dump(PHP_INT_MAX);'
int(9223372036854775807)
 
Yayyyyy
 
:-)
 
x32 sounds like a perfect target for PHP really
 
3:54 PM
and all Zend tests pass
 
Awesome
 
… an x32 with a 64 bit long? okay…
didn't know that this exists^^
 
x32 is a Linux ABI that's ILP32 on x64
All the nice performance benefits of x64 with 4-byte pointers
 
now I'm confused…
 
The x32 ABI (x32 application binary interface) is an application binary interface project and one of the interfaces of the Linux kernel. It allows programs to take advantage of the benefits of x86-64 (larger number of CPU registers, better floating-point performance, faster position-independent code shared libraries, function parameters passed via registers, faster syscall instruction) while using 32-bit pointers and thus avoiding the overhead of 64-bit pointers. == Details == Though the x32 ABI limits the program to a virtual address space of 4 GB, it also decreases the memory footprint of the...
 
3:59 PM
@Andrea oh, just ABI… now I get it
 
11 failures on tests/ all about file size restrictions etc. will have to debug those later
 
Grr… I spent the last while reading System V AMD64 ABI and Windows x64 ABI stuff. Thanks, @NikiC. I should be studying about FSA, PDA and grammars.
 
@NikiC I always chuckle when something is called uranus
and root@uranus makes it even funnier :D
 
Oh, seems like @NikiC has nicer names for his computers than I do :)
 
@Gordon Is Neptune a better name?
 
4:06 PM
Mine's the boring default Andreas-MacBook-Air
 
@Andrea yeah, well. @Nikic is apparently very anal about computer names :D
3
 
@Andrea Mine's not totally default… It's Bobs-MacBook-Pro-2 … it even has a number ^^
 
@bwoebi yay!
 
(which is… because at the time I had set it up … my old laptop was is the same network… ^^)
 
Mine is named lena.
 
4:13 PM
Hello Everybdoy
Everybody*
 
All of our machines at work are named after rivers/streams/brooks.
 
@LeviMorrison after the Playboy cutout?
Ah.
 
Anonymous
<< localhost
 
(There is a rather famous clipping of a Playboy girl used in computer graphics, known as "lena")
 
Anonymous
Oh wait, I forgot I don't use mac \0/
 
4:17 PM
btw @bwoebi, the zend_mm_get_custom_handlers is only available if the env variable USE_ZEND_ALLOC is set to 0, which also disable all tracking of memory usage...
 
Lenna or Lena is the name given to a standard test image widely used in the field of image processing since 1973. It is a picture of Lena Söderberg, shot by photographer Dwight Hooker, cropped from the centerfold of the November 1972 issue of Playboy magazine. Nearly one year later, the same photograph can be seen to appear shortly in Sleeper, a science-fiction movie directed by Woody Allen. Given the nature of the image and its source, several academics have criticized its continued use in scientific publications and higher education as both sexist and unprofessional. The spelling "Lenna" comes...
TIL
 
Yep
Someone come up with a better test image and popularise it. Please.
 
@Danack hence I'm in phpdbg writing wrappers which call zend_mm_alloc/free/realloc()
 
ta.
 
By the way, Python's type hints are actually just hints.
Yet another reason to clarify our own terminology.
 
4:28 PM
Type ultimatums?
 
4:47 PM
@LeviMorrison Yep
Well, not even hints
Python's are annotations
 
5:01 PM
@LeviMorrison in which sense? That it isn't enforced by the language?
 
> While these annotations are available at runtime through the usual annotations attribute, no type checking happens at runtime . Instead, the proposal assumes the existence of a separate off-line type checker which users can run over their source code voluntarily.
 
well.
 
It's inline docblocks
 
5:24 PM
Python's docstrings are great too we should copy those
 
5:57 PM
@Andrea did you mean lisp docstrings?
:P
 
6:08 PM
somebody worked with XenForo ?
 
@FlorianMargaine Python's are better ;)
 
01:00 - 19:0019:00 - 00:00

« first day (1680 days earlier)      last day (3275 days later) »