« first day (918 days earlier)      last day (4255 days later) » 

19:00
@PeeHaa埽 No, I did not found out so far, I have not continued this yet. If then it would be a bit of a show stopper because then it is not that comfortable to use. I'll see.
right now I'm speed cooking, me is so hungry.
will somebody plz answer me ....
@hakre I think this is what you are looking for developer.github.com/v3/oauth/#create-a-new-authorization
Haven't had a good look though
Yes, I think so too. I already created that application, I hope I can try later.
Need to eat and then squash some patches I wanted to do since in the morning.
19:04
Enjoy
i have a set of n vertices and a set of k vertices ... how to the display all the k combinations from n vertices... i mean nCk ...
if there are 4 elements to be divided into 3 elements then it wud display the combinantions 123 124 234 134
Hi all
Hello @MikeBoutin
do someone can help me with a big problem?
Hi @PeeHaa埽
See our room description :)
19:11
in the page roulotteschaudiere.com/roulottes (it's in wordpress) When we enable the url rewritting we can't access to roulotteschaudiere.com/… with ajax
how can i repair this?
@MikeBoutin What is the error you get?
just a 404
check the console
you also has another problem: that page is 2 meg
and if i don't use the htaccess rewritting it works well
@tereško I know, the site is shitty... it's an indian company who did it
@tereško for the sake of something... help me
19:13
i'll handle this problem later
Sorry I have nu clue where the network tab is on this browser
:|
@MikeBoutin you mean that if you are enabling mod_rewrite then you cannot access that second link ?
@tereško exactly :/
but the url is correct
can you put your rewrite rules on gist or soem pastebin and show us ?
you might be rewriting it to somewhere
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
the most basic htaccess for wordpress
19:15
RewriteRule . /index.php [L] << this is what's causing it wait no
but i'm not able to create the right condition to don't rewrite it
the [L] ?
What does you webserver log tell you?
mmmm ... first beer in month
@tereško :D
19:18
BIO?!??!
@PeeHaa埽 i don't know, i am a frontend developper i don't know htaccess or server things very well
@PeeHaa埽 it's actually really REALLy good .. and expensive: 2 euro
do you have an idea on my problem?
i think the problem might be the RewriteBase / bit
@tereško how can i repair it?
19:22
remove that and change RewriteRule . /index.php [L] to RewriteRule . /roulottes/index.php [L]
that might do the trick
though i am not sure
It's strange that the URL is the same on both pages but on the ajax thing it doesn't work.
Are you sure both http methods are the same?
I.e. both are GET
?
http://roulotteschaudiere.com/roulottes/
http://roulotteschaudiere.com/SearchRecord.php....
BTW you have more errors on the page.
it is not the same ... and i have never really understood what RewriteBase does , but i would think that it changes the relative location
What about fixing those first
@tereško they are the same
19:25
it's not my job for now
@tereško
the only problem is the htaccess for now
This works in the browser: roulotteschaudiere.com/…
yes i know
19:25
But the same URL in this page roulotteschaudiere.com/roulottes 404s
but the ajax won't load it
exact
I cannot check in this crap browser, but you should really fix the JS errors on the page first
And after that and it still doesn't work check whether it is really a get request that is being made on that page
What does the ajax call look like?
I.e. the code that makes the request
This is what I get in Safari
TypeError: 'undefined' is not an object (evaluating '$.browser.opera')
roulotteschaudiere.com/images/banner_bg.pngFailed to load resource: the server responded with a status of 404 (Not Found)
main.js:28TypeError: 'null' is not an object (evaluating 'a[hb]')
roulotteschaudiere.com/… to load resource: the server responded with a status of 404 (Not Found)
same thing
but we don't care about the TypeError: 'undefined' is not an object (evaluating '$.browser.opera')
both other are due to htaccess
but now i set the htaccess off
i don't want to pass my whole sunday (work off) at work
Thank you very much for your help
@tereško I've watched over that video and the only part which got me stuck was factories :(
which means that there was nothing new for you in it ?
19:36
Hm, aside from that, no
@FabrícioMatté it got 14 downvotes so far...
@FabrícioMatté it's already closed?
Yes, way too much illegal syntax
@bwoebi yes, it got closed very quickly
19:41
@bwoebi it was lacking 2 CVs when I posted, Teresko and PeeHaa closed it at light speed :P
@FabrícioMatté Then it was faster closed as I could see :P
@Jocelyn Not everything is such a question. Some questions there have over 2 upvotes
@bwoebi that's why I wrote "probably". Always check before casting a vote.
And many bad questions have upvotes
@Jocelyn So much questions?
@bwoebi because of how the review queue for new questions currently works, almost each new question is upvoted.
@Jocelyn Err... no? You can upvote and click "I'm Done" or do nothing and click "No action needed"...
... May somebody invent a filter: questions that need expert reviewing; questions that everybody with a very little knowledge can answer; questions about frameworks...
@bwoebi bring that up on meta.SO
@kaᵠ I'll have no success, because there will be every time imperfections...
try/catch :P
try { post(); } catch (UnsuccessfulException $e) { downvote(["reason" => $e->message]); } finally { giveup(); }
19:58
well if you always giveUp() you'll never get any of the other stuff
@kaᵠ I'll have to, because there may not exist any perfect solution.
If you think you'd have success, you can post it yourself^^
@tereško yeah, 666 is just an encoding :) nothing more
watch the video =P
saw that, it's cool
20:02
then dont give away the punch line
there's no joke here. if you wanna find out why, watch the video
@tereško Yeah, that's a really cool video.
the joke is in the fact how the origin and meaning related to the "common knowledge"
actually it's funny how people fear '666' just because
109
Q: Was the experiment with five monkeys, a ladder, a banana and a water spray conducted?

