« first day (1778 days earlier)      last day (3169 days later) » 

5:02 PM
@JoeWatkins probably because something else had been written to these locations (as it's freed)
or something else…?
 
I really have no idea
 
@JoeWatkins fixed (pushed) the segfault, just the test results are a bit different
 
zend_object doesn't need to be the first element ?
does it ?
it's the other way round I thought ?
 
yeah, that was pre-PHP 7…
 
@bwoebi Huh, why did you swap the order?
 
5:12 PM
dude I'm so fucking confused right now
 
well, it fixes the issue…
 
Hi guys, what framework would you recommend for a PHP beginner who never used any framework? You know, Nette is quite popular in here, but what is worth learning?
 
@NikiC aren't zend_object supposed to be the first element of the struct?
 
no the last now, Im sure of it
or last now if ______ I dunno what the conditions are, some internals have it first ...
 
@bwoebi no, not in php 7
 
5:14 PM
yeah… confused myself then.
dunno why it fixed the issue though then…
 
me neither
 
lol, I see it
 
?
 
5:20 PM
...watching the sausage get made can be pretty entertaining at times
 
(only the change in the header is relevant)
 
ahaha, lol
 
oh ffs
thankyou
no idea why the test still fails ...
wait, ,the test doesn't make sense
why would
be the first key on the first iterator ...
string(5) "key10"
array(1) {
  ["key"]=>
  string(5) "key10"
}
that doesn't make sense, right ?
I'm just gonna change the test, because that's nonsense
it's a stupid test and a stupid iterator ... that, mixed in with my own stupidness, is making for an unhappy joe, I want to leave this shit alone so the test is changing ...
 
@JoeWatkins Yeah, that makes no sense
 
@NikiC @bwoebi <3 u guys, thanks ;)
look what we did :)
 
5:34 PM
mhm… sorry for not being that helpful today^^
 
@JoeWatkins yay
 
nice :>
 
@bwoebi you were there, that's helpful, moar eyes is always better
oh I know that name ... hai @Stricted
 
FAILED TEST SUMMARY
---------------------------------------------------------------------
APC: Bug #61742 preload_path does not work due to incorrect string length (variant 1) (php 5.4) [ext/apcu/tests/apc54_014.phpt]
 
hi @JoeWatkins
 
5:36 PM
bugger
 
@JoeWatkins basically I'm getting bool(false) 30 times in that script (instead of the expected output)
 
I'm still calling yay, travis is green, everything is okay .... /me puts fingers in ears and sings la la la la la really loud
 
@JoeWatkins hehehehe :-)
 
@tereško are you there? I had some great advices and changed the build. I think Iam going to order this one but not sure if components are 100% compatible: de.pcpartpicker.com/user/evertrue/saved/tRfgXL
 
@bwoebi that's a server based test, connected to that maybe ?
 
5:37 PM
Mornings
 
@JoeWatkins yeah, probably. Don't know what's going wrong there though.
 
testing in httpd/fpm is next, guess I'll find out ...
 
moring Ronni
 
or I guess I can call for testers now actually ...
 
@ycelik lol. I would disagree with most of those suggestions, except the CPU choice
the PSU is shit and case has air flow issues,
 
5:40 PM
@bwoebi Any idea what version of libuv is required for the old version of php-uv?
 
someone tried to do a lot of cost cutting in the wrong parts
 
@Trowski something before 1.0
 
@tereško what do you think about the mainboard and graphic card. remember i just want to plug 3 monitors.
 
ty
 
@Trowski why do you ask?
 
5:42 PM
@bwoebi I was hoping on making a 5.x compatible loop implementation with it, though I'm not sure it's worth my time.
 
@ycelik it's a 5 year old card and I dont even think it can plug in 3 monitors.
 
/me runs away from computer while I have a little sanity remaining
 
hell, that thing comes with VGA connector
 
lata chaps ... thanks again @NikiC @bwoebi <3
 
@Trowski you can definitely do that… the PHP 5 code should work on 7 too…
there just are minor differences
 
