« first day (1007 days earlier)      last day (4166 days later) » 

PLB
PLB
09:00
@Sandeep It is important to note that just because the mail was accepted for delivery, it does NOT mean the mail will actually reach the intended destination.
@Jack Hello Jack
PLB
PLB
Check server configuration.
Also make sure client does not filter mail sent by you.
There're much more you'll need to check.
@Pl
@PLB: What to check in server configuration??
PLB
PLB
SMTP
09:04
hey any one familiar working with jquery wizard plug in
@Gayan is it written in PHP ?
yes
:)
nope really
@PLB He's using the mail function without SMTP
@Gayan then why should we care ?
@Tredged: Right
09:06

JavaScript

Topic: Anything JavaScript, ECMAScript including Node, React, ...
sorry i may be call that on another char
thanks
@Sandeep Take a look here this should help you ALOT
actually, using mail() function is kind of a pain
people tend to use wither PHPMailer or SwiftMailer instead
I dont like it either to be honest.
@tereško What is your speciality in webdevelopment? as in language.
php/js/sql
mostly
i dabble in java, ruby and erlang
09:10
thats nice :)
I like the Swift, though I have implemented the whole shebang with mail() before ... and it's pretty painful indeed.
@tereško no wonder you're always grumpy ;)
@Gordon naah .. i quite happy ... i'm just not eaten yet
@tereško did you quit your job yet?
09:23
yes , yesterday was my first day of freedom
4
@tereško I hope that won't happen any time soon ;-)
@tereško yay \o/ how does it feel? you got any plans made for the future already?
@tereško Nah, I just was curious what ur speciality's were
@Tredged will i need you to show my teeth to complete the vetting process ?
@crypticツ Yeah, I'm back, you there?
09:26
@Gordon it feels quite nice , and the plans for summer is - to rest
and write come code in personal projects
@tereško XD
@tereško sounds good. kinda like detox.
@tereško anything worth noting? something public?
yeah, only without the withdrawal effects
@Gordon that framework thing that i have been working on and a json-based templating system for javascript
@MadaraUchiha yep
@tereško the web partisan framework? :)
09:28
@crypticツ Alright, so a couple things I think that you should implement:
First, let me say it's awesome, very nice and good looking
@MadaraUchiha are you talking about @crypticツ or the backlog?
@Gordon Both :)
thank you, and thank you =oP
I got a question from a friend
he currently tried to show Click mission instead of the query but
@crypticツ When a question is clicked (with the open in tabs on), it should be hidden from the list
09:30
He has:

mysql_query("INSERT INTO `module`(`uniqueid`,`name`,`link`,`menu`,`active`) values('qE352n5S0k','game_mission','promotion/gamemissie','1','1')");

//Menu name (unique id)$qE352n5S0k="Click mission";

