« first day (963 days earlier)      last day (4210 days later) » 

10:01
Ohh, so I am on right track for not using them. :)
why would one want to spend time learning an extra lang that doesn't add value? :s
@dragon112 do it then later :) Or do it now and excuse yourself from work :)
I keep getting this when I'm here... I'm using Firefox
10:16
@iroegbu the resource might be exploited. You should only load scripts from publicly known URLs via HTTPs.
@YogeshSuthar use square braces []
@hakre How do I do that? I only get that when I chatting here.
@hakre It's the boss' birthday so we are getting a lunch in 10 minutes (in the sun).
@YogeshSuthar [tag:cv-pls]
@DaveRandom For the fun of things, here's my ObjectDecorator lolz
10:22
@iroegbu At last succeded. :)
@Jack not good enough
@NikiC not enough magic?
needs moar eval for implemented interfaces ;)
haha
i'm serious
decoration makes little sense if it doesn't keep the interfaces ^^
10:24
I suppose you have a point there.
Genuine question: is this the right way to answer questions like this?

http://stackoverflow.com/questions/16936849/show-div-in-every-browser-apart-from-ie/16936990#16936990
I feel like I'm encouraging bad practices, but at the same time there MAY be a legitimate use for that at some point for some future user.
Anonymous
it's cool
As long as it starts with "you shouldn't do this", I think you're okay @LightningDust
@Jack That's basically what I go for. 'This is wrong BUT here's how you do it'
@NikiC But unfortunately you can't tell PHP the class implements XYZ if you're using __call(); it will complainz.
Anonymous
10:31
what does closure mean in php
Anonymous
i can't get that, everytime i read it
Isn't that in the manual?
Anonymous
nope
orly?
It's just anonymous functions really; not all anonymous functions are closures.
Anonymous
@Jack Wow, too complex, I was better of not knowing at all
Anonymous
10:33
This must be for elite codderz
is it possible to write a form such that on submission a new browser tab/window opens where the form is handled? POST
Nah, it starts to become elite (or foolish) when you start doing Y-combinator =D
@iroegbu < form target="_blank"?
oh... Thanks. Something must be wrong with me.
Anonymous
@Jack that "Noob" in my name is there for a reason. If you tell me anonymous functions, y-combinator .... I am gonna only pretend as if I understood. :)
10:36
@phpNoOBఠ_ఠ just FYI, there's quite a difference between noob and newbie
Is there a phh func I can use for saving Diaeresis the corrcet way?
PHP lambda support is disappointingly complex compared to other languages.
@Duikboot What are Diaeresis?
Anonymous
@Ocramius ohhh ya? what is it?
@Jack That's why I said it need "moar eval" ^^
Anonymous
10:37
am curious
The diaeresis or trema is a diacritic that consists of two dots ( ¨ ) placed over a letter, most commonly a vowel. When that letter is an i or a j, the diacritic replaces the tittle: ï. The diaeresis and the umlaut are diacritics marking two distinct phonological phenomena. The diaeresis indicates the pronunciation also known as diaeresis ( ), or hiatus, in which a vowel letter is not pronounced as part of a digraph or diphthong. The umlaut ( ) indicates a sound shift. These two diacritics originated separately: the diaeresis is considerably older. Nevertheless, in modern computer syst...
now it's in my db like : België
@phpNoOBఠ_ఠ a noob is more the guy who's still playing after a year or so and still doesn't learn/want to learn decently and keeps doing the same newbie mistakes :P
@Duikboot Oh, those ... well, just save shit in utf8 all the time.
@Duikboot You probably have a charset issue. Use utf-8.
(in gaming at least)
so newbie is ok-ish... noob is offensive
IMO
10:38
@Ocramius I tend to think of a noob as someone who has no desire to improve.
How about 'nub' ?
Much like a help vampire.
I thought that too but :
@LightningDust didn't want to put it that way
nub == noob
10:38
@Duikboot Is the frontend using utf8 too?
Hi so this is my first time with chat of #stackoverflow
<meta charset="utf-8" />
Anonymous
@Ocramius :) that is one entertaining definition you got there. It reminds of someone
<form method="post" action="/your/url/" accept-charset="UTF-8">?
10:40
@phpNoOBఠ_ఠ well, it's like nerd and hipster
@Duikboot That's not important, what do your response headers say?
I get offended if they tell me I'm a hipster :P
hipster == Ruby user no? ;-)
Ruby isn't hipster any more
Haskell is.
Ruby is too mainstream.
Ruby is soooooooooooooooooo 2009
10:41
HOw can I checkt hat @jack?
hehe
@Duikboot using your browser developer tool, network tab.
@Ocramius Actually, that's true .. someone was applauding the fact that Ruby has become more mature :)
Back later, lunch
@Jack well, about time.
I have the network tab open.
True, true.
@Duikboot uhhuh ...
Anonymous
10:42
@Ocramius I don't even want to know what hipster means. All I wanted from PHP was to create a chat site, now after learning PHP, PDO, OOP, xdebug... little bit of Js, Javascript, and AJAX, I just found out, I have to learn about web sockets again, to create my site. I am very close to going crazy with learning too much stuff. If you mention something I've never heard before, i'll kill ya :P
Anonymous
and make it look like an accident.
@phpNoOBఠ_ఠ I'll composer the shit out of you :D
@phpNoOBఠ_ఠ seriously though, that's how our job works: each week you learn something new
it works like that, no way to change it
@Duikboot Inspect the response headers.
developers live with a code editor and a manual on their screen/desk
10:44
got them
@Duikboot What does it say under "Content-Type" ?
Also: where did @Gordon go?
dafuq ... what happened to the charset.
Okay, add this snippet to the top of your code: header('Content-Type: text/html; charset=utf-8');
Anonymous
@Ocramius that is what I hate about programming. I am sales and marketing agent for a company, just taking a break from my work, and even though I found codding specially in PHP quite addictive, the fact, unlike my job, it requires constant updating, has assured me, I would never pursue a professional career as a developer. Never!!!
10:46
@phpNoOBఠ_ఠ then stop now or be doomed.
Content-Type:text/html; charset=utf-8
I'm warning you, it isn't getting any better
Anonymous
@Ocramius avoiding to learn new things, is my way of "stoping it" But, I do what do for pleasure, so as long as I've got time on my hands, I'll play around with php.
arggh, I still receive a 'België' in my db
10:47
@phpNoOBఠ_ఠ did you check the secret base ?
@Duikboot It doesn't stop there ... your db connection also needs to be made aware.
Anonymous
@HamZa yea. thanks, I am applying some changes to it.
157
A: UTF-8 all the way through

