« first day (443 days earlier)      last day (4502 days later) » 
00:00 - 14:0014:00 - 00:00

12:03 AM
what's up
 
As can be seen: Nothing.
 
good one
 
12:20 AM
Hey guys.
Could any of you tell me where could I see the full ASCII table?
 
@Eugene if you google "ASCII table" there are 4 pictures as link 3. Don't they work out?
 
@edorian Well I found once some pictures of it with google and it tool me an hour to find, that some values where wrong. So not sude I trust it this time. Due to that I asked here about it.
 
12:39 AM
Really where did it go wrong?
Apart from that. Wiki seems trustworthy en.wikipedia.org/wiki/ASCII#ASCII_printable_characters
 
12:57 AM
Ye. Well, for example I needed russian characters ( solved problem already ), wiki didn't provide them.
@edorian Night.
 
there are russian chars in the ascii table?
I didn't know that
Oh there is an russian (&kor) encoding for ascii but thats not the normal ascii table. I see. Anyways. Gn8 //cc@Eugene
 
 
1 hour later…
2:20 AM
hey anybody here?
I want to look like how does a HTTP response header looks like..
anybody who can help me?
 
2:54 AM
@user726730 What browser do you use?
 
 
1 hour later…
3:57 AM
What IDE does everyone use? I recently switched from Dreamweaver to Aptana Studio 3..
 
@DuncanCalvert I'm a fan of Netbeans 7
 
cool
Even for web?
 
@DuncanCalvert I have xdebug and phpunit all integrated into netbeans
I unit test in Netbeans. I debug in Netbeans. I write code in Netbeans.
Really though, I just think the interface looks cleans compared to Eclipse
 
I have been using eclipse for far too long to make that kind of switch i think. haha
I don't know.
 
@DuncanCalvert An IDE is just a tool. If you what you use works for you then go with it.
 
4:06 AM
I'm really just looking for a suitable replacement for Dreamweaver. I was happy with Aptana's (an eclipse plugin) web preview window until i just realized it doesn't work quite properly with PHP files. :/
The reason I switched out of Dreamweaver was because I didn't like it's code navigator.
So, now that I'm not in Dreamweaver, I can't be "babied" by it's template system anymore. I need to find a PHP way.
 
@DuncanCalvert Well, Netbeans has pretty good PHP support from what I've seen
 
@DuncanCalvert which OS are you on?
 
The autocomplete is slow (but all Java IDEs are) but you get pretty much all the PHP functions with docs
@Twinborn OS X Lion
 
have you used Coda?
or espresso
 
It also does a really, really good job at getting autocomplete on my project classes. Most of the time I have the class or method type out already though...the slow part
@Twinborn I've tried Coda. I didn't really care for it, too drastic of a change in the interface i think
I really only have 2 complains with Netbeans: (1) its a bit of a memory hog and (2) the aforementioned slow autocomplete
 
4:11 AM
textwrangler isn't bad
 
@Twinborn I use textwrangler for basic text editing
Like wikis and blog posts
 
@CharlesSprayberry sublimetext.com/2 is a good one
 
Sorry, i got up.
I'm on Windows, but have Fedora16 in VBox
 
brb on laptop
 
 
1 hour later…
@Anfurny Wouldn't it be better to send some kind of JSON error response instead of simply die()?
 
Yes, usually is. That either means I was lazy, or I don't want an error message sent to client-side.
 
@Anfurny I can't think of a reason to not send a nice error message to user. (of course, nice doesn't mean full of details to help out hackers.)
 
Well there is a reason. And the reason is, and when I intentionally make use of die, when a deliberate security assertion fails that indicates tampering.
 
You can use die to send a message. die('Sorry but something went wrong.'); is way better then a blank screen. how would I know if the content is blank or it's some sort of error ?
 
5:54 AM
Well, in the example Charles is talking about, the dies are in a page generating a JSON request, and the client-side JS will always produce a generic error if the response isn't JSON.
*Json response
 
I don't know how you structured your JSON's but you can always do something like
`die(' { "date" : { "Error": "Something wen't wrong.", "ErrorCode" : # }');`
 
well I have a function already called json_error($message) that will create a json response that is an error message then die. I just don't want to give any codes, numbers, clues or even admissions that I have the very security check in place.
 
