« first day (1121 days earlier)      last day (3827 days later) » 

@JoeWatkins Just use Aerys it's a better environment to write your code with.
 
@PeeHaa Brilliant!
 
:P
 
@Ben dunno what you mean
 
4:28 PM
@JoeWatkins he means @rdlowrey's webserver in PHP. Then we don't have to mess with other sapis than cli.
 
@PeeHaa lol
 
@JoeWatkins Have you talked to @rdlowrey in the past 6 months?
 
yes, I don't see how it's connected ...
 
His server doesn't have superglobals :P
 
4:37 PM
@PeeHaa Which country just came online? Whichever it is seems to need carpet bombing.
 
Yeah, reading what I wrote it doesn't make much sense in the context
 
@DanLugg Dickystan I think
 
> deleted by SLaks, Mark Baker, Community♦ 32 secs ago
Since when can community delete on new posts?
 
I think that's part of the flagging.
 
@bwoebi It's a flagging thingy
 
4:38 PM
ah okay
@JoeWatkins because then we could just monitor a whole series of requests to see when an error appears with the sapi cli :-)
 
how to set properties for DateOfBirth ?? for string types its public string UserName {get;set;}
 
@Sonic99 I think you want C# for that.
 
Or an approved RFC
 
Or drugs.
 
Can't I just have all of the above?
 
4:41 PM
@DanLugg any language
 
No, you can't @PeeHaa. All the drugs in the world won't land us accessors/mutators.
@Sonic99 Then I don't understand your that's not a question.
 
Date of birth is string type or ??
 
@Sonic99 Are you asking about a DateTime class?
 
@DanLugg :-D
 
Evening
 
4:46 PM
lol, I Google'd that and it came back with "Evening"
 
Yeah. I forgot to mention you will have to get to 88mph — PeeHaa 9 secs ago
 
@PeeHaa ONE POINT TWENTY ONE JIGGAWATTS!
 
:)
YES! Food haz arrived!
 
@PeeHaa Food for me? :-)
 
What's kind of food ?
 
4:58 PM
Y U NO SCOPE THINGS PHP? E_NOT_ENOUGH_SCOPE
 
@DanLugg hmh?
 
@DanLugg lol
link?
 
(I herped the derp outta that message)
 
@DanLugg unset it if you need to^^
 
5:02 PM
@bwoebi Mmmmmmno. E_TOO_MUCH_EXPLICIT_BOILERPLATE
 
@DanLugg but then $o; /* init $o */ { $o = bla(); } var_dump($o); is E_TOO_MUCH_BOILERPLATE!
 
@bwoebi I agree. Something to meet in the middle...
 
@RhymeGuy You have "trouble" calculating coordinates? What sort of problems?
 
use ($a = new Noodle())
{

} // implicit unset($a)
Blech, still too much boilerplate.
 
@DanLugg there's nothing in the middle^^
 
5:08 PM
Actually, I'd still like a use construct as above; a 'la C#'s using.
 
@DanLugg I don't see where you'd need that
 
Which would actually translate directly to:
$a = new Noodle();
try {

}
finally
{
    unset($a)
}
 
Just a block without any function or method which you can pass things into?
How does that help you?
 
@DanLugg then just wait for (function(){})(); in PHP: /* code */ (function(){ $a = new Noodle(); })(); /* $a isn't set */
 
@Ocramius hi. Wanted to ask you one more quick Q about . If I work with and table has AUTO_INCREMENT field, then value of this field for a new record will be available ONLY after flushing it? Or doctrine has some way of generating it before. Haven't looked under the hood yet.
 
5:12 PM
@bwoebi That will be nice, but the lack of implicit parent scope visibility is a PITA with that.
 
@DanLugg you never are satisfied? :-P
 
@bwoebi pretty much ;-)
$a = 1;
$b = 2;
(function () use implicit {
    $c = new C();
    $c->doStuff($a, $b);
})();
@MadaraUchiha It's syntactic sugar for resource ensured resource deallocation.
 
@DanLugg function () use scope {} … Write a RFC for it ;-)
 