chazomaticusData Storage: Specify the utf8 character set on all tables and text columns in your database. This makes MySQL physically store and retrieve values encoded natively in UTF-8. Note that MySQL will implicitly use utf8 encoding if a utf8_* collation is specified (without any explicit character s...

have fun :)
@phpNoOBఠ_ఠ you're welcome
Anonymous
10:50
@HamZa I am changing a hosting provider, do you have any recommendations from the big guys?
I currently connect to my db the following way :
( I know it's a bad practice -_- )
@phpNoOBఠ_ఠ nope, no idea ... I've never tried a website hosting provider, I only tried dedicated/vps
@Duikboot Oh. My. God. :D
Pass in your config into the constructor, no singletons ;)
I should learn to do that indeed.
Anonymous
@HamZa actually, that is I am looking for. I used always a shared host, now I am trying to change to VPS. I only found out yesterday, that I was the only one not using VPS/dedicated server in this room.
10:52
( brb )
-call
@phpNoOBఠ_ఠ Kimsufi.co.uk - can't beat it
@phpNoOBఠ_ఠ I tried http://www.server4you.net/
- Service: almost null
- Price: very cheap
- Specs: very good
Well the service is kinda creepy, I called them and the guy who took the phone seemed almost drunk and couldn't speak english very well
cannot reshare facebook page post if posted using api and as a page
can anyone help me
@RaviKumar I hate FB questions, it seems like it's not well documented or what ?
@Jimbo Say your server is compromised and it was used for attacking websites/servers. Am I "responsible" for any damage done ?
@HamZa yes, i agreee. But i need a solution
@HamZa I have no idea, but it'd be your own fault for not securing the bloody thing ;D
@HamZa Very fair point though - that's why I buy it with an anonymous card ;)
@Jimbo What if there was a 0-day exploit used ....
Anonymous
@Jimbo very interesting, checking out their profile now @HamZa if their service is that bad, then it is gonna be a problem specially for me, because, I hear VPSes need some experience to manage. And can be difficult to fix something, unless you you know a lot about linux, so I am going to need good service.
@Jimbo wow, seems great. I want to do that too !
@Jimbo Do you suggest any "anonymous card" service ?
@phpNoOBఠ_ఠ That's why I'm affraid of hiring something. My linux skills are almost null and securing a server might be very difficult as I don't have any experience ...
Also good service == expensive
@HamZa You can pay via paypal so - how about using a new paypal account?
11:01
@Jimbo I've paypal, but it's not anonymous
Anonymous
When is a paypal ever anonymous?
Anonymous
unless you buy a gift card or something...
Anonymous
I have paypal, and I would like my info to be anonymous, but it is never the case.
Anonymous
thanks @Jimbo I think, I am about to consider them.
Anonymous
11:03
@Pekka웃 welcome! up for a question ?
@phpNoOBఠ_ఠ Hi! Sorry nope, gotta run
Just here to leave some cv-pls :)
Anonymous
@Pekka웃 no problemo :)
@phpNoOBఠ_ఠ I can't believe a 200K user asking a question :p
Anonymous
:P
@phpNoOBఠ_ఠ What are you going to do with your VPS ?
Anonymous
11:06
@HamZa I will do what I do best. Get me some video tutorials :) I am going to rip the internet for this one :)
@phpNoOBఠ_ఠ How about a PayPal gift card?
Now, I've put myself in a jam... I'm doing an AJAX call thus: pastebin.com/st5N8PTN and suddenly I need to do some php before displaying the .html file I getting using the load()
Anonymous
@Jimbo never tried it, that is why I am not 100% sure.
Fact is: the previous provider asked me to send them a copy of my ID card (or a passport)
Should I photoshop one or what ....
You could buy a paypal gift card with cash from a random store, then put it onto a new paypal account and voila - you have monies to pay for your vps
11:07
I mean I'm not intending to do bad things with it, I'm just concerned about my privacy
Hello
SimpleXMLElement + json_encode + JsonSerializable = WIN
Does anyone know how to Load pins on google map one by one for 10 locations ?
0
A: PHP convert XML to JSON group when there is one child

