« first day (1470 days earlier)      last day (3478 days later) » 

3:06 PM
shit. Compiling wine - 2h. Setting up pos - 2h. Downloading game client - 2h. And only to see that "oops, there is such problem with direct3d". Sigh. That oops has 4 mistakes in spelling.
 
@PeeHaa What? Creating a question just to create a tag, and so get that glorious tag creation badge? That's despicable!
 
@hakre Yep only single user
@Fabien Finding wha?
@Danack Valid point, single user though
 
then you might as well hash the username
if it is a security concern
 
@PeeHaa case insensitive is OK.
 
@Danack hehehe that question crossed my mind. That question does ask something somewhat specific though rather than "what does php do"?
 
3:17 PM
@ziGi heyy dude
 
@hakre Could you drop a comment on the PR? :)
 
@PeeHaa sure :)
 
you can now set the ticket to feedback required.
 
@hakre Good one
tnx @hakre
 
3:29 PM
question about mongodb 64 bit
is there anyone using?
 
@Teomanshipahi Yes
yw
 
I am pretty new to mongo db I have been working with mssql
so i have new application which is close to social apps like instagram, pinterest
I am thinking to use mongodb on my ec2 instance
I am thinking to model my db like, every user will only 1 node,
so all related items will be stored under this node like
user.friends, user.images, user.followers
etc...
will it be a good approach?
 
I don't know I don't use mongodb
 
I see.. I know if I ask this question at SO it will be closed because it is not pointing a specific problem :)
 
If I were you I would take 1 step back.
Why do you think you need to use mongodb?
 
3:33 PM
because I will need to create all bunch of tables
and inner joins to retreive my data
 
Sooooooooooo? :)
 
I hate output buffering in PHP :-(
 
I am failing to see the jump from joins to mongodb
 
So it will be time consuming plus
not scalable at performance
 
3:34 PM
@Teomanshipahi Mongodb does not solve that problem. You want something like a graph DB e.g. Neo4J
 
I am reading mongodb book on the side but not yet proficient enough to make decision
 
hjey @Mr.Alien. You still are having issues rendering a footer thingy?
 
so you are saying it will be slow performance at mongodb?
because I know that it is schema less so creating datas will be on the spot
 
I'd suggest you read a lot more to understand what you are attempting to do. The problem with social sites is that running queries using a traditional scheme (in either SQL or mongoDB) requires joining of potentially huge datasets, which are slow no matter what you use. A graph storage method avoids the huge joins...and presents many other problems instead.
 
You are trying to solve a non existent problem @Teomanshipahi
You think you have a problem. And you are trying to solve the problem you think you have :)
9/10 times that is useless
\o/ @salathe halloweenified his avatar
 
3:44 PM
@bwoebi Which part?
 
@NikiC in phpdbg: run into a fatal and then try to output something via ev. like ev print "abc" - It all appears only later when I reset the engine later (e.g. for next script or quit).
 
         \\
    .-'```^```'-.
   /   /\ __ /\  \
   |   ^^ \/ ^^  |
   \   \_.__._/  /
    `'-.......-'`
3
 
^ :)
 
@PeeHaa :) The book I am reading (amazon.com/MongoDB-Action-Kyle-Banker/dp/1935182870/…) talking about solving this kinds of problem. So who is wrong? :)
 
@Teomanshipahi You are
 
3:48 PM
thanks :)
 
You don't have a problem right now
Yet you are trying to solve it
 
I do not say I have problem
 
@NikiC same issue when there's an user defined output handler. How can I backup all the current output handlers and install them back later?
 
I have a question I said
 
@Teomanshipahi Exactly
So you don't have a problem, how can you think about a solution then?
 
3:49 PM
If I would want to create walmart like data storage system I would not ask this question because I know relational db will be good approach
because I know it pretty well
but datamodel I am going to create will not match will relational db
so my question will MongoDB will match?
its that simple :)
 
@NikiC but it's necessary that the OG(flags) & PHP_OUTPUT_ACTIVATED remains true so that all output is still routed through sapi_module_struct->ub_write...
 