@Anfurny Many of your die messages include the words "security violation"...not sending JSON back isn't telling them that you have security measures in place
 
Security through obscurity is a pejorative referring to a principle in security engineering, which attempts to use secrecy of design or implementation to provide security. A system relying on security through obscurity may have theoretical or actual security vulnerabilities, but its owners or designers believe that if the flaws are not known, then attackers will be unlikely to find them. A system may use security through obscurity as a defense in depth measure; while all known security vulnerabilities would be mitigated through other measures, public disclosure of products and versions i...
 
6:01 AM
That's a good call. @ cs
 
I can think of no reason not to send your messages back in JSON
 
Security through obscurity IS NOT SECURITY.
 
I'm entirely sure you're wrong, but I'm not really in the mood to debate this right now. @OmeidHerat
Well then, it sounds like the only hypothesis left is #2. That I'm just lazy @CharlesSprayberry
 
@Anfurny You should also not use mysql_ php.net has docs up announcing long-term deprecation php.net/manual/en/mysqlinfo.api.choosing.php and all the security risks, better API available yadda yadda
 
@Anfurny Oh well. what I said is not my personal opinion but a well established principle.
 
6:05 AM
Well I'm not interested in arguing "well established principles"
;)
I'd really be more interested in hearing your "big picture" thoughts of my code rather than particular details. That is: uniqueness, usefulness, usability
@CharlesSprayberry
 
@Anfurny I think that any new project using mysql_ simply cannot be taken seriously. It is an outdated, security risk with much better options easily available.
 
@CharlesSprayberry Stared. the first sentence is spot on.
 
Okay, again, totally not what I asked for. And woefully misinformed since all mysql_ commands are the in wrapper. @CharlesSprayberry
 
@Anfurny It doesn't matter that the commands are in a wrapper. mysql_ should not be used. Period. There's no excuse for using mysql_ in a new project besides being, what was it you called it? Oh yea. Lazy.
 
Sounds to me like you just were looking at my code to try to pick it apart, and only have come up with trivial complaints. @CharlesSprayberry
Sounds to me like you have no intention of providing objective analysis, and that you are emotionally motivated.
 
6:17 AM
@Anfurny No, I was looking at your code to see what it does. I do not consider interacting with the data driving my application to be trivial by any stretch of the imagination.
 
The fact that a deprecated database connection is used in a wrapper is incredibly trivial.
The fact that it is a wrapper is by definition interchangeable and disposable.
 
@Anfurny Lipstick on a pig is still a pig.
 
@Anfurny well that is true, but you should never write a code that you know you have to change it tomorrow.
 
WHen you say tomorrow, you mean 3 years from now?
@OmeidHerat
 
@Anfurny No, PHP 5.4 release. not long ahead. or max PHP6.
 
6:22 AM
Yeah, it's not being dropped in 5.4
 
@Anfurny Why use mysql_? If you're using PHP 5+ you can likely just add an i to those commands and at least be using a better way.
 
and plus, what happens when you don't have MySQL ? rewrite the code again.
 
