« first day (730 days earlier)      last day (4217 days later) » 

2:00 PM
@hakre What do you know about trying Hakre? Cancel your membership, thats better for you. — Toni 1 min ago
^--- sweet puppy ;)
get's two nice answers for a duplicate and is still complaining because "it does not work".
 
user50049
@hakre You seem to have a penchant for stepping in poop.
 
@TimPost Awww, you no fun :-(
 
user50049
@DaveRandom If Stack Exchange wanted me to have fun, they would have issued me some.
 
@TimPost poopy poop. No seriously, I take it for the fun.
 
@TimPost You've used up your annual fun quota already? I'll ask a question on meta, see if we can get the cap raised.
 
2:04 PM
It's just that I don't get the suggestion often to cancel my membership so found it noteworthy.
 
user50049
@hakre Yeah .. we're not like an .. auto club
 
user50049
Although many questions boil down to "come tow me out of this mess of mud I just got myself stuck in, repeatedly, for the last week."
 
user50049
Ohhh Rackspace not cool. Not cool at all.
 
If this guy's phone goes off once more I swear I'm going to ram it down his throat. Who uses the stupid Nokia default ringtone? And he's got it set to about a million dB. And it keeps ringing and he's just looking at the screen and ignoring it, but not silencing it. If you don't see me for a while it'll be because I'm in jail having murdered someone.
 
user50049
@DaveRandom Go stand next to him and whistle that tune until he cracks. Then whistle it some more.
 
2:07 PM
@TimPost Who needs CSS anyway...
 
user50049
@DaveRandom Every day can be a naked day. DO IT DO IT DO IT
 
user50049
Wow, that would be bad if taken out of context.
 
Formatting with markup FTW!
 
@TimPost uhh.
I like the auto-club analogy.
 
user50049
@DaveRandom I have never been able to completely avoid that. Always feel like scum when I do it, and it always works.
 
2:16 PM
@TimPost What can't be done with CSS? Having said that, I long ago abandoned support for anything older than IE8 because I rarely deal with anything for use outside the fairly small company for which I am sysadmin, so my browser choice is the company browser choice.
 
user50049
@DaveRandom I don't deal with anything older than IE8. In fact the current project I'm working on will politely tell you where to get a modern browser if older than IE8.
 
^^^ any solutions without leaving a sarcastic comment? ^^
 
lol
 
user50049
2:18 PM
It's just too much work for too few users to keep supporting IE6/7
 
@TimPost It's easy. Just use HTML 2 and some little CSS and it's done.
The CSS examples by Tim Berners Lee are very good for that.
 
@TimPost I've been considering dropping support for IE8. I want to use HTML5, I'm sick of having to make sure everything is valid XHTML transitional in order to get some bits of CSS to work properly. But we're still running a few XPs so it's not on the cards yet.
 
user50049
@DaveRandom Quirks and compatibility mode keep you sharp!
 
Know how I'm going to solve this issue? Use Dart and compile JS.
 
user50049
I don't fuss with IE quirks, I hire a 14 year old to do that.
 
2:25 PM
If Google doesn't care about it then I don't either.
Blame Microsoft for updating IE with the OS instead of a stand-alone implementation.
 
@LeviMorrison you didn't understood it right: They want you to buy the new OS so that you can get a new browser ;)
 
@hakre Even they hate out-dated versions of their own software like XP.
It's not even necessarily $$$ driven.
 
@LeviMorrison You leave my poor XP alone. What did it ever do to you?
 
I like XP.
 
user50049
@DaveRandom XP teaches patience almost as well as a Zen master.
 
2:31 PM
It was the dominant OS for a long time and was fairly easy to administrate.
Did you try using Linux in the XP era?
You had to be more than a power user to do it successfully.
 
user50049
@LeviMorrison I was exposed to UNIX and Windows 3.1 at around the same time. That did not make being a teenager any easier.
 
XP is still the best version of Windoze for a field engineer. M$ have really got my back up by hiding a lot of useful stuff in 7, and making it require 10 clicks to get to things I used to be able to get to in 1.
 
@DaveRandom Agreed.
 
And compulsory hiding the File | Edit | View menu annoys me a lot as well
 
2:47 PM
Hey guys
Doesn't deserve deleting IMO, read it well. It's not the normal array sort question.
 
@MadaraUchiha I can't see it, but maybe you should give it an edit to make it clearer to the general populous
 
@Leigh The point is that he wants to sort the array, but without changing the order of the first set of elements
Check the example input/output
 
Like I said, I can't see it
 
I wouldn't have answered it unless it wasn't.
@Leigh Well, it's deleted, you don't have enough reputation to see it :)
 
