« first day (598 days earlier)      last day (4341 days later) » 

6:04 PM
Could I get some opinions on my answer here: stackoverflow.com/questions/10742209/…
I'm pretty sure blogger doesn't allow enough control to track a poll without their poll plugin.
 
@EventHorizon You're posting that link in a 100% neutral manner right?
 
Good Evening
 
Yeah, I want honest opinions, I'll withdraw my answer if its poor.
 
@yehuda howdy
@EventHorizon lol I was joking
 
ha, its been so serious around here I couldn't see it
 
6:07 PM
@Mike B good thanks for replying, been studying mod-rewrite all day and came across rewritemaps but they have to be written in a https.conf not htaccess. Is this possible on my web host hostgator etc
 
@yehuda According to this: http://rustyroy.blogspot.com/2011/12/traumatic-experience-with-hostgator.html

no they dont
 
AFAIK .htaccess is just a config-per-directory mechanism that Apache has. So everything in .htaccess is perfectly legal in any other apache config file
 
so what do people normally do?
 
I was just responding about rewrite maps just FYI
 
rewritemaps dont work in htaccess
 
6:10 PM
no, I meant hostgator doesn't support rewrite maps
they look like they support normal .htaccess though
 
so what do people who need maps do?
 
What is a rewritemap?
 
new blog post going live in 15
 
like stackoverflow when you link with just the GET number, it automatically puts in the title of the page
 
for anyone who was interested in the venus transit: events.slooh.com :]
 
@yehuda Can't you just use php for that?
@Event_Horizon ty
 
hi
 
@RepwhoringPeeHaa sorry my mistake, i mean in the url
 
i am having timezone issue
i want to expire record corresponding to user local timezone
 
6:19 PM
@gowri you better catch up on your sleep then!! :-) You must jetlagged!
 
@yehuda If you cannot setup the config of the webserver why not simply do a php redirect?
 
@yehuda: i can't sleep with out solving
 
How will a redirect bring up the name in the url bar if all we supply is a question_id
@gowri jj;
 
user895378
@gowri Then store all of your timestamps in GMT (offset 0:00). Then, associate each user's local timezone setting with his/her account. Finally, use php's DateTime object to adjust the timezone based on the user's setting.
 
6:22 PM
/me runs for cover
 
user895378
give them your root pass. — DarthVader 16 secs ago
 
How do you solve the placement and "dependency" issues of introducing global "core extending" functions into PHP? I mean, introducing new array_*, et al., functions that really have no logical place in a class?
 
@rdlowrey hehe
 
I need a job
 
@Bracketworks are you creating new functions or methods?
 
6:24 PM
@RickSalad I just need money really
 
@RickSalad I need a beer. Wanna trade?
 
@MikeB Well, functions. I've seen arguments both for and against the static class solution of Collection::*
It aids with autoloading of course, and pseudo-namespaces it (despite namespaces)
But I don't like doing that, static calls proliferate throughout; regardless of however unlikely a change to such core functions would be.
 
@Bracketworks how come?
 
@webarto, @RepWhoringPeeHaa lol all we need something
 
@RepWhoringPeeHaa lol, would probably prevent future meta outbursts
 
@rdlowrey Thats catchy
 
hi again, what is $0 in mod-rewrite
 
@yehuda The first match
 
@MikeB Is it possible I have seen it when no paranethises are used
 
6:29 PM
@MikeB isn't it the whole string?
 
@RepWhoringPeeHaa where do you work?
 
I've also seen efforts like SplTypes, to OOP-ify core types, but as we all know those either require extensions, or verbose boxing/unboxing.
 
@RickSalad netherlands
 
@Bracketworks With projects I work on we never create functions (there are exceptions to this but very rare). 95% of our methods are concrete and we don't have a utility class or file
 
@RepWhoring do you mean the whole match ie the url
 
user895378
6:30 PM
@MikeB +1
 