while($list = mysql_fetch_assoc($select)) { $menuid = $list[uniqueid];

he calls $menuid and it displays the unique id how to show the text Click mission
Also, it would be cool if the backlog could keep a link to the original or request.
@Tredged saying "I got a question from a friend" is like going to blockbuster and claiming you are renting that xxx movie for a friend. no one will believe you ;)
@Tredged Are you sure that's your friend? The same friend? Isn't it just you in disguise?
@Gordon more like a "glorified router" framework
Nope If u would want me to say its mine I dont mind, but it really isnt :)
09:32
@MadaraUchiha I'm pulling the JSON cache file from Gordon's site so it's the final results of the chat crawler. I would have to modify his code, but I have no idea how to since it's hardcore OOP
and by the look of it , that framework might contain NO mention of the acronym "mvc" anywhere in it's description
@crypticツ Hey, did you know there's a slight horizontal misalignment in your table? :)
@crypticツ I see, so @Gordon has to modify it :D
@Jack yeah, not sure how to fix it. it's the whole fixed header thing. I think I'm going to redo it another way.
Hooray, my core changes are in 5.5.1. Do I get an icecream now?
09:33
@crypticツ I haven't looked at it in detail ... there might be some simplification ... I'll see if I have some time later tonight :)
Tables with rounded corners are always headache inducing artefacts.
@Tredged Fun Fact: a girl I know was hugely interested in the Pam Anderson honey moon video when it came out. So much actually, that we decided to give it to her as a bday present. It was my duty to buy it, so I went into this adult store and asked for it, also saying that it's for that friend. The clerk and the customers all started laughing. Lesson for life. True story.
@MadaraUchiha @DaveRandom you up to modifying your JS to do that?
It shouldn't sound that difficult
@Gordon Yeah, that argument just won't hold in an adult store lol
Do you have the source code on github?
09:35
@Gordon well .. i would have followed it up by "hey , guys , if it was for me , i would have downloaded it online"
@Gordon Hahaha
@Jack The first moment I was confused, then I realized how silly it sounds and was embarrassed, then I found it funny myself :)
Or, "I'm buying it for my wife, she's a real fan."
@tereško that's what we did then
@Gordon Lovely story. I mean with such a comment, that was clear, wasn't it? :D
09:36
@Jack It's not the rounded corners it the fact that I have to make the tbody scroll for the scroll option so need to set an overflow for it and doing so I lose the fluid nature of the tbody and thead cells matching up with each other. So had to set fixed widths. I'll probably look into a JS option if possible.
@crypticツ I know, scrolling just makes it worse :)
Besides, why are you doing the scroll?
@Gordon also , aren't "patron" and "customer" synonyms ?
@tereško they are
@tereško Should be.
09:38
@hakre it wasn't clear at all to me. I mean I was just honest. After all it was for a friend.
@MadaraUchiha not yet. Still refactoring and organizeding the PHP code. @DaveRandom did an amazing job redoing the JS and finishing it up for me. You can view the JS file at cv-pls.com/assets/jscc/main.jscc?raw I have no idea really how to modify pretty much most of it
@tereško hmm, you're right. changed. thanks.
@Jack to keep the thead and optns etc in view so you can scroll down the giant list and still have that info available
@crypticツ Hmm ... sticky header? =D
09:41
@Jack yeah, I was going for a purely CSS/HTML based approach but it looks like that sucks
Quite possibly, yes :)
@MadaraUchiha modify what? and why?
@tereško wtf
@tereško Well, that's certainly a novel idea :)
09:44
@MadaraUchiha yep, and also there are two data sources. The top right of window allows you to switch between all the cv-pls chatroom questions or the last 300 or so cv'ed PHP questions through the SE API.
@YogeshSuthar why do people keep on writing crap like this ?
You're not escaping column names that may clash with a reversed word. — Jack 27 secs ago
@Gordon The idea is for the backlog to keep a link of the original request in chat
@Jack lolzz reversed word
Doesn't sound that complicated, right?
09:46
@YogeshSuthar Ehm ... that's a weiiiiird function.
@MadaraUchiha what for? the "official" backlog is not doing that either
@YogeshSuthar doh
@Gordon I think it's a nice-to-have feature
(Also great at detecting trolls)
@MadaraUchiha convince me :)
09:48
do you want to blame any of us in particular ?
@tereško Potential trolls :D
@Gordon I don't see the harm. Plus, it can give you a better picture of when and who asked the request.
you just want a top10 list, so that you could check your score
@tereško Also possible, yes.
@MadaraUchiha "i dont see harm" is not an argument. if you ain't gonna need it, you ain't gonna need it. any line of code not written is a line of code without error ;)
The point is, when you keep that information, you can do a shitton of stuff with it.
09:50
@Gordon also could the qids be sorted from oldest to newest instead? I feel the old questions get neglected at bottom of list and just fester there for ages. If we made them top on list they will be more likely attended to. Also the new questions get more exposure in the review queue so they won't be easily brushed aside. Also need to take into consideration for votes being cleared on questions as well.
@Gordon Pfft, I was going to try to modify it myself anyway, I don't see the big problem
"If you put ten PHP software architects into a room and have them discuss what the Model-View-Controller pattern is, you will end up with twelve different opinions."
@MadaraUchiha I don't see a big problem with it either. I just need a justification other than "because" ;)
@crypticツ well .. there is actually one thing you might add: an indicator, if question was edited after cv-request was posted in the chat
@Danack bullshit. You actually would end up with 1-4 options, depending on their debate skills
0
A: PHP PDO Insert Function not work

JackI've taken the liberty to simplify your code and add column name escaping in there: public function insert($table, $data) { $columns = array_map(function($column) { return "`$column`"; }, array_keys($data)); $values = array_fill(0, count($data), '?'); $sql = sprintf('IN...