Look at you two.
You're emotional, you're contradicting each other, only united in your vague frustration at my attitude.
(contradicting in that charle's point that rewriting only takes adding an I in two locations negates Omeid's claim that now my library's wrapped has to be rewritten in some future version)
 
@Anfurny (1) Nobody's being emotional (2) I'm not actually affiliated with @OmeidHerat in any way and (3) we aren't united
 
It's git. If you really cared, @CharlesSprayberry, you could have added two Is to a fork by now.
 
6:24 AM
@Anfurny that is not contradiction, I like PDO but he can settle for mysqli.
so if they drop mysql_, in my opinion you have to rewrite the code using PDO. but he things putting i is enough.
 
@Anfurny I don't really care. You asked for an analysis of your code. There. Looks lazy, you're using an outdated database connection.
 
I didn't ask for an analysis of my code, I was showing off my highly useful library.
 
posted on December 28, 2011 by Michael Maclean

As I'm sure you've all been longing to hear, we've finally got around to releasing a new version of PECL/Cairo! This version fixes some bugs, and adds support for some new features available since Cairo 1.10 — notably, support for subsurfaces, which are surfaces that draw onto a part of a larger surface, and for recording surfaces, which record all drawing operations and can then be used as the

posted on December 29, 2011 by Stefan Koopmanschap

As the year ends, we're looking back at an interesting year. More of that you'll also find in the PHP|architect december community column, which I've written looking back at the year a bit. But that is about the PHP community, not about the global community. We should be grateful for living "in the west", where despite economic issues, we live a good and usually healthy life. And if we're ill,

posted on December 29, 2011 by blog.phpdeveloper.org » PHP

With a nod to this post from Cal Evans, I’m presenting my own “Top Three” posts from 2011, in order of descending popularity: I don’t understand the 9-to-5: This one is easily the tops of the popularity list…thanks to another PHP community member, this one made the front page of Hacker News for a little while and received almost five thousand hits in a day. My poor little slice didn’t know w

posted on December 29, 2011 by Chris Shiflett

The fifth edition of PHP Advent has come to a close. Since 2007, we have published 120 articles, many of which are just as relevant and useful today as when they were first published. This year, Sean and I decided to choose only authors who did not write for PHP Advent last year, and we made an extra effort to seek out authors who had never written for PHP Advent before. We were pretty darn s

posted on December 30, 2011 by Matthew Turland

Following in the trail blazed by the likes of Cal Evans and Chris Cornutt, I decided to post a list of the posts on this blog that have received the most traffic this year along with some related commentary. However, in the spirit of Charles St. Michael, I decided to up the number of posts from three to 10. So, here we go: 10. Building PHP-GTK with Cairo Support on Ubuntu Jaunty – 2009-04-25

posted on December 30, 2011 by John Mertic

I think one of the most challenging part of being a remote worker is taking time off. When you work at an office and take a day off of work, all you need to do is not show up at the office. But if you office is in your house, it can be really tough to get away from it. And since people aren’t used to seeing you in an office to signifying that you are available, it can be really tough to get tha

posted on December 30, 2011 by Bradley Holt

Continuing a trend started by Cal Evans and then followed by Chris Cornutt, Matthew Turland, and Joe Devon; here are the top five most viewed posts from my blog in 2011. 5. CouchDB and Domain-Driven Design This post covered two topics that are of great interest to me. Document databases like CouchDB have much potential when it comes to domain-driven design. The post outlined some techniques f

posted on December 31, 2011 by Stefan Koopmanschap

Right, end of the year, time to look back. Let's have a look at the things that have happened this year. If you've read my PHP|architect column in the december issue, you might've already read some things, but my annual "looking back" post here is based more on my blog. So, let's have a look.

posted on January 01, 2012 by Brian DeShong

I like to do this every year. It’s a reflect and reset-type of thing for me. Here’s what I accomplished from last year’s resolutions: Published another article in php|architect magazine, SELECT * FROM Internet: An Introduction to the Yahoo! Query Language. Gave a talk on the same topic at Atlanta PHP in February. Continued to sharpen architecture and development skills. I’ve done a fair a

posted on January 02, 2012 by Larry Garfield

As we begin a new year, it seems appropriate that the discussion of backward compatibility has come up yet again in Drupal. It's a perennial question, and you can tell when a new Drupal core version is ready for prime time when people start complaining about lack of backward compatibility. It's like clockwork. However, most of these discussions don't actually get at the root issue: Drupal is

 
@Feeds YOU BIG SPAM!
 
And, you can't call baseless assumptions like " I think that any new project using mysql_ simply cannot be taken seriously. It is an outdated, security risk with much better options easily available." an "analysis"
 
6:27 AM
@Anfurny Find me somebody else who will agree with you about using mysql_ and I'll take back everything I said.
 
aight then, if you think you can't change anything in your code, make sure to send a copy of this book to who ever is going to use it. ;)
 
I think everybody agrees that you can't write a project off based on a single command it uses.
Everybody but you, and maybe teresko.
@OmeidHerat I'm not saying I can't change my code, and I'm not even saying that adding the i is a bad idea (though it is incredibly trivial, not bad).
 
@Anfurny Most of -- if not all --web applications backbone is Database. and how you handle that is not a trivial task by any mean. specially that it brings in security concerns.
 
What I'm trying to figure out, is why people here nitpick at trivial things in the code. Is it OCD, is it geeky competitiveness, or is it just obliviousness to the fact that user experience is the real benchmark of great software.
?
Have you even looked at any of the source code in question that you're trying to argue about? @OmeidHerat
 
@Anfurny The application is the data. Without the data your pretty interface and design means nothing, because with no data it does nothing. The database is the life blood of a web app. That is not trivial
 
6:31 AM
@Anfurny Did I ever mentioned anything about your code except for the die() ?
 
Those are a bunch of meaningless philosophical claims. @CharlesSprayberry
the use of mysql_
@CharlesSprayberry
 
@Anfurny Ok, I'm through discussing this with you. We will simply agree to disagree.
 
I think that's wise.
 
6:52 AM
Greetings from 2012
 
Greetings @JohnP
 
I see the feedbot has gone rogue
 
Heaps!.
 
@JohnP It always seems to do that late at night.
Late at night assuming you are on east coast US ;)
 