Tom WijsmanI've found the following picture online. It is about the moral/paradigm behind consistent behavior. Click to enlarge. The image text says A group of scientists placed 5 monkeys in a cage and in the middle, a ladder with bananas on the top. Every time a monkey went up the ladder, the...

related ^
20:15
hi
hi people
20:51
Yay! Finally finished working for today
@PeeHaa埽 it's sunday !
@HamZaDzCyberDeV Yeah it was :(
@crypticツ very big broom you have there...
ow well. Just 2 more weeks of crazy busy shit and I can relax
Alright (y)
20:56
@kaᵠ it's the same size as Peehaa's and hakre's
I can't finish up my 50 close-votes xD
@kaᵠ besides, it's not the size that matters, it's how you use it =oP
well... messes up that nice pink cat
@crypticツ lol
@kaᵠ I'm going to make @PeeHaa埽 famous gist.github.com/cspray/1689430#avatar-bling
I once used a wooden broom, and broke it xD
20:59
:))))))))
did 45 cv-s today, i'm beat
Only about ~5 ...
wow @crypticツ you made that quite the wiki article
@kaᵠ I want to get in touch with cspray so can ask him if I can merge his original posting into the documentation so it's better organized, but not sure how to get in touch with him.
21:07
narq
NARQ... pinky, the pinky and the brain brain brain brain....
@crypticツ NQ / NaQ ?
@kaᵠ huh?
'better acronyms' instead of NARQ
the acronymns are basically based off the question type so easy to remember, Not A Real Question, Too Localized, etc... besides it's a bit too late to change tradition now =oP
21:12
so yeah, i have discovered that all existing mvc frameworks are either shit, or developed by people who havnt got the first clue about "frameworks are supposed to make things easier", or are just arseholes...
^ today I found out anything I knew about frameworks/MVC was wrong :( Lol it's really confused me
I won't be adding additional variations of *-pls uses as well since all the most common ones have already been listed. There are a few here and there but less than a handful of messages come up with them being used. @kaᵠ
@crypticツ I read NARQ a time ago and didn't have a single clue what it was xD
I didn't know what cv-pls was either =oP
I'll update the docs so the first letter is emphasized denoting it is what is being used to make the acronym.
@crypticツ 'a,of,are' usually are not used in the acronym
21:15
@kaᵠ brooms also have longer handles =oP
i thought cv-pls mean somemthing about: check out this question (did a few mistakes as you would imagine)
@crypticツ so that's a mini broom :P
@crypticツ get a hold of cspray github.com/cspray <-- his email there :D
@kaᵠ I was hoping to show up at his office
@crypticツ much better! but it's customary to email first, he might have other plans you know...
@bizzehdee What framework did you look at?
@TimothySimmons be prepared and don't get a heartattack :p
I've been using Yii and I really like it
21:26
Bad news for you
http://www.yiiframework.com/news/68/yii2-migrates-from-php-to-ruby/
@crypticツ That's easy, if you want to get in touch with @cspray just hyper-mega-ping @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray @cspray
@cspray
Good news !
It's also fun to mega ping @Lusitanian
But it won't message him because it's not recently been used in chat right? @DaveRandom
21:27
(but I won't do it now, no, we wait until it will be more inconvenient)
@crypticツ I actually have no idea how it works, there seems to be quite a lot of black magic
He does show up in here occasionally though
@TimothySimmons: doophp, fuelphp, codeigniter, cakephp, zend, symphony and a few others i cant remember the names of. not one of them felt like a framework, they all felt like a new language. gonna continue using my own mvc framework, which is essentially a htaccess file and an index file with a directory structure
@crypticツ You could always tweet him
@HamZaDzCyberDeV muahahahaha. Here is the kicker. Yii is a clone of Django, which in turn was clone of Rails
that sounds like kirby !
I can tell you that developing in Yii after only desktop development in C++ is great
hahahhaa xD
not tried Yii yet, would like to have a go, but need a reason to do.
@TimothySimmons , i can tell you that in my personal opinion: yii is third worst framework in php
@bizzehdee clinical insanity?
21:31
Yea, its quite contraversial
hahahhahahaaha
hmmn, ill give yii a miss then :)
i worked with it for ~8 month
it's really messed up
In what points?
it's based about global state which in turn is governed by configuration files
21:32
Where do you see that?
also the "modules" system was grafted on later , especially since in configuration you set the default mosule by altering parameter , that is called 'defaultController'
I would need to use zend or code igniter for a while to have a real opinion
zend 2.x is better then yii , codeigniter is worse then yii
tbh, the only reason i have my own mvc style index.php is as a bootstrapper to allow me to write proper OO code without having to write the procedural initialisation every time
21:36
dunno .. i have "non-structured" bootstrap
it's a liner script that instantiates and wires together different objects
I havn't gotten into how Yii is wiring things together, and thankfully I havn't had to
@HamZaDzCyberDeV sry .. it's my personal sin
i have a "advanced" version of it too which i use for stuff that other people will end up using which moves all configuration and routing into a database rather than php files
@tereško no problem
21:38
Is any of that stuff available for public viewing?
i have custom bootstrap file for each project .. you can see the basic design of it in the fracture repo , but that one only has the pre-mvc bits
@TimothySimmons: i wouldnt want to subject the public to stuff i have written that is just for myself. such badly "cannot be that bothered to do it properly" code should only ever be run blindly
@tereško are you really handing in your resignation tomorrow ?
21:41
i am honestly thinking about it
no error handling what so ever, because i wrote it, i know what to do and what not to do. so there is quite a lot of the code that "will just do"
but AFAIK, boss is sick
and might still be for whole next week
@tereško think about it, you need the work ...
oh ok, I've read a few best practices for PHP websites but havn't seen much of other people's code besides what's in the Yii framework
i want to hand mine in too, but, need to find me a new job first, which is proving difficult since you can only apply to jobs through agencies now and agencies have no real jobs, they just publish fake jobs to get CV's in to get a list of businesses to canvas
21:42
work would be nice .. slaving away in virtual coal mines is not
@TimothySimmons please tell me that you are not the Timothy from freenode
Not that I know of
I havn't used IRC in years
in that case there is another timothy out there , which has been using yii for some time ... FYI
oh really?
It's not an XBOX v PS3 situation for me, it's just what I started out with for this first 'real' web project
21:45
lol
Ok guys, I was accepted by a company for a internship. When I spoke with the guy, I was really afraid since I don't know OOP & patterns, so I told him to be sure that there are no "conflicts", when I told him he said to me:"Ah well we don't code in OOP, and to be honest, I'm programming for ~15y and can't see the utility of it"
So is this bad news, what are your thoughts :?
@TimothySimmons in that case, there is a list of lectures at the bottom of this post. Watch them.
I think you should investigate what their development environment is like
Coding standards, peer reviews, etc
@HamZaDzCyberDeV unless you really need a job money, stay away from that place
@tereško Cool thanks, this looks good
21:48
@TimothySimmons He said to me that they are using their own "thing" cms or framework I don't remember clearly, basically they use functions and call it ...
maybe if you were talking with a project manager or some management people , the you could take him not so serious
@tereško no it's for internship ...
hmm ...
sounds bad . but you might need to experience it
And it's the boss who's leading the company and i think he also participate in coding ...
@HamZaDzCyberDeV Well if it's for an internship, it could be ok. Even if its a legacy code base and they don't believe in unit testing or clean code, it could be good experience for that scenario
If anything you will know what to avoid later
21:49
@HamZaDzCyberDeV muahahhahha
take it , please take it
On the down side, it might not help you advance your skills much
then i will not be the only one whining in the chat about his job
@tereško hahhahaha
ive been whining about my job quite a lot
/me joins the club
we should make an association of disgruntled web developers (DWD) and pick ups some medium/medium-large projects
21:52
@rdlowrey Thoughts? I'm pretty certain what he's suggesting is not legal, but I imagine the @rdlowrey RFC monster has probably read the relevant RFCs more closely than I have
tbh, i would LOVE to set up on my own doing medium - large projects. just dont have the money in the bank to be able to afford the few weeks - months of not bringing in a wage to be able to do it at the moment
@TimothySimmons To be honest I don't care, I did internship last year, and it was like WUT (muuuuch baaaaaaaad), I think this one is a more "advanced" than last year's xD
Last year we HAD to use Joomla, creating a template, download some modules, hack some components and call our ourselves "developers" (FACEPALM)
stackoverflow.com/a/16136172/2153758 — I should make some list: what I don't know after programming for nearly four years with PHP. :(
@HamZaDzCyberDeV Cool! maybe go for it !
@NikiC wow
@PeeHaa埽 I know, amazing
@bwoebi since you should favor composition over inheritance , it's usually not so clear when to use private and when protected
you should instead decide based on what parts are class-specific and what are the ones that should be shared bweteen subclasses
private and protected are more or less the same in PHP
no , they are not
the difference is in visibility for sublclasses
21:57
The interview went as the following (last year):
- They: wut? you didn't follow any training and learned yourself ?
- Me: yes.
- He: So what's the difference between ID and CLASS (CSS)
- Me: WUT, id is blalblabla and class is blablabla
- He:(drawing a site layout) how to make this
- Me: writing some code on a sheet of paper (div etc...)
-He: wait stop, what are you doing ?
- Me: I'm coding the layout
- He: wut ? you can code from your head ?
- Me: Euh, for this yes
- He: what's the difference between DIV and TABLE (html)
(see full text)
4
@tereško As of late I always private all the things by default
@PeeHaa埽 same here
private long long parts; ftw
@HamZaDzCyberDeV The interview should have been a big tell
:)
@DaveRandom :-)
@PeeHaa埽 why? I always default to protected, but I honestly couldn't say why
21:58
@HamZaDzCyberDeV lol
Do any of yall have coding standards available to look at?
@NikiC I prefer protected as extending classes should know what to do when using a protected function.
@DaveRandom long long $time_ago; //in a galaxy far far away
@NikiC When setting things to private by default you can always set it to protected when needed. It's also I nice reminder to rethink what you are doing. By setting stuff to protected by default it will always stay that way whether it is needed ot not
@tereško lol
22:00
@PeeHaa埽 I had no choice but to accept it, I was coding for fun as a hobby, and had no idea how's the real world ...
stackoverflow.com/questions/4361553/… different to how C++ implements visibility
Better set this to protected because I might need it some time vs everything to private untill you are 100% sure you are going to need it
It's something else if you are going to write some library which will get extended ofc
When I make it protected I can use the existing code without going to change it sometimes in the far future...
The parent class can see derived classes protected members?
22:02
Well obviously it's different from c++. php doesn't have any friends ;)
@PeeHaa埽: php needs friends :P
@bwoebi i prefer not to encourage deep inheritance
@tereško why?
@Timo No, that makes no sense. If you instantiate the parent it cannot possibly have members defined by the child
22:03
@bizzehdee no it does not. That is THE worst OOP related feature in c++
@bwoebi because it leads to monolithic designs where the only way to change behaviour is by extending one class that does way too much already.
@DaveRandom That's what I thought, but being a dynamic language. . .
PHP should at least implement multiple inheritance, i still dont get why it doesnt
ick
the dreaded diamond pattern
E_TOO_MUCH_MAGIC
7
22:05
@bwoebi when you have experienced hunting down a method in 5th depth class in the inheritance tree , come back and ask me this again
especially when that has been all what you done for the whole day
Prefer composition, my books are at the office
@tereško traits have also some use case... There's no reason why to go deeper and deeper.
@tereško is this actually true? ---->
(the resignation)
I bet you don't do it
@tereško: had to find a problem in a 200+ file project once, no idea what was wrong, was on a production server, no realistic way of copying everything to a test server, and spent 3 days hunting down what was wrong by putting "header('pragma: we got to line X')" in different places in the code. after 3 days, i found that there was a capital S where there should have been a lower case s... in the fucking index.php file...
@DaveRandom that is the intention , but afaik , boss is sick .. so there will be no handing in so soon .. though i will print it
and send out some CVs
22:08
@tereško Wanna useless careers.so invite? ;)
@PeeHaa埽 i have a year old account there
@bizzehdee ya know, you can actually use error_log() for that in php ... or better : error_log( 'debug::' . json_encode( .. ));
It just has to be a internal SO recruiting tool, because I have never heard of somebody ever getting a job out of that thing
errors were disabled in a write protected php.ini (this was a very fucked up server)
oh
lol
i do not even have an access to production server
hell .. on the staging server i cannot edit any files
@bizzehdee and ini_set at the top of the index.php isn't working too?
22:12
dunno, it wasnt my first stop, my first stop was "how do i get some output that i can see but users wouldnt see"
@PeeHaa埽 What's the employer coverage like in NL? Most of the stuff in the UK is in London :-(
@bizzehdee hahahhaa
@DaveRandom none existent
@PeeHaa埽 Amsterdam ?
It's a shame, it's a really good concept, but all the employers are based in cities where SE have offices
They need to get on advertising it a bit better
22:15
There is one job near me (rotterdam):