user895378
I don't see any reason to create global functions
 
user895378
your code is either OO or it isn't ...
 
@RepWhoringPeeHaa Isn't $0 the whole first match? Whatever the first set of parenthesis matches
Maybe I'm using the wrong term
 
> These are backreferences of the form %N (0 <= N <= 9). %1 to %9 provide access to the grouped parts (again, in parentheses) of the pattern, from the last matched RewriteCond in the current set of conditions. %0 provides access to the whole string matched by that pattern.
 
@RepWhoringPeeHaa I gonna work with you
 
6:31 PM
/(.*?)/s(.*?)/: $0 is the first () and $1 is the second
 
@MikeB hhmmmmmz maybe you are right. lemme check
 
I'm in agreement with you @rdlowrey and work towards purely OO solutions as described by @MikeB.
 
@RickSalad You have to be fast since I'm switching jobs soon
 
Damn core types.
 
@Bracketworks Maybe it would help if you described one of the functions you're trying to find a home for?
 
6:32 PM
@RepWhoringPeeHaa why you switch job so fast??
 
@MikeB nopez. checked $1 is first match
 
blast
 
@RickSalad time for a change
 
@MikeB Well, I already have; I have a Map type that wraps arrays. With ArrayAccess you can $map['foo.bar.baz'], equivalent to $array['foo']['bar']['baz']
 
@RepWhoringPeeHaa I'll upvoting the global guy to spite you
:D
 
6:33 PM
hehe
 
But the class is comprised of static methods to do the grunt work and instance methods to perform them in the context of the object.
The class is just getting a little unwieldy.
 
@RepWhoringPeeHaa what kind of interview does you job?
 
@Bracketworks Ahh I see
 
Android users onx.ms
 
user895378
6:36 PM
@Bracketworks Personally, I would make a class that incorporates all of the "global" static methods and inject it as a dependency into your actual Map class ...
 
I don't think that moving them to global functions is a solution, however they are very much part of the array_* ecosystem, and I was curious of what others did to introduce (or avoid introduction of) global "core extending" functions
 
user895378
and kill the static ... of course that's easy to say ... it's another thing to rewrite all of your code to root out the static :)
 
user895378
I just made a decision a few months ago to avoid static entirely ... and it's worked out very well for me ...
 
@RickSalad ?
 
user895378
It's almost impossible to remove it from legacy code without refactoring the whole application, though.
 
user895378
6:38 PM
@RepWhoringPeeHaa is hiring if anyone needs a job ;p
 
@rep
@RepWhoringPeeHaa I need a job interview can I apply to your company?
 
posted on June 05, 2012 by Anthony Ferrara

A few weeks ago I was sparked into a twitter conversation with Larry Garfield (@Crell) about the value of comments in code. Really, twitter is not the best place for that conversation, so I decided to write this post to illustrate my beliefs on commenting. Let's start this story with the tweet from Larry that set off the conversation: Nothing drives home the need for good code comments like wor

 
@RickSalad I don't think they already know that they are hiring ;)
@RickSalad What is your experience level?
 
intermediate - avanced
 
github? @RickSalad
 
6:41 PM
no
 
any public code?
 
@RepWhoringPeeHaa do I need to make my code public?? I think that It was just an interview
 
I spend a month in PHP; at the end I'm going "Y U NO MORE LIEK C#!?"
I spend a month in C#; at the end I'm going "Y U NO MORE LIEK PHP!?"
 
@Bracketworks next python?
 
Nope Io.
 
6:43 PM
@RickSalad just curious whether you have some code anywhere on the web
 
@RickSalad My company asks for your github info as well.. it's becoming a standard interview question
Even if you just follow a bunch of projects it looks better than "What's Github?"
 
@Bracketworks quit it.
 
@RepWhoringPeeHaa ok I see so I need to make my public code
 
