« first day (715 days earlier)      last day (4233 days later) » 

user1125394
2:00 PM
eval.in is blacklisted
 
user1125394
or just don't allow that
 
@cyril you could adopt the example with a HTML string instead of the URL. the function (name) then would change a little.
 
2:14 PM
1 hour in, and only cracked the first 2 passwords...
on bcrypt's minimum setting (04)
@hakra Thanks! Come to TrueNorthPHP, I'm giving a cut down spin-off of it...
Is testing "advanced knowledge"? Or something every professional should know how to do? http://www.reddit.com/r/PHP/comments/10m9z3/what_would_you_consider_to_be_advanced_php_skills/c6evq1p
 
yes , it is an "advanced skill"
but that's what makes developers into "professionals"
 
It's an advanced skill in such that amateurs don't know it.
But in terms of professional devs, it's a baseline skill
 
only in perfect world
 
well, if you aim low, you'll always hit your mark
 
2:31 PM
i just make a distinction between "professionals" and "professional developers"
 
@ircmaxell Depends on how you define professional
 
the second term just means that they get paid for development
not that they are any good at it
IMHO, it is an important distinction to make
 
@ircmaxell If it's "anyone getting paid to do something" (couplin) then no. If it's professional as in "professionalism" (UB) then: Yes, of course.
 
yes...
 
In the current state of the industry knowing about (automated)-testing is not a needed skill for a developer.
 
2:35 PM
Well... Yes and no...
just because there are jobs that hire people who know nothing about testing doesn't mean it's not a needed skill
 