Despite my less-than-adequate-for-non-trivial-application C-fu, I think I might.
Given such a construct, my opinion is that it should create references to anything in the outer scope; so given my above example it would essentially be an implicit use (&$a, &$b) -- thoughts?
 
There are two ways: copying the symtable and remove at the end the new things or creating a new symtable with all the current vars becoming refs.
 
5:21 PM
@bwoebi So, my preference would align more with the second.
 
I have to save a long text inside my mysql database, the accent characters (eg. "ö") won't be shown. Like the word "egoïsm" will be saved like: "egosm".
how can I solve this?
 
@Ibra038 Charset?
 
@salathe Do you like chinese? :)
 
@MadaraUchiha Where can I see that?
 
5:32 PM
@Ibra038 Are you using PMA or something similar?
 
Yes I do!
 
@Ibra038 How are you managing your database?
 
Localhost ?
phpmyadmin
 
...
Oh, you mean P HP M y A dmin?
 
I googled the abbreviation, but i got something else..
 
5:36 PM
:P
Did you read the QA I gave you?
 
Yes
 
And I don't understand where to put that code ):
 
Do you not know how to run SQL queries?
 
With charset, do you mean the collation of a colum/row?
 
5:40 PM
I mean the collation of the whole table
If you've set a collation for the column (which I'm guessing you didn't, because then you'd have known what it was), show that too.
 
latin1_swedish_ci
Can that be your answer? lol
 
You need to change it into utf8.
You can do it rather easily from PMA.
 
Can i just set utf8 for the column?
 
Change the table's collation to utf8_bin.
 
Done.
 
5:43 PM
Try storing your weird characters now
 
They still disappear
 
How are you storing it?
 
ALTER TABLE brief CHANGE inhoud inhoud LONGTEXT CHARACTER SET utf8 COLLATE utf8_bin NOT NULL
 
How are you storing it?
 
@Ibra038 Also please stop using Dutch names for things
 
5:47 PM
Amagahrd
 
@PeeHaa Haha, thanks for the tip, I won't from now on.
 
