« first day (2201 days earlier)      last day (2747 days later) » 

8:00 AM
you could have said that a second sooner
 
@Gordon Aaaaaaaaand another book is being written :P
 
c) he gets to lay with Ygritte.
 
gentlemen
 
@FélixGagnon-Grenier well, you really cannot spoil it. I think I know pretty much everything: boobs, dragons, everyone dies, hodor.
 
Anonymous
here we go..
 
8:01 AM
I have a question concerning data posting in PHP
 
@Gordon yeah, you seem ready :)
 
@FélixGagnon-Grenier wrong ;)
 
lets say that: I call an API -> receive a key -> have to post this key through another function
curl is my only solution
 
Anonymous
@FélixGagnon-Grenier How can you forget about big Sam?
 
am I right ?
 
8:02 AM
Why would curl be the only solution?
It's just one of the tools to do http requests with
 
what would be the best for this case scenario ?
 
Use the sdk of the api provider
 
hum... but I dont think I can
unless I didnt understand the documentation
I am terrible at understanding API documentation :(
 
@JayIsTooCommon @Patrick oh shit
right...
 
I am about 20% sure that curl is a good option ^^
 
8:06 AM
Curl has a horrible API
If it works for you / has reference code in the docs use it
 
in the doc it's written as follow: curl -v -X POST https://kauth.kakao.com/oauth/token \
-d 'grant_type=authorization_code' \
-d 'client_id={app_key}' \
-d 'redirect_uri={redirect_uri}' \
-d 'code={authorize_code}'
It's a strong suggestion in using curl I believe
 
Ih it's just oauth
Use whatever works for you. I would use artax or filegetcontents but meh
 
@PeeHaa I'll have a look, thanks
 
Hello, could someone point me to a guide or something to installing php without a development environment on Windows? I tried this: wiki.php.net/internals/windows/stepbystepbuild and it failed at "buildconf", then I tried these videos youtube.com/playlist?list=PLk3TaFJq0tw7ju86UUfgKF8z-QGisYEKU and initially it worked, but few minutes later I started having problems that apparently nobody on the internet has ever had.
 
Aug 22 at 7:24, by DaveRandom
Get an apache build from apachelounge, get a PHP build from windows.php.net, get a mysql build from Cthulhu, and you're set
 
8:20 AM
<3
amongst the three, just get a php binary for windows
 
> get a PHP build from windows.php.net
;)
 
it's a bit tricky, you have to read on the left side of the page which vc redistributable version you need
@PeeHaa pfffffffff
 
@PeeHaa where's the thing that configures feeds ?
 
@PeeHaa If the last thing is a joke that's exactly what I did
 
It's not a joke. And no you did not because somehow you ended up wanted to build from source on windows
Which is not something normal people do
 
8:24 AM
oh, cthhhhtttuhhhlkulu as in oracle
 
Mornins
 
morning @pmmaga
 
\o
 
@PeeHaa I think I crashed it
:D
 
8:26 AM
lol
Still works for me though
gimme repo link and I'll try to add it
I still have a rewrite somewhere I need to finish
 
by "that's exactly what I did" I was refering to my second link - the video guides, only I got mysql from mysql.com and not oracle.
 
And what didn't work when you tried it?
 
krakjoe/ui
 
ty
 
I added it, couple of times, nothing much happened except the page struggled to load ... then when I tried to refresh and start again, nothing much happened again ...
 
8:28 AM
I don't have permission to access some of my projects, while I do for others.
 
@JoeWatkins It was meant for @Nadroev :)
feedr not working is probably just my crappy coding :P
@Nadroev And how do you know you don't have permission?
 
you said it ...
 
10 minutes and we will know if it worked @JoeWatkins
 
phpmyadmin worked initially, but when I tried to access it a few minutes later it says You don't have permission to access /phpmyadmin/ on this server.
 
Does the project exist?
And in the location it thinks it is
 
8:30 AM
isn't there like two click solutions to installing wamp ?
 
Yup, still there, the folder seems fine when opened too.
 
What does the error log say?
 
I swear I'm not doing anything other than restarting apache, te other project I didn't have access to now started giving me 404 "The requested URL / was not found on this server."
 