hakreThe article you've linked is pretty outdated. For example [Services_JSON is normally not needed any longer. The stable PHP 5.4 version right now has json_encode() function and the JsonSerializable interface as well as iterator_to_array. Even if you're using the older PHP 5.3 version, the followi...

Any one ?
Does anyone know how to Load pins on google map one by one for 10 locations ?
11:10
/me has to answer regex questions to get a regex badge :p
Anonymous
@HamZa I already sent to resellerClub all my id copy, signature... everything. Now, I hate them. I tried to run a script, yesterday on my new domain and I got Fatal error: Class 'PDO' not found in turns out, PDO is not enabled/not installed, and it turns out, no one can help me
@phpNoOBఠ_ఠ
Does anyone know how to Load pins on google map one by one for 10 locations ?'
@Tornado Don't randomly ping people
> Discussion for all things PHP - Don't ask whether someone is here to help you. If someone is around and wants to help they will.
@phpNoOBఠ_ఠ è_é ...
Anonymous
I think he/she likes me.
11:11
@phpNoOBఠ_ఠ NO
@dragon112 well, that sounds good as well ^^ :)
Help vampires ... sigh
@phpNoOBఠ_ఠ Yeah, you get full root access on these
@Jimbo Sorry for that actually i am in a bit hurry
Can install / configure what you want
11:11
@phpNoOBఠ_ఠ what makes you think it's a he/she? Could be an alien.
@iroegbu or a plant?
Anonymous
@iroegbu what makes you think, aliens are not he/she ?
Or a Bot also :P
@phpNoOBఠ_ఠ You can't say an alien is he/she until their reproductive system is studied.
@iroegbu that moment when a living being has 2 reproductive systems
Anonymous
11:14
@Jimbo The only concern I have is, about managing it. What if I mess up something? I mean, is there even a manual installed like a tutorial of somekind to as a guide to help you manage the server?
A big NO
You have to do everything from SSH xD
@phpNoOBఠ_ఠ That's the only thing - it's so cheap because you don't pay for support. It's your box, that's it
Anonymous
@iroegbu Because, I am sure, aliens have sexes.
If you mess up, just wipe it (you can wipe it from a GUI and re-install o/s). It's really great to learn how things work
Im hosted by www.solarvps.com for more then 5 years
11:16
Yeah, you can even reboot it from an online webinterface
@phpNoOBఠ_ఠ Aliens might exist in a dimension we cannot observe en.wikipedia.org/wiki/Sphere_%28novel%29
@HamZa lols
@iroegbu your understanding of what "dimension" is comes from TV
Anonymous
I can't think of anything I could install in it other than, apache, mysql, php. And those, I have almost the know-how, about security, so I should probably be ok, as far as running anything is concerned. But, I will just buy one, run somethings install/unstall until I get used to it, then I can transfer my sites...
@tereško TVs are one dimensional :p
11:18
@Duikboot I prefere to not host anything in the US
@tereško You mean 'our' understanding - unless you have another understanding? :)
Morning Folks!
How to clear cache in zend framework 2
i might have
hello guys
@tereško Time dimension ?
11:20
how to send plain text email in codeIgniter
@M.BKakadiya with php
2
^ That wasn't a question, btw.
Anonymous
Aren't people with huge belly, considered extra-dimensional :P ?
Anonymous
damnit. that OVH is enticing me baldy
@HamZa you have to understand that time is not same as space. Space has no direction, that we can perceive
11:21
@phpNoOBఠ_ఠ Just pay for a tiny box for starters, it's so cheap, have a play around, if you don't like it no worries
@tereško correct
Anonymous
@Jimbo will do! btw: are they really as good as they claim to be? Number 1 hosting company in Europe?
@HamZa Why no US hosting?
@Duikboot privacy !
@phpNoOBఠ_ఠ I dunno, but they're extremely cheap - and I've used them for a year now for a seedbox / dev box / whatever
Anonymous
11:23
@HamZa good answer
@Duikboot btw shouldn't you check for a dutch company to improve the lands economy ?
Im also hosted at www.openminds.be
@Duikboot hmmm I see ...
11:28
@tereško I'm using JS to add some html (a file) to a page. Problem is, I need to put PHP on that html file. I think it's impossible as it is. But it happens that if I add <?php echo 'herrerere'; ?> to the html file, the file displays like the php doesn't exist.
I expected it to render like a string
What did I just read \/
hy, i did it in the php file. i put set_time_limit(900); ini_set('memory_limit', '20000M'); but not change. — user2455263 7 mins ago
@iroegbu you need to turn "<" in the appropriate HTML special characters
same goes for ">"
@tereško ok then. Any ideas as to how I can get php to work in this case?
work ?
you just now asked to make php NOT to work
No no no... you didn't get me.
The php doesn't work... it can't. You explained to me why I'm not seeing me php as a string on the page... I get that now.
I want the php to actually work.
this is how the html is added to the page pastebin.com/st5N8PTN
11:33
then you need to add .html as extension that gets parsed as php
it's in httpd.conf
it's JS adding the .html mind you
the file doesn't get parsed... :(
gods below
hire a developer
Anonymous
+1
lols
11:38
@iroegbu my condolences
anyone for datatables ???
@iroegbu When PHP isn't parsed, the browser will have it plain php code
Now we have something like this
<?php echo 'aaa' ?>
The browser will interpret it as a tag (i think)
and it will show nothing
true that ^^
@iroegbu So where's the problem ?
I was trying to do it without parsing the files.
11:42
@iroegbu (im not following you) what's the expected output ?
Anonymous
"The DreamHost control panel is unique to DreamHost! We wrote it ourselves from the ground up and you won’t find anything like it at any other hosting company"-- Yup, that is why I hate it. I don't have time to learn your proprietary applications, instead of using cPanel/Plesk
Anonymous
Who would waste their time, using a control panel, that is used only by one company?
Anonymous
unbelievable..
@HamZa originally, I didn't need to parse the files... now my boss comes and says 'Put so and so drop-down', this drop down needs to fetch from db.
Hence, my challenge
@iroegbu Ok, why don't you use a php file with a GET parameter ?
11:44
That's what I have to do, sadly.
~problem solved~
12:10
hola
Before I reinvent the wheel, is there a built-in function to convert from namespace + class name to the expected file and vice-versa?
^ how do get these badly asked questions get so many upvotes?
you can't even answer it with the information provided.
@hakre It haz SOAP in it !
@phpNoOBఠ_ఠ People still use control panels? Honestly I just use my cli for server administration, it's much faster.
@LightningDust That's if you're confident in you linux skills ...
@LightningDust Also don't tell me you use VIM to code ?
12:24
@HamZa No, Komodo or VS
@HamZa I use emacs from time to time but never got on with vim
@HamZa Can you make bubbles for me?
@hakre I'm able to do it with my own spit with my tongue. I'm not sure how to send it to you :p
OOOOOOOO take this bubbles
hmm
anyone ever seen something like Downloading: 10%Killed in PHP?
12:29
@hakre hahaha
where could that Killed possibly come from?
it's while downloading a 300Mb zip package...
whoop!
@Ocramius with composer?
@hakre in this case, yes
12:31
and I know a lot of you freelance here :)
aha
I don't have CURL
so I suppose it's using some manual stuff to do it and dies
let's try...
nope, still killed
Hmm
[ 3327.617746] select 8567 (php), adj 0, size 113495, to kill
[ 3327.617747] send sigkill to 8567 (php), adj 0, size 113495
@Ocramius either grep composer or php :) - ah now seeing you get a sigkill?
anyway, I have to jump on the bike and drive cross half of the city now.
will be back later.
@Hiroto Awesome :)
i'm still #1 in meta participation >:D
@hakre it's the virtual box - not enough ram/swap :X
hai pekka
13:08
hello
Yo
good, and you ?
@Rywek relogin and you can talk :p
good, good ;) i'm looking for hardware to fit a project the business i work for is bidding on. It's a asset tracking system and i need to find Pocket PC Barcode Scanner hardware so we can quote the job. I'm pretty noob in that area, already asking quote from manufacturer but they either seem to run on older version of android, windows xp embedded or some unknow operating sustem
good morning :]
13:21
morning
anyone has experience with Pocket PC Barcode Scanner hardware?
hi.. i hope some guys are here who well in mysql too..:)
@Fasilkk what's your?
0
Q: Get the date range if booking is more than or equal to a limit