@Ibra038 CTRL+K
 
	function edit( $brief ) {
		extract( $brief );
		$curdate=date( 'YmdHis' );
		if( false !== $this->db->query( "INSERT INTO brief SET idbrief='$idbrief',customer='$customer',datebrief=STR_TO_DATE('$datebrief','%d/%m/%Y'),creation='$curdate',betreft='$betreft',inhoud='$inhoud' ON DUPLICATE KEY UPDATE customer='$customer',datebrief=STR_TO_DATE('$datebrief','%d/%m/%Y'),betreft='$betreft',inhoud='$inhoud'" ) ) {
			$this->db->query( "UPDATE brief SET nobrief=CONCAT(DATE_FORMAT(datebrief,'%d%m%Y'),idbrief) WHERE creation='$curdate'" );
It's the 'inhoud' that should be storing accent characters.
 
Isn't INSERT syntax like INSERT INTO table (field, field, field) VALUES ("value", "value", "value");?
 
That code is just nasty...
 
5:52 PM
Yeah, the programmer made it this way. He's unavaliable now for a long time.. I have a ard time understanding this kind of coding.
@MadaraUchiha This is it i guess.
 
@Ibra038 You mention $this->db->query
 
Half the functions you can do in PHP before going into MySQL
 
What's $this->db?
 
like Concat and Date
 
(What kind of an object is it?)
 
5:55 PM
Honestly, I don't know either. I got like 50 PHP files he send me. Let me search, 1 second.
 
@Ibra038 var_dump($this->db)
 
$brief = $this->BriefModel->edit( $this->sanitize( $this->input->post( NULL, true ) ) );
This?
 
...
2 mins ago, by Madara Uchiha
@Ibra038 var_dump($this->db)
 
Nothing found yet.
 
@MackieeE Why not in SQL?
 
6:01 PM
@Ibra038 ??
@webarto =) To simplify an SQL query further
 
I'm using WAMP localhost. does that matter?
I'm using CodeIgniter as framework. ellislab.com/codeigniter
 
6:16 PM
That's two bad decisions in two sentences :P
 
6:28 PM
$100 is a placeholder for #php 5.5 certificate, I don't fancy taking it, but #YOLO. http://t.co/rSHpIVPEO6
@igorw can I be #YOLO certified too, please?
 
@PeeHaa this does not work
<input type="date" class="input" name="date" value="<? echo $Date; ?>"/><br/>
how can that be?
The value is set
in the html, but the input does not chnage
 
@EliteGamer: What do you mean 'input does not change'?
 
it still says mm/dd/yyy
 
and not the date, 01/02/2013
 
6:56 PM
morning btw
 
morning @HamZa even though it is evening here
where i am
 
@EliteGamer same here, you clearly didn't read the pact :)
 
even though it doesn't matter
 
say wha
 
> Discussion for all things PHP. BEFORE chatting in this room read : git.io/chatroom-pact
 
6:58 PM
@EliteGamer: Read the pact and become one of us!
 
is that a bad thing @AmalMurali hahah
oh, the pastebin
 
@EliteGamer lolwut
 
XD
@HamZa becoming one of you haha
 
@EliteGamer you will gain the ultimate blood :D
 
:D
Somebody give me a php Test
i want to be certified
XD
come one, lay the questions on me
 
7:00 PM
@EliteGamer did you hear about w3schools ?
 
:l
that was easy
too easy
 
@webarto e'ning
 
hahah
 
@HamZa don't make me bulk trash you.
 
7:01 PM
e'ning all ...
 
@HamZa Also, I have the ultimate blood.
 
@MadaraUchiha /me hiding from Madara
 
The Uchiha blood.
 
@HamZa: Caught me there. :D
 
@HamZa what!? $95 for a certificate?
what does that even do XD
 
7:02 PM
@EliteGamer a joke lol
 
@EliteGamer A PHP test?
Sure
 
yea, the test is free but not the paper hahah
 
Given a string and an array of possible variations of characters, return an array containing all possible variations of the string
Example:
 
ok, once sec, let me google
 
@EliteGamer nooooooooooooooooooooooooooooooooooooooooooooooooo
 
7:03 PM
hahaha
 
"ab", ["a" => ["4", "@"], "b" => ["8", "6"]]
Return the following:
 
that took about 5 seconds
lol
 
@MadaraUchiha Sounds familiar :P
 
@JoeWatkins morning, sent you an email.
 
["ab", "a8", "a6", "4b", "48", "46", "@b", "@8", "@6"]
 
7:04 PM
@MadaraUchiha and @HamZa do i get my paper now lol
 
@Fabien Does it? :P
 
@EliteGamer you're r11-certified now :)
 
yea
me happy
 
5 mins ago, by Elite Gamer
i want to be certified
why ?
 
<philosophy>
 
7:06 PM
You have awaken the @tereško.
 
</philosophy> <kittens>
 
@tereško idk
joke
@MadaraUchiha Should we run now?
 
@AmalMurali lol
 
Yes. Run Simba. Run and never look back.
 
</kittens> <philosophy> <php>
 
7:08 PM
@MadaraUchiha why isn't there 8a for example ?
 
@HamZa Character position does not change.
Only individual characters change according to the variations they have.
But the string itself does not mutate.
(i.e. the position of the characters)
 
I tried to repfarm earlier but @bwoebi stopped me
 
@webarto cool will look tonight
 
@HamZa I knew i could do it
 
@EliteGamer photoshop level over 9000
 
7:10 PM
i know right
oh, that say 2013
 
@EliteGamer you could atleast change it to PHP 5.5 xD
 
instead of 2008
 
When PHP 6 releases, will people re-do their certification?
 
hahah :p
 
@JoeWatkins Can you give me write access to your phpdbg repo? There are a few things like compiler warnings etc. which want to be fixed ;-)
 
7:19 PM
@all here is my amazingly weird question pastebin.com/vMEbq31W All, packed into this pastebin.
 