Half past 12 here. High noon :)
 
6:57 AM
Hitting 2am where I'm sitting
 
I'm having trouble syncing my sleep cycles back to normal. Need to start going to sleep earlier
December and Christmas have played havoc with my flow!
 
7:13 AM
I've never had a laptop until my first semester of college this year. Now, after having had it for about 6 months, I can't imagine not having it.
 
any one help me?
 
maybe
 
What is the preferred server-side caching model for PHP or most popular?
is it possible to make a loader widget on this thing while I wait?
and why do loader widgets look like a robot A hole?
is there a cricket sound effect I'm hearing?
 
7:29 AM
@KichuUser Look at the top right:
> 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.
 
@OmeidHerat I wish they would have this pop down in a notification bar when you join. So many people ask if they can ask.
 
Is it fun to remind people of that asking for help? :)
 
@CharlesSprayberry That is actually a really good idea. or even better showing that for the first time users of room.
 
@OmeidHerat I think I'm gonna make a post on meta about it
 
@CharlesSprayberry Go for it. Post a link so you can have some up vote.
 
7:33 AM
Maybe PHP folks don't typically use caching on the server-side. That's why there is no answer. I was expecting possibly memcached or something like that but wasn't sure if there was another way that is more typical.
 
@kitguicom beside the thousands of articles that you can find through google, there is a good few dozen of questions about PHP caching with prefect to reasonable answers in StackOverflow.
Have a look at them and if something specific is not clear or you can't decide which one to go with, or you have more specific problem. feel free to ask. :)
 
0
Q: Better title emphasis in chat

Charles SprayberryThere should be some more emphasis on the title of the chat room when the user first joins the chat. Often there is some useful information about how the room operates in this area. A specific example being "Can I ask?" questions in chat rooms with titles that clearly say "Just ask your questio...

 
So in other words, use google first, then go to this chat room. I get it now. Thanks for enlightening me. There are some people in the mood to discuss things that's why they go to a chat room as opposed to going to google. What about that case? Either way, Happy New Year.
 
@CharlesSprayberry Upvoted. and stared so others in the room can upvote too.
 
@OmeidHerat Great. Thanks.
 
7:38 AM
No Problem.
@kitguicom Happy New Year.
 
7:57 AM
The front-controller should handle session and user authentication ?
 
@OmeidHerat In my opinion no, the front controller should be responsible for invoking the appropriate controller actions and preparing the controller. I believe that session should be done in a Model ... it is data and validating that data
 
What happens when I am using multiple controllers or models wouldn't that be extra headache ?
 
I see the front controller like a robot in a car factory. It doesn't actually get to drive the car, it just takes all the parts and puts a car together.
 
@OmeidHerat Ahh, I'm not familiar with that design pattern
 
8:03 AM
It's just MVC with a bit of extra things. using a front controller in my opinion is automatically using hmvc.
 
Hello everybody
 
@OmeidHerat Eh, I disagree. I plan on having a front controller and my flow chart looks nothing like HMVC. :P
 
What do you think about the idea of returning captcha as base64 encoded image?
 
@CharlesSprayberry It should ;) think again. the Front Controller is a Controller that invokes another Controller. and Probably you have a Error Controller that has its model and View which will be called by other Controllers at some stage.
 