so I have a question here, right?
tell me @PeeHaa!
:)
 
We have a saying around here: If MongoDB is the answer, you're asking the wrong question.
6
 
nobody likes it here?
 
sorry, I'm just trolling here ;)
but yeah, mongodb isn't a particularly well respected piece of software
 
3:53 PM
1) You don't have a problem right now 2) You don't know mongodb 3) You haven't seen other solutions yet 4) You do know RDBMS X
Does mongodb really seem like the right choice?
 
nice!
 
Not sure there's much point getting mine done - i.stack.imgur.com/01t5l.jpg?s=128&g=1&g&s=128
 
@Danack make it zombie like and add a bit of teared flesh hanging from your teeth
 
1) question/problem: how to store these kind of data storage, what is best fit?
2) I am learning, and want to see what is capability
3) how on earth I can see other solutions without asking?
4) I know and I know that it is not good match what I want to do
so anyway no more discussion here :) peace!
 
3:58 PM
18 mins ago, by Danack
I'd suggest you read a lot more to understand what you are attempting to do. The problem with social sites is that running queries using a traditional scheme (in either SQL or mongoDB) requires joining of potentially huge datasets, which are slow no matter what you use. A graph storage method avoids the huge joins...and presents many other problems instead.
 
@Danack got it, thanks for suggestion :)
 
4:18 PM
CATCH ALL THE THINGS EXCEPTIONS!
 
4:41 PM
@VeeeneX Please print this out and nail it to your office door - today.java.net/article/2006/04/04/…
 
xD
@VeeeneX lovin it, you want comments there you got them :)
 
In an upvote/downvote system, should I be logging every user vote (both upvote and downvote)? Or should I log it once (if it's the first time they're voting) and then update that value in the future when if they change their vote?
 
Hello all,
I wasn't doing anything earlier today, and I am not having this problem. And I don't need your help at all ;)
@DemCodeLines *That moment xD
 
I would say write it once, update in the further.
Because I don't think if you have 10.000 people on a site voting and switching their mind that you have a table of 20.000 rows when you can keep it with 10.000
unless you also have a vote history ofcourse, but I don't see the use of that.
 
4:56 PM
@MikeM. that leads to a second problem: how do you check if a value exists already in oracle
 
uhm what do you mean?
 
I need to check if the user has already voted. If they have, then update that value, if not then insert a new row
 
Most likely you do that with the programming language not with a query...
 
yeah i know, but oracle isn't the most friendly language out there.
 
do a simple select query with a where statement on the userid.
if that outputs a row then use the update query
else use the insert query
for example
if($rowcount > 0){
//update
}else{
//insert
}
$rowcount is the counted rows of your select query ofcourse.
 
5:00 PM
@PeeHaa: the trolling continues. ^^
 
That's how I'd solve it...
 
@MikeM. yup, just trying to see if oracle allows you get the number of rows selected in a select query
 
@DemCodeLines I believe you can do that with the count function
 
that would be php
I am just trying to count in the query itself
 
like: SELECT COUNT(ARG) FROM table WHERE userid = 'id'
 
5:03 PM
actually never mind that'd be pointless
 
the count can be done inline with the query using the count function
or using the programming/scripting language I believe it was ->rowCount for pdo
 
@Danack :D
I can't stop laughing
 
So, sometimes I love PHP.
And today it bit me
 
BTW, it's not my code
 
@AndreaFaulds want to talk about it? xD
 
5:06 PM
fucking always_populate_raw_post_data and php://input and JSON and fuck
 
:DDDD
 
I'm not even sure if I've fixed the issue I was getting
argh
 
@MikeM Yes, that's funny :D
 
@AndreaFaulds Error: To many fucks given.
 
I'm sure Levi will come by to chastise me soon
 
5:07 PM
xD
 
@JoeWatkins word
 
I liked how Joe mentioned Derick mocking PHPDBG at PHPNW14 because he didn't know how to use it
 
lol yes, I am just keeping it simple. — Lynn Adrianna 42 mins ago
@hakre yeap noticed it :-)
 
heading out for a while, tty iab
 