Real-time Big Data Developer (40h/week) at Sense Observation Systems

You will be dealing with the various challenges of real-time, scalable and robust, parallel data processing and storage in the cloud. In this position you will work closely with a…

Posted on Careers 2.0 on April 18, 2013

either that, or pay for a feed from some major jobs listing. such as reed
@PeeHaa埽 ugh
@DaveRandom Meh. I actually don't know why I have that profile. I get called everyday by those idiot recruiters
They must make some money from it, they keep opening new offices
Right, I'm hitting the showers, getting my nightly dose of Jessica Fletcher and then bailing
Does PhpStorm have the same features as WebStorm?
22:21
Nothing like a crap murder mystery to soothe the soul
@DaveRandom laters
"Pro-active, “thumbs-up-let’s-do-this” mentality"
@HamZaDzCyberDeV: do not get a job with anyone who describes their business that way
@bizzehdee Does it mean "slavery" ?
22:27
what it translates to is "we are a small business with not enough staff to cover all jobs, so you will be doing whatever it is you are required to do that day, be it coding, making the coffee, or driving the boss to pick his new car up, your doing it"
hahahahhahaha
i also personally hate the phrase pro-active
you cant be pre-active
its a stupid non-phrase non-word
anyway, i have "work" in the morning, i need sleep now so i can stay awake through my doing nothing tomorrow at my desk :D
@bizzehdee Good night :)
Repaired again, if you want to repwhore on array questions, this is your secret weapon: phpoverflow.eu01.aws.af.cm/print_r
@hakre thx :D
22:33
Not Found