Okay :(
 
@RepWhoringPeeHaa thanks
 
6:44 PM
@RickSalad no, you don't need to.
 
@salathe why not?
 
why yes?
 
@RickSalad Just because @RepWhoringPeeHaa asked, doesn't mean it's a requirement... that's all I mean.
 
@RickSalad btw with all respect. You are nowhere near intermediate nor advanced. Unless you have learned a shitload last half year
 
<-- doesn't know how to create a branch
 
6:46 PM
@RepWhoringPeeHaa why you said that?
 
I echo @salathe.. github isn't a dealbreaker
didn't mean to make it sound like one
 
@webarto start with a seed, then plant it in the ground, wait a while and you'll hopefully get a branch. :)
 
user895378
ouch truth burn.
 
6:47 PM
@RepWhoringPeeHaa Thanks for editing those :]
 
@RepWhoringPeeHaa ok you are rigth I just want a job thats all
 
@salathe easier than handling 100 branches and some messy non working code :)
 
@orourkek sorry about the oneboxing ;)
 
As I was thinking to myself "oh, well that's slightly annoying," you edited them :P
 
6:49 PM
But nothing will surpass .gifs in annoyance factor
 
I tend to get triggerhappy when people have a question with difficult or complex in it stackoverflow.com/questions/10903074/…
 
How is everyone this morning?
 
:(
 
so thanks all for listening I try to find job in another place
 
6:51 PM
You can't flag that as offensive/spam!
 
It's hard to believe there's people in the world who think that's funny
 
but you can press ESC key :P
 
@orourkek Let me know if you find one who does. :)
 
@salathe Thank you.
 
@Bracketworks For what?
 
6:52 PM
@salathe Removing that, my peripheral vision was enveloping my sight.
 
@Bracketworks It wasn't me.
 
The ignore feature in chat is the greatest tool
 
@orourkek Really? I've yet to find anyone to use it on.
 
hah, i had to hide your posts to avoid seizure ;]
 
ESC will stop animation (seizure)
 
6:54 PM
so will hide posts ;]
 
exactly
 
when I do right mouse click, I don't see Hide post option
 
click their username
 
Less annoying GIF :)
 
user895378
OMG make it stop
 
6:56 PM
He's a happy little elephpant.
 
flag it, hide posts, move on
 
I like this one
I saved it, before you remove it
 
@orourkek don't abuse the flag system
If you don't like it, ignore me.
 
@salathe Your post is missing something
 
@Donut Needs more cowbell.
 
7:00 PM
Found the unhide feature now, didnt even know you could do that
@salathe I'm not abusing the flag system, posting random gifs for spite is offensive, inappropriate for the room, and spammy. It hits all three of the prereqs for flagging
 
@orourkek I guess your definition of those terms is far looser than mine. I won't argue the point. :)
 
/me is getting back at actually doing some work
 
I think we have a new meme ;)
 
7:03 PM
global meme;
6
 
user895378
okay I am agree with all
 
Hahaha
 
it's on-topic to post annoying crap purely for spite? I will never see that logic
 
Boo
 
7:04 PM
@orourkek Who said anything about on-topic, or spite?
 
I'm a scary ghost
 
@rdlowrey this stuff reminds me of irc's upload of that bob ross thing. Now gently really gently downvote the answer ;)
 
@Chacha102 the best kind of ghost!
 
user895378
@RepWhoringPeeHaa lmao
 
@salathe I said "gifs are the most annoying." You responded with the most annoying gif. How is that not spite?
 
7:05 PM
@salathe The other kinds are pretty pointless
 
@orourkek How is that spite?
 
user895378
@CarrieKendall yay!
 
It's an example, sheesh move along.
 
@salathe go find a dictionary
 
7:06 PM
hey guys, we have had enough disputes today :P
 
@orourkek I would, to hit you over the head with.
 
the day of the downvote <-- history
 
I didn't post out of spite, I posted an annoying gif as an example of said annoying gif.
 