@Leigh I wanna give you 1 rep. It currently displeases me.
 
2:53 PM
@Leigh Happy 5k
 
lol, thanks
tbh, I expect that question to get deleted
at some point
 
user1125394
please, how could I write a RewriteRule, for my.server.com/something to my.server.com/application/something
 
user1125394
RewriteEngine On
RewriteRule ^/(.*) /application/$1 ?
 
@cyril Yeah, have you tried it?
 
user1125394
not yet, I will
 
user1125394
but second question
 
user1125394
how could I do so it still display my.server.com/something in the url
 
3:04 PM
@cyril You set your URLs as such
That rewrite rule will map my.server.com/something to my.server.com/application/something
Not the other way around.
If you link to my.server.com/something, it will actually access my.server.com/application/something
But the URL would still read my.server.com/something
 
user1125394
hmm not sure
 
@Paul actually yes, normally that would be the case, but the inverse is true here. Those entities are only mentioned by name once and the associated classes, DB etc., are all created on the fly. Similarly, none of the functions (such as the demonstrated search function) actually exist but rather all methods are parsed as anonymous functions.
Hm, Paul is long gone :-/
 
user1125394
3:42 PM
@MadaraUchiha sorry man I rly suck, actually I need to redirect all /myapp/* to /application/myapp/* like before but just for myapp/ , /foo shouldn't be rewritten

RewriteEngine On
RewriteBase /myapp/
RewriteRule ^(.*)$ application/
 
user1125394
the above doesn't work; Syntax error on line 4 of /etc/apache2/sites-enabled/000-default:
RewriteBase: only valid in per-directory config files
 
user1125394
line 4 is RewriteBase
 
In the /application program:
RewriteRule ^/myapp/(.*)$ /application/myapp/$1 [L]
 
user1125394
.htaccess?
 
actually, it doesn't matter where you put it
Put it in the root folder
 
user1125394
3:45 PM
ok thx!
 
Hi, I am new here. I want to generate and stream zip files on fly and facing problem in using gzdeflate. It does not work for large files.
here is a related thread that still not have a satisfactory answer
3
Q: gzdeflate() and large amount of data

HavenardI've been building a class to create ZIP files in PHP. An alternative to ZipArchive assuming it is not allowed in the server. Something to use with those free servers. It is already sort of working, build the ZIP structures with PHP, and using gzdeflate() to generate the compressed data. The pr...

 
4:04 PM
 
Make a new question, reference that one, and say the answer is not satisfactory. Maybe I'll answer it ;)
aw, I was gonna put zlib.deflate stream filter in my answer dave, meanie
I guess fread chunks then fwrite chunks to a file opened with zip:// would do the job
 
@Leigh I didn't give much away, let's see how far he gets...
 
well he gets +1 for searching, depending on question quality ;D
 
@DaveRandom compress.zlib:// works like gzopen and gzwrite which create a gz file. gz file has extra headers and footers around deflated data.
 
@CMNAJS nobody said to use compress.zlib://
use zip://
or stream_filter_append($fp, 'zlib.deflate', ...
15
Q: On-the-fly zipping & streaming of large files, in PHP or otherwise

Benji XVIImagine a web serving scenario where several large files must be zipped and provided to the client for download. The most obvious way to do this on LAMP is to create a temporary zip file using PHP’s native capability, then either echo it to the user or save it to disk and redirect (requiring it t...

Also, php.net/manual/en/function.ob-gzhandler.php - mode can be "deflate"
 
4:17 PM
@Leigh zip:// do not allow writing. But other two options although new for me, will really work. Thanks
@Leigh I was not able to get command line zip working as I don't have all the files on disk. And I need to start downloading just after I get first file from S3.
 
4:49 PM
could anyone suggest me good shared hosting company i had such very bad experience with godaddy
 
What type of specs do you need?
 
for file storage approx 5 gb and 50 gb bandwidth
 
I've had a positive experience with linode.com
Their smallest package is bigger than you need by 4x.
 
is hostgator is ok....
or its like godaddy ...
only show off
 
Dev
Hi all.
0
Q: URL rewrite not working for one URL

Dev# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] RewriteRule ^foo$ /bar [L,R=301] </IfModule> # END WordPress Those lines ...

I am trying this "RewriteRule ^foo/test$ /bar [L,R=301]" but its not working. any idea ?
 
4:56 PM
@NullPointer I haven't dealt with them but their reviews seem poor.
 
Evening
Enough with all those array questions and do this for me already!
And again the super rep whore telling people it is ago to simply ask for code: stackoverflow.com/a/12900598/508666
 
5:22 PM
0
Q: if explodable / else

James StaffordI have a string which may or may not contain commas if it does I want it exploded into an array if it doesn't I still want the string saved to the new identifier. my code clearly doesn't work, anyone have any better ideas. if(explode(",", $_SESSION['shoparea'])) { $areas = explode(",", $_SES...

all those answers...
 
@PeeHaa They've all got it wrong. Clearly the only reliable way it step through the string one character at a time. And even then, it would be best to do it at least twice to double check that you got it right.
 
I like the fact of doing it twice to be sure. Otherwise you will never be able to tell for sure that it is correct :D
@cHao way to rant about unformatted text +1
 
foreach ($array as $element) {
  foreach ($array as $letsMakeReallySureWeGetThisRight) {
    /* validate $array here */
  }
}
The larger your array the more likely it is you'll make a mistake. The above code account for this.
 