5:44 PM
@ycelik, basically, whoever made it, sacrifices everything else to put that CPU in the build .. and to know whether motherboad is good, you would have to see some reviews
 
@bwoebi Requiring old libuv is kind of silly though.
 
@Trowski Well, it works.
some internal APIs changed, but on php-uv level, it's nearly everything still the same anyway.
 
@tereško i changed the motherboard, case and psu as you suggested. the graphic card supports 3 monitors (reviews on amazon) amazon.de/Sapphire-HD6450-Grafikkarte-Radeon-Speicher/dp/…
@tereško another alternative would be this one but it has mini hdmi so i would need a adapter. its also cheaper than the r9 270: Zotac GeForce GTX 750, 1GB GDDR5, 2x DVI, Mini HDMI (ZT-70701-10M)
 
Abe
@JoeWatkins i wonder when github will get a fluid layout
 
6:07 PM
@ycelik all I can recommend for you is to ask around more. I was digging through internet 3 month before I bought my machine.
as for that particular GeForce: I don't know whether it could actually use 3 screens
.. it should .. probably
 
@tereško ok man, thanks for your support you helped me a lot!
 
6:23 PM
Does anybody else have issues with loading fonts.googleapis.com/css?family=Source+Code+Pro|Lato?
 
works for me though.
One of the reasons why I think off-loading JS and fonts to other sites is not a good idea...
 
Oh, got a 404 now.. the main site worked before and redirected me to google.com
 
6:57 PM
@Danack isup.me is an alias that is much easier to remember and to type.
 
 
1 hour later…
8:00 PM
looks like you inspired someone @ircmaxell ;)
 
The RFC is obviously very much in its infancy.
The author is "not a C-coder" so I don't expect it will go anywhere unless someone else who knows php-src joins the cause.
The biggest concern I have about generics in our current engine is the overhead. It will require a lot of added complexity and will almost certainly be expensive at runtime.
 
I'm indifferent, I haven't had a need for generics yet
or maybe I have, and I just ignorantly worked around them
 
so, @samaYo, did you try the book?
 
@ScottArciszewski Even if we get generics the standard library won't be using them and switching them to use generics would be a BC break.
Given how poorly most of internals reacts to BC breaks I don't think it would ever happen.
So we'd have generics that don't integrate that well with the existing language and libraries.
 
yeah, :\
 
8:07 PM
So is it worth it? I think I lean towards, "Probably not."
 
I just thought it was interesting
 
Anonymous
@tereško nope. Saving it for a special time
 
Anonymous
@Patrick ping
 
8:23 PM
@LeviMorrison Why would it be a BC break, can't they just default to XY<*, *, ...>?
 