Clearly you messed up paths
 
use one of those things that someone already configured
 
8:33 AM
phpmyadmin... I feel young again :'(
Good morning
 
or install a vm, and get a clue about setting up a real server ;)
moin alma
 
@AlmaDo Yeah no idea why somebody would willingly be using that
 
@PeeHaa I mean, I'm serious. When I was on my first job we were using it and it was like a dream :)
so yes, it's memories from youth
 
posted on October 25, 2016 by krakjoe

- App::run changes (see docs) - App::onTick (see docs) - UI\Key enumeration - UI\Point and UI\Size math operations - Reference counting for layout controls - Fix build when x is not available

4
 
\o/ @JoeWatkins
 
8:36 AM
:)
 
cool, ta
 
Wes
joe makes a lib in like a couple of days - i'm working on the same thing for 2 years now. fml
but congrats joe :D
 
Yeah it's fucknig annoying. I have been working on a twitter lib for three months :(
 
Wes
:(
 
I think I fixed things by adding a vhost leading to my htdocs folder with servername localhost. xampp had one, but haven't seen any guide mentioning I should add it to my vhosts file.
 
8:44 AM
moin
@Wes much obliged
 
Anonymous
lol
 
Anonymous
o/
 
Wes
@DaveRandom you bastard, why did you cut it
keep it original :B
 
Makes me want to start up on my SDL2 bindings again @JoeWatkins
 
@Wes ugh, because Gravatar is fucking retarded, hang on
 
Wes
8:48 AM
and don't ask.
 
where is my Halloween avtar? ;p
 
@Wes fixed in theory. I had this problem last time though and it kept ignoring me
If it doesn't fix it I will just do it manually on my SO profile
 
...
 
8:55 AM
.. yeah
 
@Wes you should make an avatar for yourself as well
 
morning
 
@tereško which is fine; it's just due for a retrial, as it's usual then.
 
What's taking so long when doing @bwoebi @Wes? :P
 
dat tooking
 
9:02 AM
lol
 
Wes
@tereško i'd supremely kick them in the ass. idiots. when these things happen i'm always expecting people to go there and raze everything to the ground, but it never happens
 
Not even sure where thoot's cooming from :P
 
Wes
here's @bwoebi i.imgur.com/3ULm7tX.jpg
9
 
ok. seriously off. 5 am.
 
9:03 AM
@Wes … I am disappointed …
 
Wes
you are not @bwoebi
just wear it
and don't ask
 
?
 
Wes
someone figured it out?
@bwoebi put it on :P
it will make sense eventually, trust me
 
Anonymous
@Wes ahahaha
 
Anonymous
beautiful
 
Wes
9:08 AM
if you figured it out, shhh
 
Anonymous
(Y)
 
Wes
congrats for being the first
@bwoebi i promise it's not offensive or something - wear it, it's just plain fun :P
 
@Wes If you tell me what's to figure out about that kiss, hand on the shoulder and holes in the throat?
 
Wes
you will find out eventually :P don't ruin it!
 
@Wes I'll find out by you telling me now…
 
9:13 AM
\o
 
Wes
and you don't want me to tell you. you want to figure it yourself
i'll tell you if you insist, but you don't want me to tell you
 
well… I insist^^
 
Anonymous
@bwoebi look all around, think outside of the Bob
 
Wes
shhh
 
Wes
9:19 AM
true story
 
^^
 
Where's your own avatar wesley?
 
And Jeeves :P
 
Wes
i'll do it later
 
where's mine :<
 
Wes
9:20 AM
Jeeves, Somewhere on a server in a galaxy far far away
168 1 8
 
OH!
 
@Jeeves was the first :D
 
Wes
jeeves is a vampire now, though it's not very noticeable
 
:D that one is really great
all of these are though
 
The best so far are either @JoeWatkins or @Jimbo
 
9:21 AM
indeed
@Sean's avatar too
top 3 I'd say :P
 
Wes
thanks :B
 
Yeah :)
 
Wes
i think my fav is teresko's
 
@PeeHaa tereško avtar
 
ping @bwoebi
 