@OmeidHerat Well, I don't really have a View, I have a Responder and each controller chooses the appropriate one to use (ie, HtmlResponder, JsonResponder). I envision multiple controllers sharing the same responder
 
8:07 AM
@Innuendo the only problem I see is the compatibility. IIRC Parsing that for OCR is not much difference.
 
@OmeidHerat But, no, pretty much not like that at all. :) Front controller invokes 1 controller and the appropriate Responder takes care of the response
 
@CharlesSprayberry How do you handle errors and logging ?
wouldn't you be forced to lots of duplication that way ?
 
@OmeidHerat I set up a Log and ErrorHandler and ExceptionHandler in bootstrap
 
HAPPY NEW YEAR SECOND DAY!!
 
@CharlesSprayberry How would they know the Correct Responder ? I mean to issue a JSON or HTML or any other kind of error ?
 
8:10 AM
@OmeidHerat I'm not sure how you'd get the duplication. I'd be interested to hear your ideas though.
@OmeidHerat The Controller would have some kind of state that can be accessed by the FrontController to create the appropriate Responder
Controller then just gets injected into the Responder
Responder gets data from controller
Responder sends response
 
@OmeidHerat, I think of using base64 not in considerations of better security, but because it's easily to make ajax captcha ;) Ajax request returns a string, and captcha is showed. On server results of captchas are stored by md5 of base64 as id. So, to check captcha I should only send ajax request with base64 string and user's prompt in parameters
 
@CharlesSprayberry I am not sure if I understand that, Your responder shouldn't know about the controller at all.
 
@OmeidHerat I disagree. The Responder gets the data from the Controller. The Controller is the glue hold the Model and View together. It gets the appropriate data from the Model and then hands it off to the View.
s/View/Responder
 
What is Responder for a pattern? Can you share a link please?
 
@Innuendo That is a good idea, but it's still the compatibility issue. you can also generate captcha on the fly and only save the md5 of them with the value on your server, most likely in your session.
 
8:16 AM
Sounds interesting.
 
@CharlesSprayberry I agree, but your Controller shouldn't be injected into the Responder, but rather it should inject Data to responder.
 
@hakre It isn't a design pattern so much as it is an idea I have on implementing an "MVC" framework
@OmeidHerat Perhaps, it is still under design stage at this point
 
@OmeidHerat compatibility issue - compatibility with what? Can you explain please?
 
@hakre I don't have a full writeup as of yet but I do have a little bit of an overview github.com/cspray/SprayFire/wiki/Conventions
 
@Innuendo base64 image just a Data URI, and it's not supported by all browsers.
 
8:20 AM
hm, I didn't know it's not supported by all browsers. Thank you - I'll read about this
 
No Problem.
 
ok, thank you. Happy New Year!
 
Well, the fiancee is giving me the stink eye so I gotta go. See ya guys later
 
@CharlesSprayberry later.
@Innuendo Happy new Year!
 
8:28 AM
hi @edorian
 
Morning :)
 
 
2 hours later…
10:18 AM
happy NY, coders
 
10:44 AM
Happy New Day @garvey
 
hi anyone active
 
11:00 AM
Depends
 
11:22 AM
Hm, my stuff-to-read bookmark list is growing and growing but doesn't seem to ever shrink
 
i want to add google review in my website.any one help me
 
@NikiC Yeah, same here. I've started to use the readItLater app to make a dent in it
google market had it on sale for 10 cents last month
 
11:37 AM
Just removed 5 elements from the list, now it fits on the screen again :)
 
@JohnP how much is Dead Island on Steam? Cant see it because its n/a in my region.
 
11:55 AM
@Gordon it's 24.99 on sale. Otherwise 49.99. That's USD
 
12:18 PM
Hi
Happy New year
 
Happy new day @StephenWolfe
 
its the 2nd where i am :D
 
Love, kiss and hugs for the new day. Each day is a wonderful new day. Let's celebrate the new day.
 
Holla! :)
 
@StephenWolfe And I bet it's not the 2nd in your life ;)
Hi Eugene!
 
12:28 PM
@hakre How are you?
 