is it possible a question (with almost +50 voteup) be deleted?
I saw a question in stackoverflow last week, but I can not find it again :(
 
@kelunik What value does it bring?
 
Anonymous
@Sajad what question was that?
 
it was about innodb and myisam... the difference was shown
 
@LeviMorrison Generics in general or the default thing?
 
Anonymous
 
@kelunik no ! I know if I give it upvote it will be stored in my account
@samaYo tnx
ok, one question, MyISAM is good for just search, and my website is actually a Search Engine (the main part on my website is searching), But also my posts are editable, omissible, so I choose MyISAM or InnoDB ?
 
Anonymous
use separate databases with separate engines.
 
Anonymous
@crypticツ ping for no reason
 
How can I make my session variables to work on sub domains??
 
8:39 PM
"php": ">=5.3 <7.1" is this composer version constraint line correct where it requires PHP 5.3.0 at min and PHP 7.0.0 max?
@samaYo ping back
 
@crypticツ should be fine, yes
But why do you want to limit it?
 
i used session_set_cookie_params() but it didn't work :(
 
What is the most advanced PHP technics and usage?
 
@Mr.NaViD What did you set exactly?
 
@kelunik can't newer PHP versions break code due to remove or changed features?
 
8:41 PM
session_set_cookie_params(time()+3600, '/', '.my-domain.ir');
 
@samaYo what is your mean ? I have just 1 table named "Posts", what Storage Engine is good for me ? (mostly it is used for searching)
 
@crypticツ They could, but don't ensure that by limiting it in the composer file.
 
I also used the .htaccess but it didn't work too :((
 
@Mr.NaViD Did you call it before session_start?
 
Anonymous
@Sajad I meant, you can use two databases or two tables with separate engines, myisam or innodb.
 
8:44 PM
the same table with two engines ?
 
of course
 
@Mr.NaViD me ?
 
Nope!:P,I'm talking to kelunik
 
@Mr.NaViD alright
 
8:45 PM
@Mr.NaViD Did you have a look at the cookie actually being sent?
 
@Sajad MyISAM is shit for search
well .. SQL is shit for search as whole
 
342
A: MyISAM versus InnoDB

developer99I have briefly discuss this matter by table so you can conclude which has to be chosen either InnoDB or MyISAM. http://developer99.blogspot.com/2011/07/mysql-innodb-vs-myisam.html Here is a small overview of which type you should use in which situation: ...

 
@crypticツ You have to update it even if nothing breaks, I'm not a big fan of that. As PHP tries to minimize the actual BC breaks, I wouldn't worry.
 
Frequent select queries | MyISAM : Yes
 
@kelunik would you please guide me how to this??
 
8:47 PM
@Mr.NaViD Which browser do you use?
 
@Sajad twitter has frequent SELECT queries
as the answer states, if you are using MySQL, choosing InnoDB is always better option
 
@kelunik I'm using FireFox
 
@tereško I need to full-text, what is your offer? innodb ?
 
Press Ctrl + Shift + K to open the DevTools and have a look at the network panel, you can inspect the responses there.
@Sajad e.g. ElasticSearch ;-)
 
@kelunik I don't know what's that
 
Anonymous
8:50 PM
it's irrelephant
 
@Sajad InnoDB supports full text search, But, if you want to do it right, you should be using someing like Sphinx or ElasticSearch
as I already said, SQL is shit for search
 
@tereško aha, ElasticSearch is a engines.
@tereško do you know what is the engine of stackoverflow tables ?
I like them, they are really fast
 
@Sajad I dont know, but I know that SO is made using C# and "ASP.NET MVC" framework (yes, it's one of those badly named Microsoft products)
 
what ??!?! SO is not php ??
 
455
Q: Which tools and technologies are used to build the Stack Exchange Network?

aleembWhat tools and technologies are used to build the Stack Exchange Network? See also: Which tools and technologies are used to build Data Explorer? Return to FAQ index

 
8:54 PM
ow, too bad !!!! I thought SO created by php.
 
SO is actually using ElasticSearch, as it turns out
 