hahahaha
I lol'ed
 
5:32 PM
Might use that as an answer somewhere :)
brb food
 
Right, I'm off home, laterz
 
hi
 
5:47 PM
@NikiC hiya
Is SO slow for eveyone or just me?
 
@NikiC Hello
 
user895378
6:12 PM
@PeeHaa outstanding. Also, SO has been a little slow for me at different points during the day.
 
@rdlowrey Must be the super redundant ultra double paired server farm move of last weekend still acting up (I hope). tnx
 
Does anyone know how to attach a Passbook pass in a email using php? I have set the content-type to: application/vnd.apple.pkpass but it doens't work
 
6:32 PM
^ Tempted to send that over the PHP mailing list.
Just because meme's make things better.
 
Hello everyone!

I am writing my Bachelor's Thesis on Zend Framework and I am conducting a short survey among web developers. If you are kind to allow 2-4 minutes to complete the survey (14 questions) I will appreciate that!

The survey is held on Google Forms and there is no login needed!
Thank you!

Here is the form: https://docs.google.com/a/mihaivlasceanu.eu/spreadsheet/formResponse?formkey=dEtpYWhCVGRiNUMtUVRoUFJfaE9Obmc6MA&goback=%2Egde_2204708_member_149335276
 
@LeviMorrison Yes, yes.
 
@LeviMorrison When I read internals I'm tempted to send something exploding to him
 
Is there any plugin for netbeans that brings sublime text2 features to netbeans ? Especially multiple cursor editing support !
 
@DjMike what sort of thesis ? there are two major version of ZF and there has been large shift in ZF code
 