@CarrieKendall Agreed. The butthurt hasn't stopped since.
 
7:07 PM
.oO( Why are folks on the intertubes so delicate these days?... )
 
because WE AM NOT AGREE WITH ALL
 
@CarrieKendall I am agree with that.
(did I do it right?)
 
it's all or nothing :P
 
@CarrieKendall *takes note*
 
Explaining why my flagging isn't "abuse of the system" is being delicate? My what different worlds we live in
 
7:10 PM
-.- so much moot
 
@orourkek Quit being so defensive already! :)
Sooooooooooo.... anything PHP-y to talk about?
 
yes, venus is going to be residing right in front of the sun today.
 
infront of the who what?
 
-.-
 
that guy
 
7:13 PM
why does the sun need sunglasses? that picture makes no sense.
 
you've missed the point.
 
And why is he smiling? He's the most dehydrated person in the solar system!
 
his tongue is YELLOW.. how inaccurate
 
oh wait, mirrors... mirrors.
 
@CarrieKendall A common theme, today
 
7:14 PM
@CarrieKendall Sorry, I'm from Scotland… we don't see that guy. :(
 
how unfortunate :[
 
He also looks dangerous for children to look at, he has spikes all over him, he's an unhealthy representation of the sun.
 
user895378
It's a mass of incandescent gas! A gigantic nuclear furnace!
 
user895378
Where hydrogen is built into helium at a temperature of millions of degrees.
 
user895378
Well, actually, it's a miasma of incandescent plasma ... but that's another story.
 
7:16 PM
and that, friends, is how you change the subject ;]
 
We are all made of stars, think of the children they might try to look up to the sun if they learn that and set themselves on fire!
 
5 hours ago, by Paul
the current stars suck
 
@CarrieKendall it's still not PHP though :P
 
if it were, we would've reverted. i had to make a clean break :P
 
7:19 PM
@CarrieKendall Ahh, I see the logic now.
 
@RepWhoringPeeHaa I'd comment on the upvote, but out of fear of reversion...
 
also adobe sucks.
 
user895378
Except for flash -- flash rocks my socks off ... so much better than these hippies with their CSS and their "standards"
 
nm
I voted to close this question on my own free will — Mike B 4 mins ago
lmfao
 
7:29 PM
LOL you guys are a bunch of trolls..
 
How else would the mods know?
 
@MikeB Polygraph. Random tests will soon be compulsory for flags/downvotes.
 
@MikeB They wouldn't unfortunately according to the Meta posts.
 
@eggyal Hah!
Anyone use Sublime with the CodeIntel plugin?
on large projects
 
Used to, but it kept throwing warnings and errors
 
Jon
7:44 PM
You guys ever war with the Javascript room, i was just in there, they just called you all faggots (Zirak) especially
 
@Jon That sucks
@Jon Do you know if Zirak's mother has any deficiencies?
 
@Jon I love faggots, they're very tasty and delicious!
 
@Jon Maybe all of the people who ask javascript questions in here are actually sent over by them to annoy us
 
7:54 PM
Array Oriented Programming! Yippieeee! — rdlowrey 32 mins ago
 
user895378
@RepWhoringPeeHaa AOP or GTFO IMO
 
that's alot of ABBR TBH but IDC LOL
 
user895378
My all time favorite:
 
user895378
Mar 8 at 4:42, by cHao
PDO or GTFO, IMO.
 
hah
 
8:00 PM
y u no have humble opinion?
 
user895378
y u no like abbr?!?!??
 
user895378
Is it me or has chat totally gone off the rails on memes lately? :)
 
y u no like not hurt feelings?
 
its so we can stay on the low down from mods ;]
y u no like talking in CODE
 
echo "y u no like ";
if(mods==true)
{
echo "candy?";
}
else
{
echo "downvoting?";
}
 