why I learned php :(
workbench supports ElasticSearch ?
 
"learned" may be a strong word
 
@PaulCrovella correction: learned a bit
 
@Sajad does workbench support mp3?
 
8:57 PM
@tereško what ? stupid question ...! mp3 is related to music, not a database engine
 
@kelunik I think yes,the cookies are being sent
 
ElasticSearch is a separate service, that runs on a server. It uses data from a database (which may or may not be MySQL)
though, @Sajad, I would recommend using Sphinx search engine.
ElasticSearch is a Java-thing. It will have a lot higher resource requirements.
 
@Mr.NaViD With the correct domain?
 
@tereško look, my website is not just full-text, it is also indexed (where id='$id'), still you offer Sphinx ? and also I need to update, delete, insert sometimes, still Sphinx a good choose for me ?
 
@kelunik I think no!!!
 
9:02 PM
@Sajad what are you talking about? I never said that Sphinx would replace MySQL in your site.
it would just provide the text-search functionality
 
what is Sphinx exactly ?
 
did you try reading about it?
 
yes, but seems it is a place
 
@kelunik So what should I now???
 
9:04 PM
@tereško tnx, just what is google-fu ? your mean is "search in gooole ?"
 
Anonymous
my god you suck
 
@Mr.NaViD I don't know any of your code, so I can't tell you.
Anyway, have to leave now, 'night.
 
@kelunik good night.
Does anyone knows a way in addition to session_set_cookie_params()??
 
Can someone please help me with this query I been trying to solve since a week ago pastebin.com/kAK0v70M. I want to get the distance according to user radius setting. I really appreciate it
Now it also pull the further distance if I include the ORDER BY time DESC
 
9:38 PM
Morning people's
 
9:57 PM
internet makes me sad
 
Good morning
 
10:18 PM
@tereško so, what should I say !!!!
 
I am referring to the link I posted afterwards
my suspicion is that you don't really use (yet) OpenVRT/DD-VRT in your local network infrastructure
 
aha - no I don't
 
1
Q: PHP login hash password changing all time

goeiu3euHello guys i have some problems with hash tag for my password: I have problem with logining because this hash always refreshing .. And i have one more question is this secure login ? Login: $email = htmlentities(addslashes($_POST['email'])); $password = create_hash($_POST['password']); $ip_adr...

 
@goeiu3eu there are line 100 things wrong with that piece of code
 
10:24 PM
can u give me example how is good code?
i cant get this verify
 
1st: learn to use prepared statements for SQL
2nd: use the new API for passwords - php.net/manual/en/book.password.php
3rd: don't store hashed password in cookies
 
basically: read the answer you've already been given
 
yes but i dont know very good english
so i cant to understand all
 
then why did you ask a question in an english-only site?
 
i know english but not good
 
10:28 PM
you are barely able to even make a sentence .. I know latin better than you know english
 
yes but im from serbia
:D
 
@goeiu3eu there are development forums in your own country: mycity.rs/PHP
also, you really should go into programming, if you don't know english
99.9% of all the materials for programming are in english .. there is no way around it
 
man
 
sup
 
i know alot about programing but i never fallow tutorials
 
10:32 PM
@tereško in a good mood today?
:D
 
i maked alot of good projects
 
nevermind the tutorials, the APIs are in english
 
so-so .. kinda tired
 
oh
 
@goeiu3eu you wrote this: setcookie('password', md5($_POST['password']), time()+ $mesec);
sorry, but that is not even on the same planet as "good"
 
10:34 PM
www.xredirect.info
 
guys can I combine two columns that both contain an integer? for example $row['metal + wood']
metal contains 2 and wood 10 lets say. Combined it should be echoed 12
 
meybe like
 
@Demorus you mean in SQL?
 
@tereško mysql
yes sql
 
SELECT (wood + metal) AS stuff FROM Materials
you really should get a book on SQL, @Demorus
 
10:38 PM
@teresko indeed. I learned a lot of php but I need to read more about sql. Any books you would say are any good?
 
this would be a good option (you can find it on torrents)
the rule-of-thumb is "avoid mysql books what have AND in title"
 
teresko u got skype or something?
 
thanks for the book, alot
 
for example, if you see title like this: "Learning PHP, MySQL & JavaScript: With jQuery, CSS & HTML5" then AVOID AT ALL COSTS
 
"How to do nothing right with everything at once!"
 
10:41 PM
because of the jquery right? jquery is for newbies? or you mean how the titles are composed
 
no, because it claims to teach everything .. same as this book: "Murach's PHP and MySQL, 2nd Edition" - also crap
 
there is a saying: those you claim to know everything no nothing. I did start a book called beginning php and mysql but then stopped reading as it was somehow basic
 
11:13 PM
@Trowski So.... I have a 'tocallable' patch which took about 10% of the time I thought it would take.
I think I still need to do some lowercasing of things, but it mostly works.
 
oh, "to-callable"... for some reason I was reading it as "tocall-able" and wondering wtf "tocall" was
 
yeah.....that naming of things....
 
Anonymous
11:48 PM
bored
 
11:59 PM
humble bundle store has Stealth Inc 2 for free right now, looks like a pretty good game
 

« first day (1778 days earlier)      last day (3169 days later) »