I'm fine. Was a great yesterday and today looks promising as well.
 
@hakre you're in good spirits today :)
 
Let the spirit flow ;)
 
good attitude!
 
@hakre and @JohnP Thumbs Up! Transfering words into music =>
 
12:34 PM
hey guys I have a question about CRUD
 
@Eugene no speakers atm :(
 
@JohnP eww. way too much. thanks for the info.
 
np
 
i have a CRM, were I update details, why do people use Ajax sometimes
 
@JohnP Transcipt stays FOR E-VER! :)
 
12:37 PM
@StephenWolfe It's more responsive with AJAX
 
ahh ok, so is that the same with xhr ?
 
Yeah. Basically anything that improves the responsiveness with the app
That's why single page apps are so hot right now
 
what do people use single page apps on?
 
Well, anything they can build really. Project management tools like Asana, social apps like twitter, music apps like grooveshark
 
12:50 PM
@hakre Seraching for the duplicate
@hakre Why cv as "not a real question" ? It's an installation issue (broken pear because xampp was used)
Annoyingly I can't find a proper duplicate. Could have sworn there was one
 
@JohnP I have a CRM system that shows the reports and allows people to add new clients and manage their products. have you ever seen one of those in a single page app? would it be beneficial to make one
 
@StephenWolfe I haven't, but then again, I haven't really used any general CRMs. Making it into a single page app would be pretty nice. The app would be faster (generally) and would behave more as a desktop application rather than a web app. But it would mean you'd have to rewrite the backend quite a bit, change it to use services rather than the traditional page serve
 
hi
 
hello
 
@JohnP well at the moment I am rebuilding the whole thing into MVC kinda of build as Im trying to teach my self more
 
1:02 PM
@StephenWolfe well, if you're getting into it, you could just have a look at what backbone JS does. I just started using it recently. It takes a bit getting used to it, because you code a lot of JS. But on the other hand, your app becomes way more responsive
 
I have never manage to teach myself a framework, I seem to get lost with them,
 
@edorian Okay, I never have broken pear installs, so I didn't know. I thought it's just some require from SUT.
 
@Everyone - Good day to you all, and sorry to interrupt an ongoing topic -- let this be somewhat of a low-priority, then. I'd like to ask something about text, leaning towards regex, but in concept: Say, for example, a note or blog entry or some other post needs a title. What characters do you guys think should be allowed or should be acceptable? I mean, there's the a-z and A-Z as well as 0-9 and the hyphen (-) and underscore (_) characters.. But what else?
 
@hakre Not it's a installation issue with pear acting up. So it's ok to answer you'd say?
 
If it's an installation issue, sure.
The PHPUnit pear package should have a test run if it's properly installed (in the pear installation process). Or is that not supported with pear?
 
1:06 PM
pear doesn't like installing things on windows
and once anything goes a little bit wrong pear marks everything as "working" and never bothers to check it it really worked
 
@JohnP how long have u been using it?
 
And one has to take out a hammer and slap pear around until it reinstalls everything (--force --alldeps)
 
@StephenWolfe Backbone? For about a week now. My JS had turned into a giant ball of DOM selectors before that
 
@edorian: I always suggest patches to PEAR if I run into an actual problem with windows, but it has been one issue only so far all those years.
 
@JohnP I dont know much js, do i need to know alot to use it?
 
1:08 PM
I've made at least 500 rep of of sudo pear install --force --alldeps phpunit/phpunit
 
@Nonym All other character as well minus control characters. See unicode.org/standard/WhatIsUnicode.html
 
Pear < 1.9.4 (which is what xammp and other "php package stuff") ships breaks in mean ways when you don't channel discover and then fails after upgrading
 
@StephenWolfe Yeah, you'd need a fair grasp of JS if you want to code a single page app. This is because JS does a lot of heavy lifting. Experience in node or js would be required
 
Ok ill wait then,
saved to favs to learn later.
 
Also it "sometimes" breaks if the paths contain spaces and so on. All in all it never "just worked out" for me personally and given the questions on #phpunit and SO that seems to be the normal case
 
1:11 PM
Hey have any of you designed your own flyers before?
 
For my current machine pear fails to accept any pear.config outside of C:\Windows for example which leads to other issues :)
 