(You'll get hired without it by a lot of people)
 
I really need to get started on my slides for my talks in Toronto...
 
The push to create a craftsmanships movement for software development strives to, at a certain point, produce a code of conduct for software. We're deep into OO and if the whole thing still stands in 10 years we might get somewhere with testing
 
I think we're getting somewhere with testing as it is...
 
Should the major part of the industry move away from OO into scala/closure like types of expressions than that will change the way we do testing too.
A good part of the automated testing stuff that currently happens depends on that "We do OO" notion. The move to BDDish stuff is not all that old but might hold up better
 
2:39 PM
Well...
I think both will fit in together
I don't see automated unit testing going anywhere. Either functional or OO...
BDD may supplement it, or possibly even become primary for certain parts of the application, but unit testing (and TDD) will still exist for the lower parts. Because BDD doesn't test lower functionality...
 
Have you seen Kent Becks post in TDD in closure (or what it was)
 
yes
 
If the "great old people" of your industry are just taking baby steps I'm not really convinced. It's the sane thing to do for now and i surely expect people i work with to know what they are doing but for the whole industry it will be quite a while until there even is consensus.
And then another 5-15 years until academia picks up
 
I can't remember the post, but Kent's child is practicing TDD. At 7 years old
I think that's going to be the revolution. Not when us old-timers convert to TDD. But when new people start programming with that being the only way to do things...
Learning from Hello World, rather than re-learning later
I have been debating writing an Intro To PHP book, teaching basic programming technique (OOP and Procedural) with a focus on testing. Chapter 2 would introduce TDD, and all further chapters would use it. (Chapter 1 would be "This is what PHP is, and the basic syntax)...
 
Sure
 
2:48 PM
@ircmaxell Impressive
 
got 3 in 1 hour 12 minutes
I'm going to use that cracking to demonstrate how SHA256(pass+salt) is broken (because it's the same speed as md5(pass+salt), and both can be cracked on a GPU around 100 times faster than on my laptop...
 
@edorian Could you elaborate on that a bit more? Not sure I got the first sentence
 
I can't imagine writing code without writing tests first. When I first heard about it I thought WTF! You can't test something you haven't written yet. Once I tried it and got the hang of it, I couldn't go back. I think about my code much differently now and it is better as a result (well I think so, anyway).
 
yup. Testing isn't hard once you think about it
ok, I'm out
later all
 
@NikiC Sure. Our current way of unit/integration testing relies on the fact that we have isolated components that pass messages, are interchangeable and (might) have state. We that the behaviors of those classes
 
3:03 PM
@edorian But why would testing be different in a functional environment?
 
Now if you take out the state and your calls only passing along messages to other parts of the system testing gets a lot less relevant and a lot more tedious. Which might be fine or we might fine nicer ways of expressing that
To make another quick example. If you have a language with native pre and post conditions you don't need unit tests for failure cases anymore. You can do call-graph-tracing and have a programm produces failing inputs for deterministic stuff so testing in those languages changes to only expressing working cases (Which is quite a change as the other effort goes into the codes pre/post stuff)
 
RewriteEngine On
RewriteBase /lamed/
RewriteCond {%REQUEST_FILENAME} !-f
RewriteCond {%REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/
Why does this give me error 500?
 
@NikiC They don't have to be ( scalatest.org ) but with langs like closure where you can do a lot withing the source due to very strict typing a good portion of tests just go away
 
Also wasn't it reported that TDD didn't address the issues it was introduced for in the first place?
 
and I'm not sure that once (if) the switch to functional happens for anything that ... well.. actually matters someone will come up with better ways to ensure correctness.
 
3:14 PM
Why can't I rewrite ^(.*)$ to index.php/$1?
 
user1125394
this is automatic no?
 
@cyril No, the point is to have www.example.com/this/whatever to map to example.com/index.php/this/whatever
 
user1125394
RewriteRule ^/(.*) /index.php/$1 #not sure
 
3:27 PM
hey guys, is there a way to replicate how php behaves in HTML?
I mean, I need to print out some values
and if I use echo, they are printed and that's it; php prints out only the required values and do not use any html tag
on the other hand, using html you need tags
 
user1125394
echo '<html>...</html>';
 
nono
I am using jquery
and I don't want to use PHP
I am using yaws and with that I can print out html
 
user1125394
there is a room for JS
 
yes
but then jquery doesn't pick up html very well
 
0
Q: Mod_rewrite not Behaving as Expected

Madara UchihaI want to create a rewrite rule so that www.example.com/whatever/here Would map to www.example.com/index.php/whatever/here So that $_SERVER['PATH_INFO'] is available. For that, I have created the following ruleset: RewriteEngine On RewriteCond {%REQUEST_FILENAME} !-f RewriteCond {%REQUEST...

 
3:30 PM
as it parses the page and takes the html tags as well
 
Posted this as a question, hope to get answers.
 
does that involve the not use of php^?
 
@N3sh I don't understand the question.
 
ok
 
user1125394
me too
 
3:31 PM
Also, you're asking how not to use PHP in a PHP room.
 
let's start from scratch
nono
I am asking whether I can emulate the php echo using html for instance
it is related with php in a way
 
What do you mean? "emulate it with HTML"?
 
ok
echo does this
echo "value";
if I use jquery, it picks up "value"
let's say I want to emulate that
and I create an HTML page
printing out "value"
jquery picks up "<html><body>value</body></html>"
 
Even if you PHP echo "value", the browser (after the DOM's rendering) will see it with <html> and <body> tags.
jQuery operates on the DOM, hence, that's what it sees.
 
wow ... it seems that people think that "Rails" is a programming language
 
3:37 PM
@N3sh Here's an example:
 
@MadaraUchiha that happens only if you view the page
if you don't
html tags are not created
trust me, I'm an engineer :P
 
@N3sh HTML, HEAD and BODY tags are always created by the browser if not explicitely sent by the server.
Trust me, I'm not.
Please refer to the image above.
 
by the browser
yes
but if you are connecting 2 php pages, tags are not created
 
@N3sh Indeed, however, since jQeury (and JavaScript in general) operates on the browser's DOM,
It will always see those tags.
 
well, it doesnt seem so
there is no other reason for it to not work
 
3:40 PM
What are you trying to do?
 
if I create a php page with value
 
What is your end goal?
 
and an html page with value, the result should be the same
 
The result is the same.
 
...
I am testing it right now :/
 
3:40 PM
The browser won't add the elements to the source, it adds them to the DOM
These are 2 very difffernt things
 
I understand
but my test says something different
and I want to understand why
 
Show me your test than.
 
ok
mm
I can just tell you
dont feel like giving out IP address
on YAWS: yaws page connecting to html
 
yaws page?
 
the search bar shows '<html>, <body>, value, </body>,</html'
 
3:43 PM
@N3sh Are you trying to send plain text? if so use the text/plain mime type, then the browser shouldn't render it as html, so there won't be a dom. Although, I don't know that for sure.
 
ok
how do I send it in that way?
 
@N3sh Ask this guy:
 
@N3sh With PHP? header("Content-type: text/plain")
 
lol
but then I would need to use PHP :P
 
@N3sh ....You're in the PHP chat room...
 
3:46 PM
@N3sh What are you using for server side than?
 
thanks for reminding me @SomeKittens
yaws
 
> Yaws is a long-term (chronic) infection that mainly affects the skin, bones, and joints. Symptoms: About 2 - 4 weeks after infection, the person develops a sore called a "mother yaw" where bacteria entered the skin.
 
@N3sh Search the Yaws documentation regarding how to send headers.
 
@SomeKittens
Yet Another Web Server
page extension .yaws
Ill check
 
3:54 PM
i should start reeding dirbert again
 
I found that one while doing research on a paper
 
I need it in a table because i will put more php contents inside the table — Apocaliptica61 23 secs ago
 
@MadaraUchiha , gods below .. i have not seen that link in 5+ years
 
@tereško Had too look very hard to find it really
 
4:26 PM
How do you name <select> when it related to Ajax?
im thinking class='AjaxGetNetwork' or something
 
@hakra lol, copycat?
 
Who that?
 
@MadaraUchiha I have no clue who duplicates such names :)
 
I didnt know StackOverflow allow duplicate name
 
@hakra Whoever he is, he's posting bad answers XD
@I'll-Be-Back It does.
 
4:31 PM
I'll rename to hakra as well
joking lol
 
@I'll-Be-Back Search for "Jon" in the users page.
 
Wow
Thats silly
 
0
A: How to set a default directory for NetBeans PHP projects?

hakraif you create a project and choose a different directory than the default, then that directory will now be the default. or In new netbeans 7 search file: D:\Users\YourWindowsUserName.netbeans\7.0\config\Preferences\org\netbeans\modules\projectui.properties Delete: *RecentProjectsDisplayNames.*...

the hakra copycat doesnt only copy ppl's names but also their answers.
 
Is it normal to have a column that tracks the date and time of when a row in the database was modified?
 
@hakra: Stop duplicating answers. Rest assured you're now on my watchlist. — hakre 11 secs ago
 
4:34 PM
@Dude Sure, depending on your needs.
 
If this was already massive today (I've at least seen two copied answers), that user should probably already be reported.
 
But is it good practice to have it on all tables? (not join tables
 
@hakra SPOOKY!
 
huhuuu ;)
 
It's about time you're back to hakre :)
 
4:36 PM
Hi
Can someone help me?
 
@FlatLander > Discussion for all things PHP - Don't ask whether someone is here or can help. Just tell us your problem. If anybody can and wants to help, they will.
 
I want a pop up show when someone plays a video
 
@FlatLander Depends. Do you have actual code, or just want us to write your code for you?
 
I just want to know whether it is possible or not
 
@FlatLander Yep. Have fun!
 
4:37 PM
thanks
so Here is the problem
 
@FlatLander Ohh, you didn't just want to know if it was possible....
 
sorry I tried hard
could not find a sollution
my client wants to know if I cAN SOLVE THIS
]So I am asking you guys is this really possible or um going for mirage
 
Leave a comment under the question with a link to the answer and ask if it does solve the issue for OP. There is no need to duplicate the answer. And no, it's not okay with the impertinence you do it. It's not the first time I see you doing that. The community has the work to clean up your mess then. — hakre 1 min ago
 
@FlatLander Yes, it's possible. No, you should not take on projects that you have no idea how to do
 
Sorry it looked easy
thanks good bye
 
@hakra i think the entire thing should be closed
 
Huh, what's that @hakra?
 
What your style for a long SQL query variable in PHP?
$sql = "SELECT network_id, saletype_id, affiliate_id, affiliate.name as affiliate_name, saletype.name as saletype_name, network.name as network_name
          FROM `network_saletype` AS ns
        LEFT JOIN saletype ON saletype.id = ns.saletype_id
        LEFT JOIN affiliate ON affiliate.id = ns.affiliate_id
        LEFT JOIN network ON network.id = ns.network_id
          WHERE network.id= 1";
Like this?
 
@hakra if you delete the -3 one yourself you'll get a peer pressure badge
 
@hakra Why the name hakra, out of interest?
 
5:04 PM
@NikiC I saw you RT a Python release. You doing Python now, too?
 
@hakra ok thanks, interesting
 
@Gordon Nope. Just thought it were worth mentioning ^^
 
@hakra
Who got pinged?
 
Bot
 
@NikiC is the 3.x branch of Python finally usable? Or is everyone still using 2.7?
 
5:08 PM
@Gordon Everyone is still using 2.7
 
What needs to be done on 3? That's the one I learned, sadly.
 
Is it worth learning Python?
I cant see what I am going to use it for.
 
It's worth learning new languages, even if you don't have a concrete use
Just ask NASA about abstract knowledge eventually ending up with amazing uses.
from what I've seen of PHP, it's already obfuscated ;-) — Steven A. Lowe Oct 24 '08 at 7:46
 
To be honest I rather learn C# - that is what more jobs available out there.
 
5:12 PM
@Gordon I guess that's the main reason why I don't like Python much. I'd say that language wise it is slightly better than PHP, but the whole Python 3 situation just makes it unusable :/
 
Python does not seem to be popular on the jobs listing.
 
@hakra Things are watched closely here. I noticed that you copied something that Gordon wrote in the chat a few days ago into one of your answers without quoting it. I think it is always good to quote your sources in the future.
 
@hakra The criteria for downvote is not "solved the problem," it's "not useful"
@hakra You know how Wikipedia has a "No original content/research" policy? It's the exact opposite here. We'd prefer you write your own answer.
 
@Gordon Aha.
Wow (Visual) Basic is still popular
 
5:15 PM
@hakra well, you copy and pasted it from the transcript which had my name on it, didnt you?
 
@Gordon Just saw that they have JS on place 11. From that I follow that the stats are completely unrepresentative.
 
Java number 2 :/ why why!
 
Ew, MATLAB....
 
Java is dead slow.
 
@I'll-Be-Back Because it's very easy to look like you're working in Java. (Paul Graham)
 
5:16 PM
@Gordon Check out the link in hakra's message to me, it gets worse!
 
@I'll-Be-Back PHP is dead slower. There are good reasons not to use Java, but for most uses I don't think that performance is really the limiting factor.
 
@Paul oh lol :)
@hakra ah I see, hehe … funny :) guess I made a lasting impression on someone
 