6:35 PM
@LeviMorrison I have now already multiple times written a mail containing something like "Lester Caine, may I respectfully ask you to SHUT THE FUCK UP", but until now my sense prevented me from sending it ;)
 
@NikiC did you send it?!?
 
@Lusitanian Reading is an art ;-)
 
@Lusitanian "but until now my sense prevented me from sending it"
 
I know --- until now implies that you did
but it wasn't explicit so I'm not sure
@PeeHaa IT'S HARD ):
 
:P
 
6:36 PM
@DjMike , also your list of frameworks is inadequate
 
my research studies the methodology side of zf
 
how does one research a framework? :P
 
in-depth :))
 
@Lusitanian Open a random file of it on github and laugh
 
@PeeHaa like CakePHP's App.php oh god
 
6:39 PM
@DjMike I like this question:
 
@Lusitanian Until now, inclusively ;)
 
> When the term framework occurs to you, what main idea comes to your mind, when it is referred to web development?
 
@NikiC so you haven't yet :(
 
:D
 
@PeeHaa I wrote something about crap that doesn't relate to architecture and teaches web developers horrible pratcices
 
6:39 PM
@PeeHaa I responded with garbage.
 
garbage is much more succinct
 
great minds think alike :)
 
i only need like 150 answers, ihave only 16 until now
 
@DjMike You don't need that many. 20 would probably suffice.
 
user895378
@DjMike I think your results will be skewed negatively by polling this chat room :)
 
6:41 PM
:))
 
@rdlowrey Definitely.
 
Can I edit my answers?
I changed my mind.
I think CakePHP is best framework available.
 
:))
 
user895378
I wouldn't call this room a representative sample of PHP developers ... not sure if that's the intention of the survey
 
6:42 PM
Bah, I will fill it again.
 
@Robik I hope you are trolling.
 
this is not the only place i posted though
 
@Robik I really, really, really hope you are trolling.
 
Yeah :(
 
@Robik i think you is full of it
 
6:43 PM
@tereško ?
 
Scare thing is Cake is the second most known FW (not that that tells anything ofc)
 
Oct 9 at 21:29, by tereško
I have come to conclusion that CakePHP is worse then CodeIgniter
 
have you tried zf 2.0 ?
 
i have read the source
it pretends to be third generation php framework .. but it's skin-deep
 
i think is time for me to go to a new level and use a framework
5
 
6:46 PM
lol
 
i really would like to make the right choice
 
@DjMike can you explain in your own words what LSP is ?
 
@DjMike Why?
 
btw how did you rate ZFW?
Sorry had to star that one :D
 
@PeeHaa That's a representative message of all the 'stuff' we see in here.
 
6:47 PM
is that realated with microsoft ?
 
@tereško Ah, is that the new test for "Should I use a framework?"
 
@NikiC he's used it for a while
 
ZF2 seems to be like a adapted brother of ZF1 ! Cant find much similarities :(
 
@DjMike Nothing to do with Microsoft...it's a tenet of OOP
 
aham, never heard of it
 
6:48 PM
-_-
 
@DjMike If you had 150 (real) people filling out the form would you share there results here please?
 
@PeeHaa that'll only depress me
 
when the research ends, yeah
that would be in 3-4 weeks
 
6:50 PM
@Lusitanian I like (real) stats. Even when they are bad news :)
 
@PeeHaa ):
 
@RohithRaveendran you have not been looking close enough
 
Classic:
> Have you ever used any of the products above?
> All which I ticked
 
lol
 
questions are meant to be simple, yet relevant :)
 
6:53 PM
@LeviMorrison Might be mine that one :P
 
so basically you are asking us to help you choose which framework would be best for you
 
Thought it would be linked somehow :D
 
the research does not have that purpose
i was just asking you
outside of the research/survey
 
do you really think that this is something that one should decide by following the opinion of majority ? @DjMike
 
no
 