9:22 AM
Also @Wes hasn't been this productive in a year :P
@Linus Dude. That's his face. Not funny...
 
Anonymous
I feel like you could do wonders with @Linus' avatar @Wes :P
 
@PeeHaa :D
 
Wes
linus, jay, kelunik are in the todo
 
+NikiC
 
@JoeWatkins OK! @bwoebi @bwoebi @bwoebi
@bwoebi
 
9:23 AM
:P
 
@bwoebi @bwoebi
 
Wes
dave figured it out it seems
 
@Wes me, me, me, me, me, me, me, me, me, me!
 
:D
 
Anonymous
@Archer You can't halloweenify anime shit :D
 
9:24 AM
@Wes ?
 
Wes
no he didn't
 
ahaha :D
 
Anonymous
lol
 
@DaveRandom norty
 
Wes
@DaveRandom nothing, move on sir :P
 
9:26 AM
ftr I frequently don't figure things out even after someone explains it to me
 
Wes
you will figure it out :P
@Ekin weren't you a white walker? :P
ah, you are! lol
 
I think it just got refreshed
 
@JoeWatkins pong
 
can I do a bit of testing sometime today, please ?
 
9:42 AM
@JoeWatkins on my machine remotely? Sure, in ca. 4 hours when I'm back home
 
thankyou <3
 
Anonymous
o/
 
o/
 
\o
 
Anonymous
9:56 AM
!!wotd
 
soupbone: a pitcher's throwing arm.
 
'nin
 
btw where is your Halloween avatar @Jay
 
Anonymous
@Archer I'm waiting for @PeeHaa to send me a selfie.
 
:P
 
10:02 AM
@JayIsTooCommon It's in chat transcript somewhere
 
Anonymous
Sep 25 at 15:37, by PeeHaa
user image
4
 
hahahah
 
Anonymous
found it
 
that starfield thing can render 60 frames a second on my pc with a debug build of php, on windows, in a vm with 8 cores and 8 gb of ram, it does 20 ...
wtf is that
 
I don't trust vms and graphics
 
10:04 AM
I need someone with an actual windows pc
yeah that just crossed my mind @PeeHaa
 
Wes
what peehaa said, if you teach me how to do it i can test on windows, if you need it :P
 
first you need 42 years to install msvc ... everyone gives up there ... and I don't blame them ... windows is crap ...
I won't be surprised if it struggles to keep up with ... anything else ...
 
@JoeWatkins Can't you just provide a working dll for people?
 
oh well I can try to do that
but if it doesn't work, I won't know why
 
Just let pierre do it :P
 
10:09 AM
we don't really talk ... and I'm already asking anatol to do too much already, he's busy enough ...
and already needs to do a bunch of work to get pecl working for windows
 
Wes
@JoeWatkins i can compile php on windows if that is all i need
 
That is "all" that's needed
 
let's try the binary thing first I think, download x86 7.1.0
 
Wes
ie, i don't need actual msvc to compile php, only the vc compiler
 
@Archer that's how homeopathy works
 
10:11 AM
oh no ... oh no no no
 
:P
 
you need msvc, and a bunch of sdk's that don't seem connected, and if you don't do it in the right order, it will literally cost you several days of your life ...
where do people put files for sharing now ?
 
Wes
are you sure about that. if i put stuff in the deps folder it usually works
 
(must accept binaries)
 
Wes
i did imagick once :P
 
10:12 AM
@Wes then I dunno
 
Wes
do you want me to try?
 
Yes please
 
yeah
well, you'll need to try and build libui first
that needs cmake
 
Wes
ok let me set up 7.1 first
why x86 though?
 
if you are setting up, you might not need to build anything, I can send you a built one
 
10:14 AM
isset($prechat["answer"])?$prechat["answer"]:'';
is giving me undefined index "answer"
 
just because I'm fucking clueless about everything and that's the default
 
Wes
@JoeWatkins i don't know what that means :B
 
I can send a built libui.dll and php_ui.dll, try those first
 
Wes
oh ok, what should i do with them?
i wasn't really following the discussion
 
Anonymous
@PraveenKumar That line isn't causing that error
 