@Paul @Gordon what quote are you talking about?
 
yesterday, by Gordon
@hekko if you want to become an expert programmer, google SOLID, buy GOF, buy POEAA, buy Clean Code, lookup GRASP, DDD, CQRS, DCI … but dont ask for PHP books. That's the most reasonable suggestion I can give you when you ask for Expert PHP books really.
 
ah, nice
 
5:19 PM
and apparently someone liked it enough to put it into his/her profile: meta.stackoverflow.com/users/176320/mayank-swami
which hakra (the new one) then copied into stackoverflow.com/a/12659459/208809
and which Paul informed me about earlier that day
 
it's going viral
 
^ did I miss something?
 
Hey @DaveRandom
 
5:21 PM
Oh yes, and hello all
 
@NikiC and then we found hakra copy over another answer into his own answer and started a witchhunt on him :) but now he's here, explaining the situation.
so, the usual stack overflow sunday activities
 
I'm very confused, are there now two different hakras? It's way too early on a Sunday for this kind of thing. It's way too early on a Sunday for anything at all.
 
@Gordon What do you think of Mayank swami's usage of your statement, verbatim without quoting you?
 
@DaveRandom What time zone are you in?
 
@SomeKittens UK, but that's not the point. There is no time on a Sunday that is good for mindfucking.
 