today I learned about OTP language but I have to go shopping groceries now.
I'm already late.
 
5:27 PM
@hakre also known as "erlang"
 
5:40 PM
@NikiC how we fix outputting errors… :-D github.com/krakjoe/phpdbg/commit/…
 
@ircmaxell I thought I'd need you ...
I managed to stay calm :)
 
@tereško also known as Outlaw Techno Psychobitch (cc @hakre )
 
@JoeWatkins great :-)
 
@PeeHaa that's hilarious
I got some racist hate mail once from a chat user once
 
@JoeWatkins just being a bit disappointed how you find no time for phpdbg currently but for a lot other php-src awesomeness.
 
5:43 PM
Type:AskAQuestion
Name:Zgee
Email:zgeegi@gmail.com
Subject:Nice report
Message:And you Benjamin Gruenbaum said you're not attracted to money like other Jews. what a bunch of bullshit, look this site... Preparing DDoS attack against this one
I'd love to know if he actually tried to DDoS Microsoft Azure, that'd be even funnier, although people rarely follow up with these threats.
Let's just say it made for some laughs in the office.
 
Hahahhahaha. God that one is also pretty awesome :)
 
Oh, and a year ago I interviewed for a newspaper in Estonia
 
@bwoebi I have my fingers in many pies, I'm stretched thin ... I'll still work on phpdbg when it needs me, all the recent work was your baby, I wanted you to have that, because you put all the work in ...
 
@JoeWatkins yeah, but there are other issues open which aren't related to my work.
 
I see that yeah, coming to it ... thin ...
 
@JoeWatkins actually I see, each time that I debug with phpdbg…
 
The comments are now removed but they were all racist.
They were not even offensive, they were like "A Jew, Jesus was a Jew" "Jews are good with money" etc...
I was shocked and lmfao'd at the same time.
 
:D
 
... first run ... want to run again ...
prompt> r
[PHP Fatal error:  Cannot redeclare handler() (previously declared in /webserver/index.php:5) in /webserver/index.php on line 7]
I always forget to clean, systematically.
 
Also for some reason chrome doesn't think it needs to translate that page
 
5:48 PM
I just don't really know how to solve that issue efficiently.
 
@PeeHaa for me it started translating pages but not telling me - for example it translates the page and didn't tell me.
 
@bwoebi I'll make some time for it next week ...
 
@BenjaminGruenbaum lol that is confusing :P
 
@JoeWatkins @JoeWatkins I'd say: clean by default, add an option to not clean when running. Or how do you think it's best?
 
version in master is still reported as 4.0, we should probably change that ...
 
5:50 PM
@PeeHaa I was like "WTF?!? That was in English?"
Anyway, off to see Dracula, tty all later.
 
Later @BenjaminGruenbaum
 
@JoeWatkins go for it.
 
@bwoebi yeah, there was talk of doing what gdb does at the beginning, asking the user to confirm they want to run again and then cleaning automatically ... but I guess that might present a problem for the remote stuff, so probably just do the clean ...
 
@JoeWatkins maybe run --force for remote stuff?
so that there's no confirmation
 
have you ever typed no when gdb asked you if you want to start again ?
 
5:53 PM
yes
 
I don't think I have, it might be sensible to just do what is necessary to run again ?
 
because I've already used the arrow-up key not often enough and landed on "r"...
 
ah
or maybe we could have another command, like "replay" .... only not replay because begins with r
 
replay? should do what?
 
start from the beginning, clean environment then run ...
 
5:56 PM
@joe looks like you did well :-)
And @bwoebi too
 
I got Dericks silence like: "Fuck it, I'm out, fuck you too!"
@JoeWatkins hmhm
 
I am seeing him tonight, so...
 
@ircmaxell how comes?
 
@ircmaxell imagine you'll have to listen to more ...
 
Nope, I will tell him the truth if he brings it up: to stop acting childish
But it won't come up
 
6:02 PM
He seems a nice guy in person. And pretty good taste in beverages.
 
Yup
 
well ...
 
hi everyone
 