09:52
fixed?
@tereško @Gordon this too is your code that would be modified. The SE API does not provide when a vote was cast either, I can check edit date but, that's about it. I already take that into consideration to determine auto-delete questions.
@Jack -1 hehehh
@crypticツ No, but you can indicate whether the post was edited after the original request, since you (should) know the time of that
@crypticツ if we're going to change the sort order we should make it configurable. I personally don't care for having Qs in the list where the closevotes already faded away (which is likely true for the old ones). Also, note that I am only scraping the last 20 pages in the transcript, so questions older than that will drop out.
@YogeshSuthar Yeah, what else is new.
09:55
We can all petition on meta for a chat API
I never in my life would understand the reasons for closing. There are a hundred exactly the same questions, sound and safe. While this poor one got hammered. — Your Common Sense 1 min ago
... talk about lack of perspective ..
@Jack it back to 0. :)
Much obliged :)
09:59
Commenting war, I am out, anyone can feel free to interrupt
@YogeshSuthar Hah, it was YCS after all.
@Mr.Alien y u answering syntax error questions?
@Gordon I thought he won't be aware of the {} or concatenating so thought to answer....
@Mr.Alien Now, you know that 20k+ users are supposed to give better answers than that right? :)
10:03
@Mr.Alien the error message is easy to google.
If you see a query with $_POST ... you shouldn't even think of just wrapping it in braces.
@Jack come on, I didn't answered whole day so thought to answer this one,lol... forgive me, will try ignoring these
@MadaraUchiha it's not that trivial to make the backlog keep the links
but I comment, the other answers the same thing and gets a green cookie
@Mr.Alien Even more reason to make it a great answer :)
10:04
@Gordon yes, thats right.. my bad
@Gordon Why not?
@Jack I could've but the code itself sucked that I ignored making it a detailed one
@MadaraUchiha it doesnt collect them in the first place. it only gets the transcript and parses the questions ids of the to be closed questions. these are then passed on to the SE Api. So the concept of original chat messages doesnt exist. to make that properly, we likely need some sort of object collecting chatMessageId and questionId.
But if you scrape the transcript, isn't getting the ID is as simple as reading the attribute?
10:06
@Mr.Alien In fact, sqlsrv_query() has support for parameterised queries ;-)
@MadaraUchiha github.com/gooh/CVBacklog/blob/master/src/app/mvc/model/… - i'm not using DOM for the scraping because I'm not interested in the HTML but in the urls only.
@Jack Infact I saw that for the first time, I thought he misspelled it, so I googled and I got the page, but didn't read as I am at work, will surely give it a read today eve
btw in what way is it different compared to mysql_query?
@Mr.Alien For one, you can do binding and querying in one statement; the third parameter can be used for that.
@Gordon I see
@Jack ohhh kkk
10:09
@MadaraUchiha so we would need expand the regex to include the message id
But then, how do you determine if it has a or not?
@MadaraUchiha github.com/gooh/CVBacklog/blob/master/src/app/mvc/model/… it only searches for cv-pls so all the links are cv-pls. they only become a delv-pls when the result from the SE.API indicate that they are closed but not deleted yet. This also means, that any delv-pls announced in here are ignored.
@crypticツ Easy, just add a classname to the CSS that when attached to a <tr> in the <tbody> causes it to be hidden. Although making it persist between page loads could be more of a challenge, you'd probably want to have a paired relationship between question ID and vote type
@crypticツ Are teh codez on Github?
@Gordon So... how does the backlog have some requests?
10:12
@crypticツ It's not that complex, if you're used to working with the classical OOP model (i.e. PHP) it should be fairly easy to get you head around. The only bit that's really different is getting used to the constructor and inheritance idioms, and remebering when you need to .bind()
user1125394
Is it possible in mysql to have a special sorting function foo: order by foo(symbol)?
@MadaraUchiha based on the closedate returned from the SE.API github.com/gooh/CVBacklog/blob/master/src/app/mvc/view/…
@Gordon But you said you don't scrape them at all in the first place
Or do completed requests automatically go to ? That doesn't sound right.
@DaveRandom no, she still doesn't trust us enough not to poke fun of her coding skills
10:14
@DaveRandom not yet, still working on getting it tidied up. I swear you guys would cry if you saw the code earlier, it was a nice spaghetti dish of code. Even now you guys will probably want to do it a different way.
@crypticツ That's why there's the PR to help you :)
@MadaraUchiha exactly. I fetch all the cv-pls questions. run their IDs through the SE.API and when they have a close date they automatically displayed as delv-pls regardless of whether they have been announced as such in here.
@Jack I'll do my best to fix it up before I post it, to reduce the shame =oP
@Gordon That doesn't sound good......
Have you seen some of my code? github.com/PHP-Chat/phpdoc-search-api/commit/… - no shame in "just make it work"
10:15
Not all closed questions should be deleted
You know that as well as me
@MadaraUchiha I have always disagreed with that idea
Actually I guess all room owners should be owners of that org
@Gordon What if it's a bad question with a good answer?
What's if it's edited so it's no longer bad?
@DaveRandom I don't feel so bad now. That code doesn't look far off from what I had set as my low bar.
When you are kicking ideas around code always looks horrible. As long as it doesn't look like that forever it's fine IMO
10:19
@MadaraUchiha in the majority cases, a question closed is a question worth deleting. The very few that ain't you simply ignore until they drop out of the list. I'd agree if there was no human element required in making the deletion happen, but since we all apply our best judgement before hitting delete (we do, don't we) I think it's easier to mark them as delv-pls because that's what should happen with the majority.
I don't see why we should cater to the edge cases.
Anyone disagree with that? Seems like it should already be true.
Wasn't @hakre already at that list?
Apparently not
10:23
I was always sure that he was
@Feeds If that gets 10 stars by the end of the day, we keep it. If not, we remove him. Deal? :P
@Feeds Yes! Finally!
@Gordon Why'd you clear it? :(
Couldn't agree more
@MadaraUchiha I thought you fat fingered the pin. sorry
10:26
Humph.
All the room owners are also owners of github.com/organizations/PHP-Chat
@DaveRandom This looks nice: github.com/PHP-Chat/chat-linkifier Where is the FF ext build?
It will be coming up soon. The Chrome ext relies on some functionality that would be hard to mirror in Mozilla, but creating a server side index will make it so that we no longer have to rely on it
who owns cv-pls.com btw? Is it @crypticツs? cant determine the owner via whois because someone is apparently concerned about his/her privacy here
The Chrome ext relies on being able to intercept 3xx status codes for Ajax requests, which you can't do through standard web APIs, I had to hack my way through an experimental Chrome API to make it work. But the server side will just return JSON so there'll be a lot less messing about on the client side.
10:39
I transferred ownership of the CVBacklog to PHP-Chat
@Gordon yeah, I'm not concerned about my privacy, bur rather I'm tin-foil hat paranoid about it =oP Also it keep away spammers and phishers
@crypticツ well, if you can put cronjobs on your host, why not move the current backlog to your cv-pls.com then? I never was too happy with it running under my domain.
@DaveRandom what were you going to want your JS code licensed as? I'll make the repos code under that license as well.
morning
10:44
@Gordon yeah I can do that
WTFPL is as permissive as it gets :)
@crypticツ cool. let me know if you have issues installing it. though it should be fairly straightforward
@Gordon something will probably catch on fire
@crypticツ yeah, probably. Ask me for firefighting then. Also, since I transferred ownership of the backlog to the PHP-Chat now, you could start a new branch on that with your own version. maybe we can eventually merge both. but of course, you can just as well create a new repo. just giving ideas here.
@Gordon whatever is good. I'm not smart enough to merge them, you'd have to do it.
10:50
@crypticツ s/smart/experienced sillykat
@CSᵠ be careful with that one. most people using it just copy the text and as such they only license their license-document, but not the code ;)
@NikiC i saw there's a little debate on that. what about "Licensed to the Public Domain"
i really have no idea about licences, I just do what everyone does: MIT or BSD
i would prefer BSD over MIT
because former also includes "do not use my name to promote your crap" clause
10:54
@crypticツ Pretty much everything I write is DBAD.
@crypticツ what I could imagine for a possible migration path would be to remove all the display stuff from the current backlog and make it into some sort of daemon we can run in the background to fetch the cv-pls posts and what not. Maybe integrate with a database like @DaveRandom (?) suggested. We could then add your stuff as a frontend to work with cached/local data only. Should be fairly fast then.
.. and now i think i will eat some cherries in chocolate
Morning all!
At my grad ceremony today, a year late :)
@Gordon That's pretty much exactly what we had previously discussed. It's a lot of work though and no-one's had any time to make it more than just a nice idea so far.
@Gordon I'm currently seperating the front-end, once done the front-end should just need to have the dataset given to it to display it. The back-end I'm trying to organize in a class so will be easier to merge then.
10:59
why do people take out their anger on my only question in SO ?
@Jimbo hola!
hi
@Ocramius in sight?
Anyone feel like answering stackoverflow.com/q/17744126/889949 ? I have added an answer but I haven't got time to carry out the inevitable persuasion that's going to need to be done to get the guy to see what's wrong

« first day (1007 days earlier)      last day (4166 days later) »