@edorian Hmm using PEAR-1.9.2 here on that windows box. Maybe I'm just not an ordinary user... ;)
And it's a german system, so it's C:\Programme\PHP\PEAR with no space inside.
 
Maybe you actually know what you are doing. That might help out too
 
might make things less troublesome ;)
 
I always ran into quite a lot of issues and since I discovered that golden hammer I never bothered to try and "fix pear".
You are telling me that you installed phpunit from a 1.9.2 without any trouble? Nice!
 
1:15 PM
My favorite "PHP" question so far today:
0
Q: When I Take a Screen Shot of my Server with PHP exec() it returns all black

Omran Jamalok I used a COmmandLine tool called cmdCapture then ran the following Code in a PHP Script exec('cmdCapture.exe /f "lol.jpg"'); everything looks fine.It generate a file callled lol.jpg. it outputs the filename etc etc but upon examining the lol.jpg file , its all black. If i run the Same comma...

 
@StephenWolfe, do you mean actual flyers that people hand you when you're at the mall?? Or did I miss something?
 
How the duck did you get +4 on that. I mean. Is that a serious answer or just elaborate trolling? :) Does windows really work that way?
 
I would actually think that's a UAC issue rather than anything else :/
 
@Nonym yes, I did, When I have spare time I fix computers, and phones, I also give the work out to students at my old uni. I have decided to advertise
 
I mean.. does a Windows server really render the screen when no one is watching anyways?
 
1:20 PM
@edorian From a windows server video project I know that if the screen is blank you can't take any useful screenshots. Which I think should be obvious, as most of the time you don't need to have a display with the server.
@edorian Yeah, that's the funny part (next to the filename lol.jpg) that made my day.
 
I'm inclined to try that now :)
0
A: fatal error in phpunit

edorianYour phpunit installation is broken. The easiest fix for this is pear install --force --alldeps phpunit/phpunit and see if what worked out. You will need the most current pear version 1.9.4. If you don't have that version install it using the go-pear.phar. If you are running from xammp for so...

That should do it
 
Thanks, @hakre -- I'm trying to understand why you pointed me in the direction of unicode.. I ended up looking at: unicode.org/charts/PDF/U0000.pdf and then it occurred to me that aside from the alphabet, numbers, and punctuation marks.. I should be allowing the special characters like ¥∑˜ƒ˚ßø´and so - is that what you mean?
I've worked on a few before, @StephenWolfe -- that's a good thing to do. Market your services!
But are you asking about flyers, exactly? :)
 
@Nonym: yes, a title should have any character possible. Why limit it?
 
@Nonym I am good with photoshop ect, so I can make them, I just wanted to see what input people here maybe able to offer on the word/marketing side
 
@hakre: Yeah, I totally forgot about it.. but then, if it would come to regex, will I be okay with using \w as part of it, instead of going [a-z (etc)... ?
@StephenWolfe: One approach many have used for physical flyers (and some as well for digital) is to raise a question "Having Computer Problems?" <-- of course, that might sound as cheesy as home-tv-shopping, but that works for many. Many!
 
1:29 PM
@Nonym Depends on in which encoding the title is available.
If it's base64 encoded for example, that pattern would not be specifically useful.
 
On email's the marketing phrase (your not alone) gets the most reads. wondering if it would for a printer flyer
 
I got a prompt with `Enable internal debugging in APC [no]:`. While installing APC.

What is apc internal debugging?
 
@hakre: What, in your opinion, is the common and acceptable encoding for websites open to the public? It's a wonder how I've never thought of getting into this in more detail before that I find myself stumbling.. Sorry if this is somewhat basic for you
 
@ThinkingMonkey It's asking you if you want to run APC in "debug" mode. Thats only useful when you are developing APC
 
@edorian thanks. So no use of it if I am just using APC functions?
 
1:34 PM
Yeah
If you don't know what it does you don't need it :)
 
@edorian he he
thanks
@edorian now its asking for: Enable per request file info about files used from the APC cache
what is this?
 
@StephenWolfe: Well, it'd point towards getting a pull from your readers, that's for sure.. on a slightly un-related item (food) -- I got drawn in by one flyer before. It just had the picture of a good-looking pizza, and the main cap was "Italian Pizza".. Instant.
 