he shook my hand minutes before he gave that talk ...
nice isn't a word I would use to describe him ...
 
From what I hear… seems like he's always nice in direct interaction with persons… but from the moment on he addresses more people or totally indirectly via email…
 
6:04 PM
can anyone offer assistance , i have an issue with url rewritting
 
Oct 18 at 14:13, by Danack
Jul 27 at 21:28, by Danack
Hello, I have a problem, but I am too lazy to write the question out until some says that they will help me. http://sol.gfxile.net/dontask.html
 
how could i removed the id and display just the title in the url ?
 
@JoeWatkins Okay, I think I now know how to solve it: ask if not in xml mode. If we're in xml mode, it's the other sides responsability.
 
i am using a get request
 
@bwoebi yep, sounds fine to me
 
6:06 PM
@LukeSmith Using a redirect?
 
hi no
its navigation
@PeeHaa its a nav link but i want to display the title not the id of the nav in the url
 
Then display the title instead of the id in your html?
 
is it possible to just display title and not the id its dynamic link , yes
 
yes it is possible, but it has nothing to do with url rewriting
kinda
 
@PeeHaa i have this at the moment page=2-hello-world
 
6:09 PM
What do your current rewrites look like?
 
@PeeHaa and i want it to be just page/hello-world
@PeeHaa i did this basically (i am very new to url rewritting) RewriteRule ^page=([0-9a-zA-Z]+) page.php?page=$1 [NC,L]
 
@LukeSmith And what do you think that that does?
 
@PeeHaa why does your avatar have part of a severed finger and blood all over it ?
 
@PeeHaa are there any tutorials or articles on url rewritting but easy ones , as the ones i have seen is complocated
 
@JoeWatkins It's halloweenified!
 
6:12 PM
scary shit ...
 
@LukeSmith Lots of them. But what do you think that rule (the one you currently have) does?
@JoeWatkins :-)
 
@PeeHaa to be honest not what i want it to do , its just getting the id not the title
 
@LukeSmith Is the title already in the url?
 
yes
 
What does you current url look like?
 
6:15 PM
@PeeHaa it looks like this currrenly apage=1-hello+world
@PeeHaa echo "<a href=\"article=";
echo urlencode($id);
echo "-";
echo urlencode($page_title);
echo "\">";
@PeeHaa i feel like i have made a mess tho
 
Yeah that kinda looks somewhat messy :)
 
@PeeHaa i was messing around with it thats why , i want something clean and simple to do
 
So an example of a rendered URL would look something like article=1337-My+awesome+title?
 
@PeeHaa but i need without the number/id
 
For starters you are using the equals sign in an URL, which is not valid.
It is used for key / value pairs in query string parameters
 
6:22 PM
@PeeHaa could you give me an example
@PeeHaa oh
 
http://example.com/something?foo=bar
So you might have to encode the =, but I would totally advise against that, because I am not sure what happens when you do that, because there is a chance that once it gets to the webserver it is already decoded and your webserver will still get confused (not 100% sure about that one though)
What about using URLs instead of the format /page/title?
 
@PeeHaa could you show me an example
 
Of what?
 
@PeeHaa example of url rewritting for clean urls
 
@LukeSmith my advice would be: stop messing with .htaccess and do the routing on PHP side. This might help: stackoverflow.com/a/19309893/727208
 
6:28 PM
tnx I was looking for an SO post
 
I don't remember voting on making phpdbg a core project
I remember voting on distributing phpdbg with php ...
 
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [L]
here .. @LukeSmith , that's it
the rest of the stuff gets handles on PHP end
 
It seems to me it's only an accident that our source code is in /sapi, telling us we have to abide by some process and ask permission to develop our software is akin to telling apache they have to do the same to have their sapi bundled. We could complicate matters by separating the implementation from php completely, only distributing a thin sapi client, and then we would be in the same position as apache exactly.
 
@tereško will have a look now thanks
 
I'm not sure I want to start taking direction ... I actually don't ...
@ircmaxell am I wrong ?
 
6:31 PM
@JoeWatkins I think you are wrong
 
why ?
 