5:28 PM
@Paul Hmm, not sure. One small part of me is just flattered. Another small part of me feels he would have liked to be quoted. And the major part of me just thinks it's not worth bothering. After all, it's not like it's a super important major contribution to the world.
 
@DaveRandom Ah, makes sense. Just for future reference, when would be a good time?
 
@SomeKittens Any time when I am not either drunk, hung over or both. So, on reflection, there probably isn't one.
 
user379888
offtopic: Can you guys give a review of this website:
http://www.startupsandfinance.com/cise/index.html
Making this for my university
 
looks clean
 
user379888
Thanks.
 
user379888
There is a competition for developing the website. The best will be choosen
 
user379888
Its w3c validated.
 
user379888
@hakra: like?
 
@StartupCrazy it has 1 warning though ;)
 
Good luck! Your other websites look alright.
 
user379888
5:34 PM
@Gordon: Yes but I did not see that warning. Can you tell me that
 
@StartupCrazy Lorem Ipsum
 
user379888
@hakra: Thanks for pointing that out. There is a logo competition too for the site. I am not into that. I will change the text as I have got bad response on that area.
 
@StartupCrazy "Thank you" is two words in the context you have used it :-P
 
user379888
@DaveRandom: Lol thats all dummy data for now :)
 
@StartupCrazy :-P
 
5:36 PM
I find that colleges generate a lot of dummy data.
 
goodnight all
 
@StartupCrazy well, validator.w3.org/… says there is a warning, but from the looks of it the warning is that the validator is experimental?!
@Paul cya!
 
@hakra What happened to your gravatar?
 
user379888
man! too many validations
 
5:37 PM
@PeeHaa hakra != hakre
 
@StartupCrazy no manual entry for too
 
lol. k
 
user379888
@Gordon: I also saw the warning but I could not find the actual problem :(
 
@StartupCrazy I think the Warning is Info Using experimental feature: HTML5 Conformance Checker. which means you did nothing wrong.
 
user379888
:/
 
5:41 PM
Sometimes i just love the ignore list. It makes life here a lot quieter :)
 
NewHakra's not that bad. He's trying to help, but is failing at it. Better than "send me teh codez"
 
Yeah but hey, what's with interesting tab? interesting for who? who judges the questions[or tags]? where the faq?
 
Validation is not the be-all, end-all of website design/development. It's one part of the puzzle.
 
ok, my bad hovering over interesting tab did the trick :|
 
5:44 PM
@hakre you changed your name back?
 
^Ended up including that in my paper
 
5:50 PM
I love being the fifth CV. MUHAHAHA! BOW BEFORE MY POWER!
 
@PeeHaa may you briefly join me in the sandbox?
 

« first day (715 days earlier)      last day (4233 days later) »