10:19 AM
download those two dll's
put the php_ui.dll one in extension folder
and libui.dll in the same directory as php.exe
and try executing the examples/starfield.php
 
Wes
what php version? x86 7.?? TS?
 
@JayIsTooCommon complete line is this
`$extra = $prechat["label"] .' - '. isset($prechat["answer"])?$prechat["answer"]:'';`
 
PHP 7.1.0-dev (cli) (built: Oct 21 2016 06:27:57) ( ZTS MSVC14 (Visual C++ 2015)
x86 DEBUG )
 
i am pretty sure this is the line that is giving notice
 
Wes
ok i need to compile it anyway, unless windows.php.net has snapshots
 
10:22 AM
there's snaps yeah
 
Wes
windows.php.net/downloads/snaps is that 7.1 or master? does that count?
 
7.1 I think
 
The 7.1 snaps will let you build extensions that will work with any 7.1.x
 
Where can be found source codes of PHP 6 ?
 
This snapshot was automatically generated on
Tue, 25 Oct 2016 09:00:58 +0000

Version: 7.1.0-dev
Branch: HEAD
Build: D:\obj\ts-windows-vc14-x86\Release_TS

Built-in Extensions
 
10:23 AM
Same with every minor version
 
@brzuchal github
 
Anonymous
@PraveenKumar $extra = $prechat["label"] .' - '. (isset($prechat["answer"]) ? $prechat["answer"] : '');
 
which branch ?
 
Wes
downloading
 
10:24 AM
thanks
 
Wes
@brzuchal you forgot the evil laugh :P
 
@JayIsTooCommon thanks i will try that :)
 
buahahahhaha
 
Wes
like, muahahahahaa
 
THX, any way
 
Wes
10:24 AM
:P
 
btw @JoeWatkins I'm building a VM to automate windows builds of some of these non-PECL things
Although equally, if you throw it in PECL then Anatol will do that for you anyway...
 
yeah I got around to asking this morning, he said he'll try
 
@bwoebi please can you do that with php-uv as well kthxbye
 
Wes
@JoeWatkins the program can't start because php7ts_debug.dll is missing from your computer
i think it's not a debug build, the one on windows.php.net
wait
 
crap, it isn't
probably will be quicker if you just build yourself after all
 
Wes
10:35 AM
--enable-debug-pack
i need this, right?
 
that will just make program debug database files, not the debug dll
 
Wes
what do i need for that?
 
if you're going to build php yourself, you should be able to do libui and the extension too ... maybe ...
@Wes you don't ...
 
Wes
i mean, for this php7ts_debug to appear
 
build php from source with --enable-debug
 
Wes
10:38 AM
ah, right that one
ok, compiling
7.1 branch - latest commit is ok?
 
736633310cc5475ee9254321a8f0aeb0cbf797cc
is what I used, but probably head is okay
 
Wes
ah, damn i need to download all the stuff for x86. wait
 
if you have anything better to do, do that ... this can wait until whenever ... but do appreciate the effort ...
 
Wes
nah, curious now... :P wait
 
@JoeWatkins finally I've understood what you were talking about HashTable for symbol table with smart and fancy collision detection chat.stackoverflow.com/transcript/11?m=33553371#33553371 and AFAIK I can create something like HashTable with different Bucket where there will be something which can store different symbols instead of zval. Is that right?
 
10:49 AM
Haha Joe's is awesome
@Duikboot HAPPY BIRFDAY
Currently sat in 'egg-pods' at the Trivago Dusseldorf HQ
 
Wes
@JoeWatkins compiling
 
Like, google-style egg-pods
 
Wes
it only took 20 years to figure out how to compile php on windows
but now i can do it :B
 
Wes
i've disabled all the things so it compiles faster. i did good?
morning peeps
 
10:56 AM
!!lxr _Bucket
 