@tereško so this will provide clean urls? and remove the .php at the end?
 
If you ship something as part of PHP, then you should develop it in the PHP repo and discuss major changes on the PHP mailing list
 
@LukeSmith read the linked post
 
If you don't want to do that, don't ship with PHP. Both has advantages
 
6:32 PM
other sapi's don't do that, what's different ?
well it's impossible to ship a sapi outside of php-src ...
not impossible, but practically impossible ...
 
@JoeWatkins Huh, what don't they do? Other SAPIs get basically zero changes. The only major SAPI change that happened recently was the builtin-webserver and I'm sure that was discussed beforehand (maybe even an RFC?)
 
apache never changes ?
 
The apache sapi that ships with php doesn't change
well, changes very little
 
yes, and we could separate the implementation from the sapi client, we could do the same thing, it's only an accident that we are not ...
 
you could, but you don't
the code is in php-src, which among other things also means that people have to maintain it as part of php-src
phpdbg is really similar to opcache
 
6:35 PM
for the sake of simplicity, but we could do that ... phpdbg is not an internals project right now, this is the first time since we started that anyone has said it should be ...
it's merged into php-src, but it's developed elsewhere, we distribute it with php because it's the only way to sensibly do that ...
plus we're not actually doing anything that is even questionable, there are good technical reasons to want to use a new protocol ... you can assume there are good technical reasons for any decision we take ...
 
I don't have an opinion on the protocol (as I know exactly zero about debugging protocols)
 
@NikiC also, phpdbg has no direct parents in php 7 anymore. I'll try to shift it more and more off to php-src, but phpdbg currently has support for 5.4 and 5.5 which would get lost if we develop in php-src only.
 
I'm just saying that if phpdbg is part of php-src, then it should follow the usual process. Dropping a mail to the list on the topic would have been nice, imho.
 
@NikiC think about what you are saying ... you have something useful to say on nearly every topic discussed ...
 
@bwoebi Does the phpdbg code in master contain any version ifdefs?
 
6:41 PM
you want us to run every decision we make past people less qualified than yourself to weight in ...
 
@NikiC I hope not. I removed them as I've seen them.
@NikiC in krakjoe/phpdbg, master, yes, it does.
 
@bwoebi cool
@JoeWatkins Not all topics on the mailing list are relevant to everyone. This one would only be relevant to people who're working on debuggers.
 
I'm not averse to notifying internals when we are making changes, but seeking permission to do so, I am averse too ...
 
Also, phpdbg is at its own, so, it's not critical if it gets upgrades between micros etc.
It doesn't really break any BC if phpdbg changes something, except the XML protocol.
 
the internals process doesn't make sense for us ... it really doesn't ... we'll do everyone the courtesy of notifying when we intend to make this kind of change in future, but we're not seeking permission ...
nobody has even been listening up until yesterday ... about five people from internals have been involved in bugs/issues, one of those disappeared, the other is anatol ... the other three are us ...
 
6:51 PM
@JoeWatkins apcu does not have some function to get the configuration for it right? Meaning I have to do a ini_get_all to get it?
 
@PeeHaa right
 
ty
 
@NikiC When people would like to get, they also should give. I hardly ever heard feedback about phpdbg. Nobody except maybe 6 people at most ever looked deeper at its source… So, what should I do when nobody seems to care? I just do then.
 
that's what I just said, I thought 5 :)
 
yes, 5 plus one maybe.
 
6:57 PM
it's been getting merged for months, it's confusing that it suddenly matters ...
 
because it's maybe the first major thing in phpdbg since watchpoints?
 
Hello
 
possibly, more likely because someone loud, made noise ....
 
Also, if other people really would like to develop on it, it's in php-src, I'll happily merge changes back into krakjoe/phpdbg. But even that didn't happen.
 
there shouldn't be any problem, it doesn't make sense to say that we should run our project like internals runs, if one of the people who is relied upon to make things like php7 actually happen doesn't think they have useful input, then nobody does, enough with politics, let us just be sensible and write damn code ...
 

« first day (1470 days earlier)      last day (3478 days later) »