@Nonym That is UTF-8. It's well recommended, see as well: w3.org/International/getting-started/characters
> Everyone developing content, whether content authors or programmers, must decide what character encoding to use. UTF-8 is a popular recommendation these days, but there may still be things you should consider before using it.
 
@ThinkingMonkey Use the default :) For more info see there docs here: php.net/manual/en/function.apc-cache-info.php
 
@edorian Yeah, I wrote that as a comment as well.
 
1:39 PM
@ThinkingMonkey iirc that question is --enable-filehints
 
hi @ThinkingMonkey
 
hi @hakre
 
@hakre Comment to what? do not follow :)
 
@Nonym Nice, the photo i have on my flyer atm, is a woman sitting down on the floor in here lounge using her laptop.

some of my marketing friends were like its to generic, but then look at other flyers like u said pizzas have images of nice looking pizzas
 
@edorian ThinkingMokney posted that as a question on SO as well ;)
 
1:40 PM
Oh i see. Any why am I answering here then :P
 
@hakre posted that there first! only to realise later there is chat :P
 
hi
 
So, you're ready to continue with your install?
Or are you still undecided to use yes or no?
 
any one tell the difference jQuery(document) and $(document)
 
@hakre: Thank you. I'll start reading this shortly..
 
1:41 PM
fuck , i feel so damned sick .. day 3 and counting
 
@hakre 'no' is the way to go :)
 
any one know the answer
 
@Vijayan , if you were not so inpatient, i would have finished writing the answer
 
Question to all what software do you prefer to code with?
 
@edorian @hakre thank you
 
1:43 PM
additionally
 
k
 
THIS IS NOT JAVASCRIPT ROOM !!
 
@StephenWolfe: If your friends think it looks generic.. Then photoshop away and give it some spice. Turn it into a retro photo. Like a lady in the 70's using a laptop. Giver her the right hair, background, sofa, carpet.. all retro..
The pizza wasn't mind blowing, but the point was that it drew me in. So maybe you just have to figure out the mindset of your target audience..
if it's university students.. even a falling shelf from a library might do the trick
if you get what I mean..
 
this is a reto flyer i saw today profile.ak.fbcdn.net/hprofile-ak-snc4/…
 
@StephenWolfe: Nice! Just make her sit down and hand her a laptop!
Also, you can go try making a few.. at least three.. and let your friends and/or family give their votes..
 
1:47 PM
y u flag teresko >:(
 
@Nonym thanks for the idea, i will give it ago. Yea i always post of facebook to see what people think
 
You can change the theme for each.. One retro.. one outer-space style, and one cute lady in her librarian outfit
...and maybe a whip
i'm kidding, of course.
 
lol
Owww i might user the reto them for my web design flyer.
 
@StephenWolfe: One other idea: a flyer depicting something that is blatantly wrong.
Like using a remote control to boot a laptop that won't.. err.. boot.
Ah, I'd vote for the retro one too, if ever :)) the colors normally used aren't so common now, with the expansion in digital arts and the amazing RGB.
 
awesome after apc installation I am geting this!
Fatal error: Unknown: apc_fcntl_unlock failed:
 
1:50 PM
@Nonym thats a good idea too.
 
@Raynos y u come in here asking that each time he gets flagged?
 
@Gordon because 'you people' dont listen, since he keeps getting flagged
 
@Raynos well, apparently it's teresko then who doesnt listen to the corrective flagging some people here exert to his overly offensive behavior towards people. i dunno what he got flagged for this time but its more than often valid complaints about him
 
The last time you commented on the flags (@Raynos) you told people to "stop being flame bait"
I'd not really consider that "advice"
 
But to be fair I should go into those android rooms and complain they are abusing flags too
How is 'this is not the javascript room' offensive
I can see other comments being offensive, but not this one.
 
1:55 PM
Especially since he usually berades new people in the room that haven't gotten your message anyways
 
I do agree @Gordon, most of his flags are valid, this one is not and it's just annoying
 
@Raynos well, then just hit invalid and be done with it
 
00:00 - 14:0014:00 - 00:00

« first day (443 days earlier)      last day (4502 days later) »