8:04 PM
([][[]]+[])[+!+[]]+(!+[]+[])[!+[]+!+[]+!+[]]+"v"+(!+[]+[])[!+[]+!+[]+!+[]]+(!![]‌​+[])[+!+[]]+" g"+(!+[]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!+[]+[‌​])[+[]]+(!+[]+[])[!+[]+!+[]+!+[]]+(!+[]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[‌​]]+([][[]]+[])[+!+[]]+(![]+[])[+!+[]]
"g"+([![]]+[][[]])[+!+[]+[+[]]]+"v"+(!+[]+[])[!+[]+!+[]+!+[]]+" "+(+[![]]+[+(+!+[]+(!+[]+[])[!+[]+!+[]+!+[]]+[+!+[]]+[+[]]+[+[]]+[+[]])])[+!+[]+[‌​+[]]]+(!+[]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!+[‌​]+[])[+[]]+(!+[]+[])[!+[]+!+[]+!+[]]+(!+[]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[‌​+[]]+" "+([][[]]+[])[+[]]+"p!"
 
user895378
Oh, someone just found the "chat easter eggs" post
 
jk abbr r ftw imho but i cba atm
 
or that
 
@rlemon that comes up as vgcats website in google
 
8:07 PM
run it in the console (js)
however the chat adds a new line
Spoiler: ... and he never did
 
user895378
excellence. that is all.
 
Is posting public phpinfo reason for closing/deleting a question? stackoverflow.com/questions/10903970/…
 
> magic_quotes_gpc On On
 
user895378
@MikeB Posting phpinfo output is a pretty dumb thing to do, but I don't know that it's a basis for closing a question ...
 
8:23 PM
Questions like that drive me nuts. Look! I found a small unexplained anomaly in PHP that has absolutely no application whatsoever. And the upvotes pour in...
 
user895378
@MikeB for real
 
user895378
not to mention he bastardized the capitalization ... MICROTIME(TRUE) ... really? All-caps for a native function?
 
its for emphasis
I like to capitalize DIE;
helps with stress-relief
 
user895378
/me shudder
 
8:28 PM
@RobertHarvey: No offense, but spend some time in the chat room before you judge anything. The php room is one of the most active on the site. It's been active for 1.5 years, with an average of 1.1k messages per day. Out of all of that, there have been a total of 45 usages of dv-pls, with the majority of them meaning delete-vote. A number of mods frequent the room, and none have expressed any lasting issue with our interaction with the community. Don't judge us by an isolated incident taken out of context. Come join us and spend some time before judging our interaction... — ircmaxell 10 secs ago
 
@ircmaxell A rational, well thought out response. Will surely be met with ridicule and mocked endlessly :P
 
127.0.0.1 reddit.com <- best decision I've ever made
 
lol. Not looking there?
 
I would get too wrapped up and forget that I was at work
 
8:35 PM
yeah, understandable, and I prob should do that as well
 
plus, it's fun having a stockpile of blue links at home :]
 
@orourkek, please , do not forget to take your meds
 
@tereško which ones?
 
all of them
 
need a few more +1's on the HN article. Want to make the front-page
 
user895378
8:40 PM
@ircmaxell +1'd ... really good post IMO
 
thanks!
wasn't a difficult one to write. Was difficult to try to not come off as a rant. Not sure if I succeeded...
 
user895378
@ircmaxell I didn't think it sounded like a rant, but I really enjoyed the original tweet ... the brevity of "Nothing drives home the value of good, clean code by working on code that doesn't need comments." was perfect :)
 
:-D
 
stackoverflow.com/questions/10880838/… <-- that couldnt have happened before the onslaught?
 
I missed a than in there (in the original tweet, wanted to keep the context)
 
8:43 PM
The only thing I disagreed with is that for people who can't recognize when to refactor, them omitting "what" comments would probably cause more headaches because of the poor code quality. But that could fall under the legacy code caveat that you mentioned
 
yeah...
that's fair.
comment to that effect!
 
But then again, you can't write articles that are directed at every level of coder at once
 
user895378
I'd say that's more of a "you" problem if the coder doesn't know when to refactor ... commenting only patches the underlying problem of the developer's poor code.
 
user895378
I try to catch myself when my justification for something becomes, "but the person who doesn't know what they're doing won't be able to use it correctly."
 
Which I guess is the point, isn't it. Poor code is relative. Once you reach a point where you can no longer reasonably improve it, comment and be done.
 
8:46 PM
@rdlowrey Yeah, the crossover being that if these [crappy] programmers read this article and stop trying to explain what their poorly constructed code does
 
user895378
@orourkek lol, true. Here's hoping I never have to look at their code.
 
Still only +2. Need one or two more: news.ycombinator.org/item?id=4070681
 
A fair goal :P
isn't the phrase "dynamically reload" a little redundant?
 
no
 
Ahhh, finally left the mobile and back on the laptop!
 
8:51 PM
I guess "reload" has different meanings in web contexts
 
Woot! Chrome's new script tab in console ROCKS
 
user895378
/me sudo yum update google-chrome
 
@ircmaxell huh did I miss something?
 
all i need is a JS console
 
I have a new script tag in my chrome, with tabbed script access (no more dropdown)
 
9:02 PM
@ircmaxell I'm just glad you can finally turn javascript off and test your web apps in noscript mode now.
 
lol
 
hi guys...
Anyone who have experience to mail servers (postfix/dovecot) and virtual_users/domains?
 
Still think I prefer firefox though because it does zoom properly. Just try going to theregister.co.uk in Chrome, zooming the page in a bit and watching what effect it has on the rotating top story thing.
I just wish FF was as snappy as Chrome and didn't suck the memory down like it was going out of fashion
 
yesss .. next opera release will have 64bit versions for linux and win
=P
 
@rdlowrey just wasted 3hrs forcing sudo to work... (not accepting password)
 
user895378
9:11 PM
@webarto that ... sounds ... terrible
 
user895378
@GordonM FF uses a of memory
 
eventually added "normal" user to sudoers... donotwork
 
9:38 PM
I made a quote that I love:
> A bunch of great comments on unmaintainable garbage code is still garbage code. But no comments on great easy to understand code is a far better situation to be in...
3
 
@ircmaxell good one
Off to see the Venus transit!
 
9:56 PM
oh github, I hate you mac.github.com
 
@ircmaxell I'd still hate even the best code in the world if it had no comments. Even if they're just there to break the source up a bit.
Of course, if a programmer isn't commenting their code the chances of them writing code that isn't crap is in my experience slim to nil anyway.
I'd be inclined to say that commenting your code is just common courtesy and something any good programmer should do by habit anyway.
 
hi guys
i have an apache related question
Please check this question. Thanks!
0
Q: .htaccess does many internal loops

Karim#### BOF SSU Options +FollowSymLinks -MultiViews RewriteEngine On RewriteBase /refm/ # Deny access from .htaccess RewriteRule ^\.htaccess$ - [F] RewriteCond %{SCRIPT_FILENAME} !-f RewriteCond %{SCRIPT_FILENAME} !-d RewriteRule ^(.*) index.php?/$1 [E=VAR1:$1,QSA,L] #### EOF SSU I'v...

 
later all
 
@CharlesSprayberry linux.github.com :(
tried checking out from windows to location on linux machine, not working good, whatever you try to do it stalls (probably slow transfer speed between win-lin)
 
@webarto I had a feeling you might respond with that ;)
 
:) I don't mind cli (that much) but it is a lot faster to do things with GUI (a nice one)
 
@webarto Don't you say bad things about the cli!
 
@NikiC it all comes down to CL :P I should probably store commands in some file and copy paste them, that would be nice :)
 
10:55 PM
What's the good word
 
@stevether urdoinitrite
 

« first day (598 days earlier)      last day (4341 days later) »