@DaveRandom Nothing went wrong but I couldn't find a suitable definition. Ping DaveRandom if you think I should have done.
[ /master/Zend/zend_types.h#169 ] typedef struct _Bucket {
 
ugh, is there no hashtable with a void* as the value?
 
that's the _Bucket I was talking about, now only to figure out how to optimally store few symbols with one key instead of zval
 
Wes
@JoeWatkins having millions of warnings and fatal errors
 
inb4 @Wes crying himself to sleep
 
11:08 AM
trying to compile php in windows is horrific
and tbh I wasn't even able to do it... :v
 
fluck.. I can't sleep
 
Wes
me neither, you just try till it works
by accident
 
*nix ftw
 
@DaveRandom AFAIK zend_hash_str_add_new_ptr() stores void* by packing it into zval using ZVAL_PTR macro
 
@Jimbo thx
 
11:19 AM
Is it posiible to check which field in struct union is used without additional info ?
 
@DaveRandom sure, val->value.ptr
@brzuchal how do you mean? At compile time?
 
so it isn't
I mean for eg typedef union _zend_value
 
yeah, at runtime every access translates to the same base address
 
it needs additional field like in struct _zval_struct -> type to know how to retrieve info from _zend_value struct right? that what it is for ?
 
Yes
 
11:23 AM
ok, thx, I'm still learning C
Is it optimal to store pointers in HashTable using zval for it ?
 
@brzuchal given that many uses of Hashtables need zvals, yes
 
Wes
NMAKE : fatal error U1077: 'E:\php-sdk\phpdev\vc14\x86\Release_TS\php.exe' : return code '0xc0000013'
Stop.
 
and for the few cases where pointers are needed, it does only make a difference of 15%
 
for php7 error catching compatible with 5.6:

<?php

namespace Test;

use \Exception as Throwable;
use \Exception;
 
11:27 AM
In size - as opposed to needing an extra indirection + 16 byte alloc for each entry
 
@Wes no luck ?
 
Wes
nope
 
@bwoebi ok, so going to store few symbols under one key in HashTable is it okay to store pointer to one-way-linked list to some for eg. zend_symbol structs which would be an union of { zend_class_entry, zned_function, zend_constant etc. } and additional type int32_t field to store info about stored symbol....
 
I can send you a whole build if you're still curious
 
Wes
trying x64 just to understand if x86 is the problem
 
11:29 AM
@Wes What are you guys working on Oo.
 
where do people put zip files ?
 
Wes
dropbox?
you don't need the client @JoeWatkins use it through browser
dropbox's client is shit
without --enable-debug worked, though
 
C:\php-sdk\build
did it work, or am I terrible ?
 
Wes
wow
 
wat ?
 
Wes
11:39 AM
i'm afraid though, fps is low slightly less than 30fps
but i don't have a good gpu
 
it looks alright though ?
 
Wes
yes looks fine
 
cool, thanks
 
Wes
trying other examples too :P
 
the snake game is crap, I'm sure anyone could do a better job, but it was 2am ...
 
Wes
11:42 AM
snake doesn't move it does
 
press space <- pause
I can't get past level 4 ... like every other computer game I ever played ...
 
Wes
awesome joe :D
how many fps did you get on the vm again?
 
maxed at 20, looked okay, but for some reason has to use rectangles on windows ... haven't found out why yet
 
@JoeWatkins The demo gif where you are playing is funny as hell :P
 
looks pretty cool at 60fps on proper pc, and with circles ...
@PeeHaa it's hard ...
 
11:48 AM
I can see that :D
 
Wes
uses rectangles here too
 
I'm sure it's just a bug in the drawing code .. or I'm doing it wrong ... I don't think I'm doing it wrong ...
I need to stop playing this stupid snake game and do some work ...
4
 
TIL there is a US senator called crapo, which is the best magician name ever.
 
I guess the reason for the lower fps, is that is all the hardware can do ... we are thinking of them as event handlers, but they aren't that ...
well they are, sort of ... but the only event going on is painting the screen, which happens constantly, as much as the gpu can render ... so it's probably that my gpu is requesting 60 repaints a second, and the vm is much lower and your proper hardware is about what we expect ...
 
@JoeWatkins does ui require 7.1 or should it be possible to build it against 7.0?
 
11:57 AM
possible
haven't tried yet, but don't see why not
 
Wes
x64 works too
 
cool, I hadn't got that far yet
 
Wes
now trying x64 with debug enabled
 

« first day (2201 days earlier)      last day (2747 days later) »