The requested URL /public/print_r/index.php was not found on this server.

Apache/2.2.22 (Ubuntu) Server at phpoverflow.eu01.aws.af.cm Port 80
what does that do @hakre ? what's it good for?
@kaᵠ it reverses a print_r() output back into PHP var code.
@kaᵠ when users are asking questions about arrays, they often post the print_r dump. This tool converts that dumps back into PHP code.
So you can quickly write the answer with demo code while other users are still begging the OP to give json_encode or var_export output.
@hakre [UI only] is broken
22:37
a
@PeeHaa埽 eh this appfog apache setup, I have not yet understood it. The whole script went down over the day and I dunno why.
@PeeHaa埽 That is because the script originally was written for codepad viper. But this is long ago. I will remove that sometime.
@hakre source link is a 404
Yes I know as written that was for another day. Removed those two buttons now. Hopefully the rest still works ;)
@PeeHaa埽 btw. how did you trigger that redirect?
It does work for me ...
@Gordon Why not continue this offer indefinitely for people asking or questions?
22:46
works here too, got the gist now @hakre
@Jocelyn that was a joke... it would be very rude to do that for rtfm & such
@kaᵠ it would be efficient :-)
:)
@Jocelyn actually they are being rude to us with those q's
@kaᵠ gist is years old. I need to upload the new code somewhere.
@hakre y?
yes the online version has a supercool array output now, that is much more compacted.
It also drops numeric keys if possible.
22:52
Good afternoon
morning
@kaᵠ not the best format but at least the whole source;: gist.github.com/hakre/1102761
hi @ircmaxell. Any news with your Wordpress exploitation adventures?
he replied and they are supposidly fixing it

« first day (918 days earlier)      last day (4255 days later) »