« first day (1166 days earlier)      last day (4008 days later) » 

15:00
When a file gets saved in the wrong encoding, it can happen....
this is all very interesting ... but I need to decide what to do with my life, so let's talk about me for a bit ...
I haven't done anything for a year ... I'm so bored ...
hello dears i have two code but these or not working together
<script type="text/javascript">

function loading_show(){
$('#loading').html("<img src='images/loading.gif'/>").fadeIn('fast');
}
function loading_hide(){
$('#loading').fadeOut('fast');
}
function loadData(page,qu,name){
loading_show();
$.ajax
({
type: "POST",
url: "urlbodies/editmembercomloaddata.php",
data: "page="+page+"&qu="+qu+"&name="+name,
success: function(msg)
{
$("#container").ajaxComplete(function(event, request, settings)
{
loading_hide();
$("#container").html(msg);
});
}
});
}




$('#pressbutton').live('click',function(){
and second one is
Phpdbg?
don't
@Fabien what about it ?
You've done that within the year
15:02
$(document).ready(function(){

var cookie = $.cookie("panelState"),
expanded = cookie ? cookie.split("|").getUnique() : [],
cookieExpires = 7; // cookie expires in 7 days, or set this as a date object to specify a date

// show cookie content


// Remember content that was expanded
$.each( expanded, function(){
$('#' + this).show();
})

$('li.primary').click(function(){
$(this).toggleClass("open");
$(this).next().slideToggle('300', function(){
updateCookie(this);
});
})

// Update the Cookie
function updateCookie(el){
amagad
yeah I mean job wise
@Saima, use pastie... No one wants the spam
I wish UTF-8 became the default encoding everywhere.... but first I think we need to address the following security problem with UTF-8:
http://pastie.org/8478983
@SaimaMaheen That's not php
15:03
Self employment?
@PeeHaa sorry jquery
@Ultimater How is that a security problem?
@SaimaMaheen This is the php room
Why the heck UTF-8 was built to allow that kind of abuse is beyond me...
yeah, I take long term contracts, I'm officially self employed for tax purposes, but I'm as good as employed
Become a millionaire by starting your own thing @joe
15:04
@PeeHaa A single line of text can bleed 100 pages down and ruin the layout...
@Ultimater You sir are an idiot
@Fabien I don't have that sort of idea ...
@PeeHaa actual lol
Digital recipes :x
Receipts *
also, imagine that state of your savings if you'd lived off it for a year ...
@PeeHaa copy that :)
15:06
Get an investor
Aka CEO
sounds like I might have to wear a suit or meet people ...
Looks like @Fabien is looking for a job as CEO :P
@JoeWatkins morning! Merry Christmas
@PeeHaa If you don't recognize that as a potential threat to a website's content, trusting user input, I would hate to run any software written by you that doesn't recognize that potential exploit with the UTF-8 encoding...
@BenjaminGruenbaum seasons greetings to you dear Ben :)
15:07
Lol I'm more of a COO they do no work...
@PeeHaa And instead of acknowledging it, you call me an idiot, I fail to see your logic.
@Ultimater Yeah right. I have been trying to read the things you have written this morning. And I'm sorry to say it, but without an exception it was all utter uninformed bullshit
What about security? IT BREAKS LAYOUT!!!!>!!?!?!??!?!!?!?111111111
Also - the characters are the problem, not the encoding of the characters.
@JoeWatkins I imagine you saw that server using pthreads right :)?
@BenjaminGruenbaum yeah, it looks interesting ... I've supported them directly a few times to get over stuff and even made a change for them ...
there is a problem though ... it's actually slow
15:11
Exactly, the characters are the problem, and poses a threat to break layouts if one doesn't bother to filter user input.
@JoeWatkins compared to processes or compared to what?
hi, I need a mysql table that only has one field, the ID. How can I write an INSERT statement to add a new row (without any parameters) using PDO?
I think I will just add it to the tiny avatar list now
compared to bog standard apache, not even your fancy fpm/nginx, it doesn't get anywhere near that ...
Just did some code-review the last weeks and it turns out that even developers who think to know the game often miss that you need to filter the input if you accept UTF-8 encoding for your inputs. A good read for that btw. is this book from 2006: Building Scalable Web Sites
15:12
//Prepare query
$query = $pdo->prepare("INSERT INTO Phrase () VALUES()");

//Execute query without parameters (not working)
if($query->execute(array())) {

//Return ID
return $pdo->lastInsertId();}
@BenjaminGruenbaum it's very good, they've done a good job of what they set out to do ...
when testing it, I actually felt pretty bad for them, and spent a weekend looking for things to do to improve the speed of it, I got thread creation time halved, you could create 1400 or something like that threads per second
rebuilt, no difference I'm afraid, pthreads was never really the bottle neck, but when you look at it in profile, you cannot help but think it is ...
Hmm, why is it slow then?
I/O ?
to be honest, I'm not sure, every tool I know of, every test you can conduct leads you down the road of looking for things in pthreads to improve, but, it's hard to know what you're looking at, anything that looks like the execution of some pthreads functionality in turn relies on the vm and it's memory manager doing what it's meant to do, it's not useful to profile the manager or zend itself, that wouldn't tell you anything ...
it's hard to know, and I reserve the right to retract, but I don't think you can write this kind of thing in PHP, I think you could have it, but the infrastructure has to be written properly in C/C++, it really does have too ...
what daniel is doing is completely different
what they want is an enterprise infrastructure, they obviously need a proper language for that, I hate to refer to php as anything but, but for this it's just not realistic, that's what I honestly think ... but that's not to detract from the job they've done of it ...
they'll hopefully invest the time in writing it in C/C++, in the form of extensions and SAPI modules, that would work ...
I hope hhvm gets to a stable point at a point. At least hoping it's cleaner than the current PHP "standard" implementation.
15:20
I'm not that keen on hhvm ...
(That is, fast enough, supports enough stuff)
I know you're not, but at the end of the day chances are the people who wrote it have vision.
well daniels numbers go some way to proving that php is not slow, but we all actually know it does have it's limits
@BenjaminGruenbaum It doesn't support namespaces....kind of a useful thing that's missing.
and the basic infrastructure of this is so close to those limits, it makes it quite unrealistic in my opinion
Stuff you're adding now - like your debugger which I find crucial for sane development they've at the core for a while.
@Danack it's not ready.
@JoeWatkins Daniel's issue is not Aerys, it's other libraries and such. That and the fact to use Aerys you have to be a pretty competent coder to begin with.
Although generators greatly reduce the curve/shift IMO.
@BenjaminGruenbaum I'm not saying it's not technically a brilliant thing, it ruddy well is, that's clear ... however, I don't see it as compatible, I don't see as compatible with the ecosystem, any of us can re-implement the syntax in a day, Anthony done it, Nikita has done it ...
It's like Python and the GIL and the lack of JIT :P
I don't think it will be a problem forever, what Daniel says about the current web sapi's is absolutely correct, the best one we have is actually un-maintained, the rest are many years, many many years old
What would you say some of the coolest things you've seen built in PHP are?
FlareGramster obviously
15:27
Heh
hmm ...
it depends what you mean by cool ...
there are many kinds of cool, there's interesting cool, there's I'd use that cool, there's why didn't I think of that cool ...
All of the above.
I just googled it and net tuts put wordpress plugins in the top 15... -_-
all of the interesting stuff would never really work ... like watching a monkey on a bike, it's kind of cool to look at, but after a while you feel sorry for the monkey ....
winbinder, php for android ... they're both monkey on a bike interesting ... the winbinder guy, Rubem is some kind of windows powered wizard, but not that great at php and didn't know Zend very well when he set out, the php for android guy I couldn't work out, he didn't seem to know how to compile stuff, which is weird ..
Build a gaming engine :)
all kinds of interesting things pop up like that all the time, wxwidgets, on gaming there's an sdl extension ...
other things that are super cool, in the why didn't I think of that section, are composer, obviously, that's brilliant, we should all punch ourselves in the face for not thinking of that ...
it's pretty hard to pick out projects ...
you have to choose from 80% of everything :)
15:38
Hello Peeps. Merry Xmas :)
I think the really cool individual projects are probably to come yet ... the language is only just getting interesting imo ...
I'm off - ttyl
lata @BenjaminGruenbaum have a good one :)
How do you call a person who downloads a script, edit the Author name to his?
15:40
@SabTheCoder "php programmer"
@BenjaminGruenbaum I don't think so. I saw a site where a guy used a wordpress theme to make it. He changed the author name of the theme to his LMAO
I want to know how to call such a person, who claims he's a great coder when he just copies a theme, edit the author name and fools his client.
@joe, I hope so. Seems like a lot of wheels keep getting reinvented ATM, which isn't very exciting.
@JoeWatkins agreed. the addition of namespaces and anonymous functions has really been a treat for me which has impacted my coding greatly
@Fabien framework after framework is boring ... but I am glad they exist, but yeah time to move on, now build something with one of them, any of them, it doesn't really matter they are all basically symphony or laravel anyway ...
@SabTheCoder copyist or plagiarist
15:44
or punk
Symfony seems more promising these days, but who knows how fracture will turn out :)
well that's not a punk.
user924016
Hey guys, merry xmas
Though I wonder how much it will change with 5 mill behind it
@hakre Well, I need a cooler name for him. I wanna make sure his client knows he's stupid
15:45
@SabTheCoder You better know what you are doing or it might come back to bite you in the ass
I still wince at the thought, of any of them ...the most suitable ones are ones it's not really possible to deploy, I think if the language is going to support that kind of development then there's only one place to implement it ...
@SabTheCoder He indeed fools his client, he also violates the copyright and looses all rights under the GPL by doing so. That means, what he passes to his customer is actually a license bomb. If it's a Wordpress derivate you can pass me the proofs and details of that person and I can send a cease and desist letter through my legal department as I have copyright on Wordpress. That way his client will actually feel by the money that this was a stupid person to work with.
;D
He's 17
@hakre thanks License Man :) @PeeHaa I suck, I know :P
;-)
15:47
@JoeWatkins what you got for present? :P
We all suck. It's only sometimes we don't know it yet :D
large bottle of baileys and huge bag of weed ...
Accepting that you suck is the only way you suck less :P
user924016
^ oh yes
@SabTheCoder Well just remind him that this can become costly and he should fix that.
15:48
@hakre Ya. I just want him to know via an FB status
To show him he's noob :3
user924016
just came back from shopping abit of xmas / new years #
haha :D
well sounds like kindergarten a bit :) Anyway, just let it go if it's not your problem.
@webarto I also got woken up at 5am and have heard nothing but noise all day, but it's all good, they'll run out of juice pretty soon, plus I'm high as a damn kite so it only bothers me a little ...
Ya guess I'll do that :)
@hakre Since you work with wordpress, mind I ask how they make money? The thing is Open source
I heard about Automattic but does it make that much to pay all these people working on it?
15:50
@SabTheCoder Well they make money because it's open source.
But open source doesn't mean free?
@webarto what you done today ?
There are no ads as well
@SabTheCoder Well, it means free as in freedom. And users are paying to use the software as well.
@SabTheCoder Sure there are. Matt Mullenweg personally has his own experience in online marketing and not only that, a company he is related to - Automattic - has ads all over the internet.
@Fabien do you ever look here: github.com/trending?l=php ??
15:52
@JoeWatkins Haha, I never got high, we should try sometimes :) Took car for repair, broke windshield and bumper and few scratches. Need to drive, and can't in that condition.
Aha.
@hakre Wordpress is awesome though. There's this guy who made a million dollars selling themes on themeforest lol
user image
3
Meanwhile in Bosnia.
^ LOOOOOOOOL
@webarto Spread the luuv :D
@webarto hehehehe
15:54
@webarto hahaha
there are places to get your car fixed on christmas day ?
@webarto The guy who did that is a genius though
Once before @joe. I still need to get more involved but I am not very confident.
Little Boy: Mom look, it's a flying peenis xD
@Fabien I look ... seems a lot of it is the kind of thing people spend a lot of time bashing ...
perhaps because of the boredom ...
15:55
well actually it's more what an "adult" see there, less the kids ... .
Well, you have a point. But kids these days lol
@joe easier to criticise than contribute.
Anyone watched The Secret Life of Walter Mitty yet?
well you can say that about some, maybe don't listen to those people ... but there are genuine criticisms to be heard from certain individuals ...
@JoeWatkins Yeah, pretty much everything works as is, there are 3 "official" religions (Islam, Orthodox Christianity and "normal" Christianity), so it's optional. E.g. in Austria nothing is open, even supermarkets are closed on Sundays. (high influence from Church)
15:59
@webarto Aren't the 3 "official" religions, Jewish, Christian and Islam?
@webarto you can't be religious tho, right ?
I respect everyone but I don't give a fuck at all. I like Christmas spirit.
I like Buddhism, more for principles though. But religion doesn't make sense to me.
New pope is nice.
@SabTheCoder Not where they're not majority :)
16:02
@webarto yeah I like Christmas lunch too ... when else do you get to eat several types of animal in one sitting ... I've never met a thinking man that is genuinely religious ... the two don't seem compatible ...
You shoot fireworks for New Year, we shoot AK-47.
@JoeWatkins Exactly :)
I hope @PeeHaa will monetize FlareGramster so I can pay next bills :D
there's one kid of about 13 that comes in here sometimes who is super religious, but he's young ... it's not disrespectful to observe that nonsense is nonsense, it's actually honest ... so I'm not being disrespectful at all ..
user924016
@JoeWatkins if you are taking religion from someone.. you are doing them a favor
You can't pull out enough facts as they can pull out more of made up stories, so I don't go into that at all.
@webarto :-D
16:04
Religion is mostly inherited. It's funny that way.
yeah but each to their own and all that ...
it's only inherited because we allow it to be ... which is questionable ...
Yes, better to be tolerant.
Yup, spread the <3.
Preaching can go both ways.
Or stab them in the dark.
16:06
yeah be open minded ... but not so open minded that your brain falls out ... if something is bullshit then there's no problem saying it's bullshit ...
user924016
but it is bullshit 99.9%
user924016
noone should tolerate that
yeah but there are people who are super religious and I wouldn't want the world to be without them
that might be patronizing, but whatever ...
user924016
^ for the lols?
there's a female jewish rabbi, I dunno her name, but the woman is so liberal she doesn't even sound religious, for whatever reason she cannot or doesn't want to grasp the facts of the matter, so she fills gaps in her understanding with a god, she's really open about it, and she's just a genuinely good woman, a good leader, I wouldn't want her to change .. there's probably a billion people like that ...
16:08
I love the way Stephen Fry handles atheism and religion
I saw Attenborough answer a question about religion during an interview ... it was brilliant ...
I mean you can't argue with him when he starts to talk about the natural world, his answer is quite cool ... find it ...
Neil degrease Tyson is good too
Degrasse
"I can't believe that god created parasites to torture small children"
16:12
Dawkins vs that lady too "but show me the proof"
:o
wendy wright ...
the stupidest woman on the face of the earth ...
yeah her
My beloved beliebers I'm officially retiring
Christmas, ruined.
16:14
Yeah,best Christmas gift ever
He's not retiring.
^
She's going out for a year
I was too excited also and Iread the article to feel sad again
lol
as a teen victim of "stardom" we only have to put up with him for a limited amount of time, I guess that's something ... he'll pretty soon be on the crack or in jail ...
Jail, maybe home arrest
Mansion arrest
This guy spit on his fans
He gets a ferrari
and what not
meh
16:16
yeah that, they'll be too weak to stand the flash of a camera whatever :)
What's with that Wendy Wright
She sounds stupid
dangerously so
it's not stupidity that makes her dangerous it's funding ...
She religious or something?
most stupid people don't get funding ...
LOL
She's gotta be one in a million
16:19
nope, the funding goes a long way to showing she's pretty much the norm within certain mindsets ...
The idea the earth is only 6000 years old...
6000 sounds too little
There are rocks which are millions years old
but I don't really trust carbon-dating
@SabTheCoder Why?
@Fabien Joking?
It doesn't seem accurate
16:22
there are skeletons millions of years old, there are rocks billions of years old ...
@SabTheCoder Do you understand the science behind it?
there's no "it", there are several different forms, using very different methods, they converge upon the same answers within a certain margin, that's good enough for me ...
@JoeWatkins There may be several methods, but it centers around one main MO
16:24
@Jeremy Carbon have a half life < 10K years
They attack the methods of dating such objects claiming carbon dating is invalid and such
Yeah, you can use c14 dating only to something like 50-100k years
@SabTheCoder Not all carbon isotopes
^ This (aS NikiC said)
for longer ranges you need other isotopes
16:25
but they are different methods, relying on different chemical processes, processes that in some way you trust in every other part of your life for technology and to keep you alive, there is no reason to distrust it ...
> the cool thing about science is that it's true whether you believe it or not. -Neil Degrasse Tyson
well you don't trust the processes, but you trust the explanations of the ones you do rely on, given by the same people
Science has proof
That's why we can rely on it
And I love science, especially Physics
16:26
afternoon @NikiC
The thing about religion extremists, is that they often use science when it's comfortable for them, and then badmouth it a few minutes later.
Also guys
Agreed madara
Radioactive decay is clearly of satan, so we can't believe that
16:27
xD
@JoeWatkins afternoon :)
NikiC wins the internet for a day.
When they found the dead sea scrolls, they had no problem with the carbon dating technique they used on it.
@NikiC lol
Dead sea scrolls?
I'm religious but as Einstein said religion without science is blind
16:28
I think Science and Religion can complement one another.
Definitely
Science answering the how, Religion answering the why.
Yep
I like the how most of the time.
@MadaraUchiha you gonna have a hard time with that ;)
Does anyone know that satire that relates religion to building a box?
16:29
yeah that doesn't make good sense ... it's very liberal, but it doesn't make good sense ...
@SabTheCoder They don't use carbon dating for things that are millions of years old.
@Jeremy I know the one about the invisible dragons.
"Because the half-life of carbon-14 is 5,700 years, it is only reliable for dating objects up to about 60,000 years old. However, the principle of carbon-14 dating applies to other isotopes as well. Potassium-40 is another radioactive element naturally found in your body and has a half-life of 1.3 billion years. Other useful radioisotopes for radioactive dating include
@Danack K40/Ar40
Uranium -235 (half-life = 704 million years), Uranium -238 (half-life = 4.5 billion years), Thorium-232 (half-life = 14 billion years) and Rubidium-87 (half-life = 49 billion years)."
16:29
Hmm
I don't see what's wrong with accepting the answer is unknown yet. Not simply attributing it to some omnipotent entity in the sky.
God until proven science.
Do you prefix calls to global functions in a namespaces file with `\`?
Yeah, Uranium for the extreme millions :)
@toscho "global functions"?
@MadaraUchiha functions from global namespace
16:30
If you mean native functions, then no, it isn't needed.
@toscho no
@Fabien yeah, that ...
off out a while, lata chaps ...
I thought that might make name look-ups faster.
It will, marginally
So readability over performance? :)
16:32
Yes
@toscho Most definitely.
I know there is a PHP tool that scans the code and then says the required PHP version but I don't remember the name.
Anyone knows it?
@hakre 3v4l.org :P
@PeeHaa no static :D
hmm, not in this list :/ stackoverflow.com/questions/378959/…
Here it is, it's called PHP_CompatInfo, pear repo: bartlett.laurent-laville.org
16:45
http://stackoverflow.com/questions/20774862/how-to-speed-up-git-daem‌​on-git-daemon-seems-load-entire-git-to-ram
Merry christmas!
Thanks! And you too!

« first day (1166 days earlier)      last day (4008 days later) »