Fasil kkI am creating a hotel room booking system. my booking table is. id | room_id | check_in_date | check_out_date | New bookings are saving to this table. I have a maximum booking limit for a day, that is 5. I want to get the dates from booking table where 5 or more bookings already done for t...

I already done it using php.
working well.
but i want to do it from mysql itself.. (i can save memory)
seems like you already have yourself an answer :)
Any Zend framework 2 folks here?
13:25
might need a bit of modification but still
Many loops..so i am not at all satisfied with my code.
select count(*) as booking_limit, booking_date from booking group by booking_date having booking_limit > 5
no.. that is not it..
:)
result must be based on check_in_date and check_out_date(already booked dates.)
zzzzzzz morning people
was seeming right to me :/
13:28
morning daniel noor..
:)
I want to make $params optional, does it make sense to do $params = null in both functions or write another and use a conditional in the first?
oh..
BOOM BOOM shaka laka laka BOOM
morning @Fasilkk
for me it is evening..:P
I am from asia.:)
13:38
@iroegbu Personally I prefer to use $params = null
public function byQuery($sql, $params = null) {
    $statement = $this->getDb()->prepare($sql);
    if ($params != null) {
        $statement = $this->executeFetch($statement, $params);
    } elseif ($params === null) {
        $statement = $this->executeFetchSingle($statement);
    }
    $row = $statement->fetchAll(PDO::FETCH_ASSOC);
    if (!$row) {
        return null;
    }
    return $row;
}
this is what I have now
wish it was evening here!
2:42PM
I would take that lol
This kind of diagrammes do they have a specific name?
13:49
Looks like grammar
Could it be 'literal diagram' ? no/
json.org those diagrammes
yiz
yiz
Yeah looks like an json object : {"ID": "001"} // {string: value}
Yeah but do they have a specific name that kind of diagrammes?
JSON Object Diagram
What is __autoload stack?
13:52
Why json object diagram? IT could be also for SQL
its a graphical representation of an EBNF
Ah Syntax Diagram does work better for multiple representations.
I'm glad I'm not the only one who's a stickler for 'This has to have a technical name, what is it?'
yiz
yiz
13:54
also could be a map object: {key: value} :p
see SQLite docs.
They should have those for the HTTP specs too ;-)
Afbeeldingen van ebnf - So there are multiple names for this.
Anyone having problem updating Symfony to 2.3 with the doctrine fixture bundle?
Looks like a fancy flow chart to me lol
13:57
@Daniel No, a flow chart has a wider range of symbols.
Anonymous
your call
lol

« first day (963 days earlier)      last day (4210 days later) »