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

08:00
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..
08:01
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 ?
08:02
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 ^^
08:06
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
08:20
<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
08:24
oh, cthhhhtttuhhhlkulu as in oracle
Mornins
morning @pmmaga
@PeeHaa I think I crashed it
:D
08:26
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
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 ...
08:28
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
08:30
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
08:33
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
cool, ta
Wes
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
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.
08:44
moin
@Wes much obliged
Anonymous
lol
Anonymous
o/
Wes
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
Wes
08:48
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
...
08:55
.. 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
09:02
lol
Wes
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
Wes
here's @bwoebi i.imgur.com/3ULm7tX.jpg
9
ok. seriously off. 5 am.
09:03
@Wes … I am disappointed …
Wes
Wes
you are not @bwoebi
just wear it
and don't ask
Wes
Wes
someone figured it out?
@bwoebi put it on :P
it will make sense eventually, trust me
Anonymous
@Wes ahahaha
Anonymous
beautiful
Wes
Wes
09:08
if you figured it out, shhh
Anonymous
(Y)
Wes
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
Wes
you will find out eventually :P don't ruin it!
@Wes I'll find out by you telling me now…
09:13
\o
Wes
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
Wes
shhh
Wes
Wes
09:19
true story
Where's your own avatar wesley?
And Jeeves :P
Wes
Wes
i'll do it later
where's mine :<
Wes
Wes
09:20
Jeeves, Somewhere on a server in a galaxy far far away
168 1 8
OH!
@Jeeves was the first :D
Wes
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
09:21
indeed
@Sean's avatar too
top 3 I'd say :P
Wes
Wes
thanks :B
Yeah :)
Wes
Wes
i think my fav is teresko's
@PeeHaa tereško avtar
ping @bwoebi
09:22
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
Wes
linus, jay, kelunik are in the todo
+NikiC
@JoeWatkins OK! @bwoebi @bwoebi @bwoebi
@bwoebi
09:23
:P
@bwoebi @bwoebi
Wes
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
09:24
@Wes ?
Wes
Wes
no he didn't
ahaha :D
Anonymous
lol
@DaveRandom norty
Wes
Wes
@DaveRandom nothing, move on sir :P
09:26
ftr I frequently don't figure things out even after someone explains it to me
Wes
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 ?
09:42
@JoeWatkins on my machine remotely? Sure, in ca. 4 hours when I'm back home
thankyou <3
Anonymous
o/
o/
Anonymous
09:56
!!wotd
soupbone: a pitcher's throwing arm.
btw where is your Halloween avatar @Jay
Anonymous
@Archer I'm waiting for @PeeHaa to send me a selfie.
10:02
@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
I need someone with an actual windows pc
yeah that just crossed my mind @PeeHaa
Wes
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
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
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
Wes
ie, i don't need actual msvc to compile php, only the vc compiler
@Archer that's how homeopathy works
10:11
oh no ... oh no no no
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
Wes
are you sure about that. if i put stuff in the deps folder it usually works
(must accept binaries)
Wes
Wes
i did imagick once :P
10:12
@Wes then I dunno
Wes
Wes
do you want me to try?
Yes please
yeah
well, you'll need to try and build libui first
that needs cmake
Wes
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
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
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
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
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
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
Wes
ok i need to compile it anyway, unless windows.php.net has snapshots
10:22
there's snaps yeah
Wes
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
Same with every minor version
@brzuchal github
Anonymous
@PraveenKumar $extra = $prechat["label"] .' - '. (isset($prechat["answer"]) ? $prechat["answer"] : '');
which branch ?
Wes
Wes
downloading
10:24
thanks
Wes
Wes
@brzuchal you forgot the evil laugh :P
@JayIsTooCommon thanks i will try that :)
buahahahhaha
Wes
Wes
like, muahahahahaa
THX, any way
Wes
Wes
10:24
: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
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
Wes
10:35
--enable-debug-pack
i need this, right?
that will just make program debug database files, not the debug dll
Wes
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
Wes
i mean, for this php7ts_debug to appear
build php from source with --enable-debug
Wes
Wes
10:38
ah, right that one
ok, compiling
7.1 branch - latest commit is ok?
736633310cc5475ee9254321a8f0aeb0cbf797cc
is what I used, but probably head is okay
Wes
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
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
Haha Joe's is awesome
@Duikboot HAPPY BIRFDAY
Currently sat in 'egg-pods' at the Trivago Dusseldorf HQ
Wes
Wes
@JoeWatkins compiling
Like, google-style egg-pods
Wes
Wes
it only took 20 years to figure out how to compile php on windows
but now i can do it :B
Wes
Wes
i've disabled all the things so it compiles faster. i did good?
morning peeps
10:56
!!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
Wes
@JoeWatkins having millions of warnings and fatal errors
inb4 @Wes crying himself to sleep
11:08
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
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
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
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
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
In size - as opposed to needing an extra indirection + 16 byte alloc for each entry
@Wes no luck ?
Wes
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
Wes
trying x64 just to understand if x86 is the problem
11:29
@Wes What are you guys working on Oo.
where do people put zip files ?
Wes
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
Wes
wow
Wes
Wes
11:39
i'm afraid though, fps is low slightly less than 30fps
but i don't have a good gpu
it looks alright though ?
Wes
Wes
yes looks fine
cool, thanks
Wes
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
Wes
11:42
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
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
I can see that :D
Wes
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
possible
haven't tried yet, but don't see why not
Wes
Wes
x64 works too
cool, I hadn't got that far yet
Wes
Wes
now trying x64 with debug enabled

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