I'd love to know what a w3schools xml certificate is
 
oh, and @HamZa there is the question in a pastebin pastebin.com/vMEbq31W
 
@EliteGamer wut
 
The question i asked, then you told me about the rules
so i added it to a pastebin
 
I've no idea what you're talking about, also your question is unclear
 
7:22 PM
Well, in my PHP script i echo the date into the value attr of the date input
for some reson it does not display in the input, but it does in the html
 
@EliteGamer: What does $Date contain? Post the output of var_dump($Date);
 
@bwoebi Do you happen to remember how to run aerys?
 
@AmalMurali $Date = "01/02/2013";
 
@NikiC Well, I've never ran it…
 
ah
 
7:25 PM
@NikiC I'm waiting for @rdlowrey to finish his actual work… he said that'd change a lot… so…
 
@EliteGamer Ah. Change it to $Date = "2013-02-01";
 
aerys is so awesome that I always need at least two hours to figure out how to start it
 
@NikiC Yeah, a bit more documentation wouldn't be bad^^
 
just running bin/aerys just provides an undless stream of fatal errors
 
115
A: Is there any way to change input type="date" format?

David WalschotsWe have to differentiate between the over the wire format and the browser's presentation format. Wire format The HTML5 date input specification [1] refers to the RFC3339 specification [2], which specifies a full-date format equal to: yyyy-mm-dd. See section 5.6 of the RFC3339 specification for m...

 
7:27 PM
@NikiC hm?
 
:12859354 ready
Listening for HTTP traffic on 127.0.0.1:1338 ...

Fatal error: Call to undefined method Aerys\Server::run() in /home/nikic/dev/Aerys/bin/proc_worker on line 31
[repeat forever]
 
@EliteGamer: See HamZa's link. Try changing it to echo date('Y-m-d', strtotime($Date)). (I think that should work)
<input type="date" class="input" name="date" value="<?php echo date('Y-m-d', strtotime($Date)); ?>"/><br/>
Anyway, night all. g2g.
 
hello everybody
@PeeHaa are you here?
I am looking for some advice in this object
I want to use it as a security system in video streaming . Is it possible ?
 
@IceD Ask.
@IceD "Security system" how? What do you want to "secure" exactly?
 
7:33 PM
@NikiC the Server class actually also doesn't have such a method… there's something wrong…
 
Ok I will write it now.
@MadaraUchiha I have a video stream. I want to secure video channels. User accesses it via VLC player and has username and password. So I want to make it that noone without user pass can access those streams.
 
@IceD How are you getting the credentials?
POST request?
 
@IceD Possible: yes probably. Painful: yes ofc it's pear
 
@MadaraUchiha VLC has option to enter username and password
 
@IceD You didn't answer the question.
 
7:38 PM
@MadaraUchiha I used nginx before with proxy and set some kind proxy auth
but it wasn't secure
 
@NikiC you need to ask @rdlowrey when he reappears here…
 
@bwoebi hasn't been around much recently :(
 
@NikiC yeah… :-/
 
@PeeHaa Can you take a look what I asked ?
 
@IceD I still don't understand how your script gets the credentials.
 
7:43 PM
what are credentials ? user pass ? user pass is taken from sql database
 
@IceD No they aren't.
They are received from the user.
How?
 
Via VLC player . User gets a playlists. Puts into VLC player. Then he is asked for a username password. After that he gets a stream into VLC
 
I give up.
 
@IceD That pear thing?
If yes: don't use it
 
@PeeHaa why not to use pear?
 
7:46 PM
PEAR === outdated, painful, unmaintained pieces of crap
 
okey. then how do I get what I want
 
Wirte your own authentication
 
a secure video stream via http link that enables me maximum protection
 
if (!$user->isLoggedIn()) {
    $this->stream('http://www.youtube.com/watch?v=kfVsfOSbJY0');
}
 
I remember a time when PEAR was acceptable.
 
7:49 PM
@PeeHaa Given that he didn't know to explain to me how the credentials get from the user to the PHP script, I doubt he'll get $user->isLoggedIn() or $this->stream...
 