6:54 PM
sup
 
@GordonM wazaaap
 
i was asking your opinion about your experience with frameworks
 
they all suck , and each is advertised by different set of people
 
well, one must suck less than the others :))
 
@DjMike true that
 
6:56 PM
@GordonM you haven't been here in a while
 
@DjMike imho: symfony -> ZFW -> other crap
 
Yeah. Between work and uni didn't have a lot of time to spare.
 
@PeeHaa seconded
 
Well I had a lot of time to spare at work but would have got in trouble for using it for chat :)
 
but if you go the service locator route using symfony you're screwed
so you can't do that
 
7:01 PM
@PeeHaa i would point out that you are referring to ZF2.x and Sf2.x
 
Pointed out rightfully
 
lol
sf 1 is largely a piece of crap
 
Uh . . . v1 of nearly anything is largely a piece of crap.
 
Finish current job on Friday, and uni's done for a while so have some free time at last! Can dust off the framework project and get back to work on that.
God made the Earth in 6 days. Which a) proves that God is a proponent of Agile Development, and b) explains why the world is so screwed up.
 
c) it's a fairy tale
 
7:08 PM
Yeah but that goes without saying, and doesn't let you mock Agile.
 
@GordonM Lololol that's a good one
Has anyone ever achieved a bug-free project using that methodology?
"Certified scrum-master" is another one of those phrases that means almost exactly nothing
 
No, but I've been left to pick up the pieces after an Agile dev project more than enough times for my tastes.
Too many people confuse "Agile" with "Don't have to do any of that boring analysis or design shit"
 
lol
 
Agile is a fad designed to sell books and conferences.
There's a lot of validity to iterative improvement as a design methodology, however.
 
The iterative bit I don't have a problem with.
But you can't use it to replace the boring shit nobody wants to do
 
7:20 PM
Exactly. A methodology that promises to replace design, etc is like a programming language that promises to be free of bugs
 
can you imagine what an Agile process applied to building a skyscraper would result in?
 
First, they'd build a pile of tin cans. Then, they'd build a pile of tin cans twice the size, but nailed together. Next, they'd duct tape several of these piles together.

Then funding would run out and it'd all be given to Indian devs.
 
The foundation would be made of cheese because the builder likes making models out of cheese in his spare time and thought using it to prototype the foundations would be cool. But the client thought that the prototype was the actual foundation and told told him to start building on it, and the builder decided they could fix the foundations in the next iteration.
 
@PeeHaa Someone actually asked that?
It's a perfect storm of fail.
 
perfect storm
 
good evening
 
Needs more jquery! — GordonM 12 secs ago
 
7:47 PM
Everything does @GordonM
 
user895378
Thank goodness for unit testing! Just got bitten by ...
 
user895378
$str = '0';
var_dump(empty($str)); // bool(true)
 
lol
That's one part of empty I don't like, actually
 
@rdlowrey Shame on you
 
7:50 PM
@PeeHaa I really wish people couldn't possibly be that stupid, but the weight of evidence is against the human race at this point.
 
By know you should be able to tell when PHP is doing stupid stuff ;-) @rdlowrey
 
You can forgive him because he's using empty. People don't use it enough so it isn't as well known.
 
@GordonM It truly is yet again a sad day in history for mankind
@LeviMorrison Ow I forgive @rdlowrey anytime ;)
 
user895378
@PeeHaa The problem only manifests if I want to be a genius and tell my HTTP client to read a response message 1 byte at a time. If I do that, my empty check on the return value of the socket read is true and the 0 character doesn't get included in the response ... which foobars the status code resulting in a message parse exception because HTTP/1.1 31 Moved Permanently isn't a valid start line.
 
lol
That is a pretty funny side effect.
 
7:53 PM
@rdlowrey is too tanned to stay mad at!
 
hehe
 
user895378
Too tanned for empty!
 

« first day (730 days earlier)      last day (4217 days later) »