As long as he gets the youtube url right he'll be fine :)
 
@PeeHaa And... you know... write the implementation?
 
@BenjaminGruenbaum There was such a time O0?
;-0
 
@MadaraUchiha I am not that good in PHP to explain
 
@PeeHaa Like 2004?
 
7:50 PM
@MadaraUchiha can you tell me any suggestions or tutorials?
 
Maybe 2003?
 
Ah 2003. I was too busy experimenting with dope at that time :P
 
@webarto you need to find me at a conference, I got stickers
 
No, the problem doesn't begin when your hosting stops using PHP4, that's where the problem ends. — Madara Uchiha 22 secs ago
 
@JoeWatkins just doing what I told I'd do 2 days ago
 
Back in the USA... What did I miss?
 
@igorw :'(
 
7:59 PM
@ircmaxell 2 people shot dead in Huston?
 
@ircmaxell well ... you have a new major now in NY
 
Not yet, he won't take office for another 2 months...
 
I more meant here, not in the us...
 
CLOSE ALL THE REGEX QUESTIONS!
 
@ircmaxell you were in toronto today? I didn't see you here
 
Q: should I post these CV's here or is it best suitable in the CV-room ?:
 
I don't mind handling them here, but I can't speak for others
 
unless someone has anything interesting to ask here, I see no harm in dumping the cv-items here
 
8:10 PM
@igorw no, lookup the airport code. Goose island in Newfoundland. Stopped to refuel...
 
I bought a voucher and put $100 to remind me that I paid for something :P
 
Congrats. Too bad its the old exam ;-)
 
Have you taken 5.5 exam?
 
I wrote it
 
This one is from 2011. $100 is a placeholder for 5.5 :D
OH, WOOT!
Congrats to you.
 
8:11 PM
Ahh, nice :-)
 
@ircmaxell seriously ?
 
yes
Well, I was on a board with like 8 others
 
nice, a bit ashamed here ...
 
@HamZa I don't mind them here, it's even part of the reason I come here
 
I reckon it will be more difficult, which is better.
I hope I'll fail.
 
8:12 PM
Lol
 
I won't learn anything for it :D
 
thx for your opinions
 
thing is: those certs prove that you know (some of) the language, but say nothing about your skill in programming
 
It may sound silly, but if you're already worthy, you'll pass without (explicit) prep.
@tereško Yes, but I do want to decorate my wall.
 
@ircmaxell Where can I see this exam? Do I have to pay for it to see it?
 
8:14 PM
@tereško So what does prove programming skills ? Projecteuler ? Google codejam ?
 
@webarto original tron poster would have been a better investment
 
@tereško lol
 
:D
 
@tereško that can be said about almost any other certification you receive - they show some knowledge in the specific thing (and even then - in a time constraint while taking a test) the cert checks and nothing else.
 
@HamZa github with sane code I would say
 
8:15 PM
@MadaraUchiha You have to take it ($195), to see it :D
 
It's extremely hard to hire :/
 
@PeeHaa /I see
hahaha
 
1 message moved to /bin/gif
 
... and all this time you thought that Nigerian emails were the most popular scam
 
@tereško The best scams are the ones people call business.
 
You have to admit though, how often do you hear "He was head-hunted because of his zend certificate".
 
@PeeHaa haha I'm surprised that the colonel answered it
 
@Fabien All the time.
 
head hunted, not hired....
 
@HamZa He answers all mysql questions
 
8:32 PM
Hmmm I see
 
8:46 PM
Yes I know that they have started doing that last year. Are they also committed to answer questions on here or are they simply going the facebook route. — PeeHaa 3 mins ago
 
This is very weird, Google is down for me, yet it's showing that it's online & I can even ping it.
 
@PeeHaa How nice would it be to answer questions on SO as a paying job :)
 
Meh sounds like a reeeeally terrible job :P
 
lol
 
Depends if you have to give truthful answers or not.
 

« first day (1121 days earlier)      last day (3827 days later) »