« first day (956 days earlier)      last day (3997 days later) » 

3:00 PM
@CarrieKendall Jurassic Park isn't real ;-)
 
@Jack OH! THANK GOODNESS -.-
 
Yeah, figured you would be relieved knowing that.
 
@Jack keep thinking that
 
Hey guys, anyone free to help me; I'm having a little trouble with foreach in PHP?
 
@CarrieKendall .. it actually would mean that you are getting old
=P
 
3:03 PM
@BillyMathews i know of a video that explains iterators in depth ;]
 
hilfe... wtf is going on: codepad.viper-7.com/IzWBT8
 
@tereško yeah, that seems to be a trend with life :[
 
I understand iterators, but this is a weird one
 
@Ihsan Why does that surprise you?
 
@Baba codepad lacks $_SERVER ?
 
3:05 PM
Oh, never mind. I thought it was a PHP problem but it was DOM 0.o
Thanks anyway
 
@Baba mine has better formatting =p
 
@Ihsan codepad is still on of the best .. i wrote a question once .. but some people who can not think closed it
 
I prefer viper, mainly because of some iffy pcre issues on codepad.org
 
3:08 PM
10
Q: Test PHP Script Online

BabaLast Month codepad.viper-7.com was down and a lot of stackoverflow answers with code pasted there became broken include some of mine. When it was back all scripts where lost. Am looking for a free anonymous alternative to codepad.viper-7.com where i can test php scripts with minimal restriction ...

 
@Jack that doesn't do what you think it does
 
I can't believe @tereško also closed that question
 
@ircmaxell I just realized hah ... did I add the , true) or not :)
 
@Jack /me still looks surprised....
 
;-)
 
3:09 PM
@Jack code pad viper was down for a while
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or specific expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, see the FAQ for guidance. ?????? Really
 
I guess it was treated as shopping qn maybe? dunno.
 
so SO needs its own codepad.
 
RoV ?
 
There, reopen vote :)
 
@Jack i can give you links to over 100 question still broken ...
 
3:12 PM
@Baba Terrible (both in French and English)
 
just one more RoV ;)
 
doesn't it take 5 rov ?
 
@Ihsan Yeah ....
 
@Jack nah, delete vote.
SO is not a generic wiki
 
3:13 PM
lol
 
If you want to include that data, put it in the tag wiki
 
that nobody reads :(
 
SO is about programming questions. IDEs and online editors are both outside the scope of SO.
 
it could be a CW
 
@ircmaxell development tools included.
 
3:14 PM
then it could be easily edited when some things outdate
 
@kaᵠ So ignore the better solution because it's not used, rather than promoting it so that it is used
@kaᵠ as can the tag wiki (which was designed for this exact purpose)
@Jack no, not generic "what tools exist" questions...
 
from faq:

but if your question generally covers …

- software tools commonly used by programmers

… then you’re in the right place to ask your question!
 
How would one go about having a tag removed?
 
I don't see it as an unreasonable question
 
@Jack we have an update : stackoverflow.com/a/16815150/1226894
 
3:15 PM
I like the "newest dumb questions feed" link..
 
yiz
@jack, how do I write to log files in perl?
 
@ircmaxell indeed, but promoting a bad "system" is not the way to go, there were talks about improving it
 
The improvement for this case exists already
it's just being actively ignored by you
 
link pls
i'm sure i'm not the only one
 
@ircmaxell tbh, for it to be included as the tag wiki I feel some discussion needs to take place first as to which tools are good enough.
And discussions, I feel, are still best done in Q&A
 
that's not what a wiki is supposed to do
and that's not what questions are supposed to do
> As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or specific expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, see the FAQ for guidance. ?????? Really
 
erh
 
note: but this question will likely solicit debate, arguments, polling, or extended discussion
 
to each their own i guess.
 
3:18 PM
which is by very definition, not what is supposed to be in a question
 
isn't that what the CW is for actually ?
or one of the reasons
 
no
Grace Note on August 19, 2011

When you mark a post community wiki on a Stack Exchange site, that means …

this post can be edited by anyone with 100 reputation

this post does not generate any reputation for anyone when upvoted or downvoted

The main advantage of community wiki — more editing — was nerfed when we introduced suggested edits. With suggested edits, anyone, even an anonymous user, can edit anything — so long as another experienced user reviews and approves their edit.

This leaves many wondering — what’s the point of Community Wiki? …

 
and at what point does a tags wiki stop growing?
 
353
Q: What are "Community Wiki" posts?

Justin StandardSome questions and answers are marked Community Wiki and are owned by a Community Wiki user. Why have Community Wiki posts? How do Community Wiki posts work? How does a post become a Community Wiki post? How can the Community Wiki status be removed from a post? Return to FAQ Index

 
it's a single page !!!
 
3:20 PM
http://stackoverflow.com/questions/16813457/php-what-is-the-best-way-to-write-data-to-middle-of-file-without-rewriting-file/16815150

seems like one of those X->Y problems (http://meta.stackoverflow.com/questions/66377/what-is-the-xy-problem)
 
> One of the goals of the website is to be a continually evolving source of good information. Community Wiki posts help enhance the wiki aspect of the site.
2
only thing that addresses the issue, rest is tech specs
 
rad
hi guys
 
I give up
What do I know, I've only been doing this for 3 years...
 
@grobolom it is. Which is why I put my comment on that question
@kaᵠ I think you miss the point of that phrase
 
3:23 PM
We need to strike codepad.viper-7 off the list, it's been really shit lately
 
@ircmaxell is there any way to tag specifically why a question was marked for closure?
 
@ircmaxell to be fair I get that the q should be closed, debating here for a better alternative, most importantly to allow that kind of information in SO, because "As it currently stands" questions like that have just no place here...
 
It's open source - throw one up yourself @Jimbo
 
and I don't see how the tag wiki can really solve the issue in this format
 
@Jimbo Do you know any other alternative ?
@kaᵠ am with you 100% ... Not sure where one can ask such question
 
3:27 PM
@kaᵠ Think about this: is it a specific question that's being solved? In this case: no. It's a list of decent online free codepads. That's applicable across the entire tag, so therefore it's a TW entry...
@grobolom that happens automatically
 
@ircmaxell it would be nice to see a popularity vote somewhere though.
 
sure, you can add a list to the tag wiki and let everyone put their fav inside.
 
@ircmaxell it could actually have it's place on meta, as a lot of questions depend on those services
 
@Ihsan :)
 
3:28 PM
@Jack that's what happens when a question is closed
@kaᵠ that's not what Meta is for
 
@ircmaxell eh? how does that happen if at most you can comment?
i'm not talking about votes on the question itself.
 
huh?
 
@Baba Unfortunately not :( But if I find any will let you know
 
popularity votes is like: each answer highlights a single service.
only practical in cw mode first and foremost.
 
anyone have any experience with MailChimp, or email marketing in general? Just wondering if there's a preferred way of retrieving a user's email address when they click on a link.
 
3:31 PM
@kaᵠ I want tried to introduce Related Question but the question can still be open
 
the votes on each answer would indicate its popularity ... just throwing ideas around here.
 
@Jack doesn't change the fact that it's not really fit for SO
 
@Baba i gave a rov, cause we all use those services, what's about the Related Q ?
 
here's a dumb question: what are these called again? link.com/file.php?CMP=NLC-Special? get variables?
 
3:33 PM
request parameters
 
that's right. I'm horrible with technical names of things
 
or "Query string"
 
2
Q: Related Questions

BabaI have some few observations about closed questions Some Questions closed as duplicate are not necessary duplicate but have similar title Some Questions closed as duplicate contain duplicate links to other Question with no answers , outdated and answers no longer relevant Some Question closed a...

 
right, both of those work. thanks!
 
@ircmaxell So what would be your suggestion? Besides just copying the service list verbatim into TW?
 
3:38 PM
Put the list and maintain it in the TW
 
is is searchable?
 
Stupid Q: Where is this wiki? (Where on earth is Carmen Santiago?)...
I first thought it was something like wikipedia... :D
 
looks like a long sales letter (and it's about to get longer)
only thing missing is the [buy now] button
 
No need, we bought it allready...(so that was really a stupid Q)
 
also, the part on composer can be trimmed down severly.
 
3:46 PM
Laters. Have a nice time all.
 
278
Q: Any good PHP IDE, preferably free or cheap?

TaneraxDoes anyone know of any good IDE (Code completion, Syntax coloring, etc) that will handle php. Looking for anything that might be relatively cheap or free and doesn't run like crap (IE: Eclipse)

It took 4 years before this question was closed.
 
(disconnects with lots of static sparks)
 
I guess @Baba is just unlucky ;-)
 
SO is full of those
 
and it's protected.
 
3:48 PM
@Jack lol .. can you imagine
 
@kaᵠ Yeah, they weren't closed with fire like they are now.
 
@Jimbo interesting
 
the great SO [php] purge of 2013
 
@Jack there are more mods/10k/20k users now
 
You can do this with 3k already.
Point is that the question about online codepads could have just been a single link inside the TW.
 
3:51 PM
yeah, and i think i shouldn't
 
But noooo~, apparently now this is out of fashion.
 
would raise the close bar to 5k (eve if i don't got it now)
 
Granted, your truly has helped to close them (the older ones) heh
 
And thanks all the crappy people that down voted and closed .... Thinking Test PHP Script Online has no research effort and Any good PHP IDE, preferably free or cheap? has good research effort
 
@all can someone tell me how to select the list of valid enums for a column in a mysql table?
 
3:53 PM
@Jack very true
@Baba CW it ?
 
I agree, CW it first.
 
@Baba both are closed
 
helooooooo :D
 
@Gordon: want to come speak some sense here? Apparently I have none...
 
umm am i muted and invisible ???? O-o
 
3:55 PM
@ircmaxell Yes, both are closed, but the latter yielded 78 answers and is mentioned in the TW ... so why not have the same process for codepad?
 
@ircmaxell you are right, i think most of us also have the same idea, but that doesn't mean it's the best course of action for every problem like this
 
@Hanut visible
 
@kaᵠ I even would like to see it deleted .. so that i can also see their crappy names as enemy of progress
 
@Jack ++1
 
@grobolom :\ thanks for checking :D any idea how to check for the valid enum values for a column in a mysql table.
 
3:56 PM
@Baba lol, it looks like that
 
I just saw something strange after posting comments... after submitting the comment the status shows as "just now", then it changes to "23 hours ago", after refreshing the page it show the more accurate "x minutes ago"
 
19
Q: How can I get enum possible values in a MySQL database?

ShamoonI want to populate my dropdowns with enum possible values from a DB automatically. Is this possible in MySQL?

 
@Gordon with his infinite powers could snap his fingers and the question would be reopened again and protected even :P
 
@Jack No, both should be removed, and have their content inlined into the TW
 
@kaᵠ protected doesn't mean anything ;-)
 
3:58 PM
@Jack adds a nice feeling, also doesn't let <10 answer
 
@ircmaxell have all 78 answers inlined? I don't follow.
 
@grobolom Ty----> heading out
 
No, summarize them
2
A: Any good PHP IDE, preferably free or cheap?

SeanDowneyI'm just gonna say no. I've tried out several IDE's and they all have pro and cons for each one. I gave up looking for the "visual studio" of ide's for php

 
hey guys i'm finding Session_Start() takes 2 seconds to load with Windows. This really affects my ability to Profile or Trace an application and is just plain weird. Does anyone know why this happens?
 
that needs to be there?
 
3:59 PM
@Hanut please do a quick google search next time. That was the first result for "list of enums column sql"
 
25 answers saying "Netbeans!" with some BS, need to be there?
 
@ircmaxell i've used Netbeans, Eclipse and Zend_Studio.
 
@ircmaxell out of all the crap in SO why be so strict about the rules and not try to just slightly bend them for the few better questions that don't quite fit?
 
@kaᵠ :)
 
@ircmaxell to emphasize the amazingness of netbeans, yes ;] jk i'm not in this battle
 
4:00 PM
Netbeans and Eclipse are about the same, although Netbeans has a smaller RAM footprint. Zend_Studio is great, but it's just eclipse with some plugins, no point spending the £££
 
and also the CW doesn't quite seem to work well on the IDE question
 
{| style="float:right; background:none;" |- | |- | |} The broken windows theory is a criminological theory of the norm-setting and signaling effect of urban disorder and vandalism on additional crime and anti-social behavior. The theory states that maintaining and monitoring urban environments in a well-ordered condition may stop further vandalism and escalation into more serious crime. The theory was introduced in a 1982 article by social scientists James Q. Wilson and George L. Kelling. Since then it has been subject to great debate both within the social sciences and in the public s...
 
@ircmaxell hehe, interesting
 
@grobolom really sorry im a bit sleep deprived and google seems to be purposely sending misleading information my way so i go eat something
 
very well then ... @Baba I guess we'll just have a few chat sessions in this room and figure out which codepads gets merged into TW :)
 
4:03 PM
@Jack Good! That's how this is supposed to work
 
hey guys, has no-one had the session_start iossue i posted above?
 
@Jack that is the option we are left with
 
And as far as making it too big, let's propose the ability to add tabs to the tag wiki...
 
how do other TW's handle the no-tabs?
 
@Jack i will help by posting stupid, unhelpful things (as usual) that can symbolize the crap answers you'd get if the question was open for 4 years :D
 
4:04 PM
Ehh -.-
 
@Jack other tags don't have these problems
 
Have a good evening all
 
because their users are content with research for themselves
 
damn
 
bye @Jimbo
 
4:05 PM
in the meantime ...
:)
@CarrieKendall lol, okay :)
 
@ircmaxell and also the ability to be shown in search when something matches (and improve the search)
 
@kaᵠ Post it to Meta!
 
i don't mind, you can use it :)
 
@ircmaxell what happened?
 
@Gordon nothing much, was more having a discussion on stackoverflow.com/questions/13986359/test-php-script-online
and whether or not it really belongs on SO
or in the tag wiki
 
4:07 PM
hehe, this would be one of the better ways to tackle this issue
 
@ircmaxell dupe of stackoverflow.com/questions/4616159/… /cc @Baba
 
@Gordon partially at least
but I think both should be nuked, and added to the tag wiki instead
 
@ircmaxell sounds like a good idea
 
@ircmaxell maybe that suggests why malware is more prevalent on Microsoft systems ;)
 
However, that raises another problem
the TW is already quite big... How to organize it better
I was thinking of proposing on Meta a "tab" system to allow better organizing of the content...
akin to how the FAQ works
 
4:10 PM
that's a great idea
 
PHP pro-tip: Stop using is_numeric() to check for integers. Just stop. You can get the same effect with die("Y U NO RTFM?")
 
rant overtones anyone?
 
@Gordon I think they are 2 different questions 1. Looking for General Testing tool while the other (2) is looking for a testing tool with a specific functionality
 
@Bracketworks lmao
 
@ircmaxell I think to remember @timpost said the Tag Wikis will be revamped. But that was quite some time ago already, I don't know if it was dumped again. Asking on Meta cannot hurt.
@Baba in any case N/C since it's shopping for tool names only.
 
4:13 PM
GOOD MORNING
 
@Gordon I still prefer marked as duplicate to ... Non constructive .. that give me headache ... thanks
 
@Gordon yeah, going to do so soon
 
@webarto The melody reminds me of
 
I hear in chorus now, we're up all night to Kentucky.
Could be, not really sure :)
 
lol
The MUCH better version of the above song
 
4:22 PM
0
Q: How to make PHP read a txt file and giveaway a

user1915784So i've got a .txt file like keys.txt and i want some one to press a button which then gives them a key, line by line.

 
> @Gordon Tag wikis are on our radar to give some love to, but I don't think it's near future - Good ideas for giving them love on meta which are straight forward to implement and well explained might give that more veloicty. I'd personally love to see them become more useful than they are.
 
@ircmaxell It was fitting in Donnie Darko, and the Gears of War commercial; outside of that, yea.
 
Yeah, I'm just thinking of turning H1's into a Table-Of-Contents, and auto-collapsing more than 100px of content... That would be a HUGE boon to it
@Bracketworks Yeah, was epic in Donnie Darko
 
I love Tears for Fears :)
 
I hear @DaveRandom doesn't :P
 
4:25 PM
I do not.
 
@Baba I have the same problem, but I want it to generate Zend Studio license keys ... pls send me the exact code!
 
Le wild @DaveRandom appears.
 
@webarto to be fair, he is random
 
true
 
@Jack Use hackertyper.net , click hack , press space 10 time ... done
 
4:27 PM
@Baba It doesn't work for me, pls help.
 
You forgot, its urgent.
 
heh
 
lol
 
0
A: How to make PHP read a txt file and giveaway a

Gauthamhere is how you read a txt file and get the lines - $keysfile = file_get_contents($filepath); /* $filepath is the path to the file with a key on each line, $keysfile now has all the file content */ $keys = explode(PHP_EOL,$keysfile); /*$keys now has an array of all the keys in the file */ Base...

then there's that guy ^
 
Arguably those who can play the role of help vampires best are the ones who feel obliged to help them ;-)
 
4:37 PM
generator will not generate code for you — Carrie Kendall 13 mins ago
 
@CarrieKendall /dave/random
 
idosius.com/posts/symfony-sucks read the comments for shits n gigglez
 
rofl
 
> it’s heavy and stupid and splits basic information into multiple pieces in a tons of directories and you end up spending more time looking for the file, than coding into it.
abstraction is stupid >.<
 
4:46 PM
ummmm
Well, to be fair, Symfony's abstraction is going a bit out there
 
okay, sure, but preferring a flat file because you have to dig through some directories is not progression, its laziness
 
it just requires you to have some understanding of some patterns... if you do monkey-patching all day, any abstraction layer is just crap for you
because you like writing crap instead :P
 
Goood evening room11!
 
hey @PeeHaa埽
 
@PeeHaa埽 !!1!
 
4:49 PM
11 for 4 life.
 
@PeeHaa埽 We are not a number, we are a chat!
 
@webarto if you're going to 1337 it don't stop there
 
Semi-1337 today.
 
member for	3 years
visited	1112 days, 1109 consecutive
I'm closing in...
 
You have a problem @ircmaxell
 
4:52 PM
Yes, I know that :-P
 
WHERE HAVE YOU BEEN THOSE 3 DAYS!>!?!?!?
:D
 
I didn't know :-(
 
Isn't that something @Gordon can fix for you :P
 
@PeeHaa埽 you have an SQL error in your statement near 'WHERE'
 
> oops query
 
4:54 PM
$process = (isset($_REQUEST['process']) ? ($_REQUEST['process'] == 'true' ? true : false) : false); lmao
 
$process = (bool) @$_REQUEST['process'];
:P
 
@CarrieKendall Nice page.
 
@webarto Every time you use the silence operator, Rasmus kills a kitten. Won't somebody think of the kittens!?
 
$process = empty($_REQUEST['process']);
 
5:00 PM
 
Should do it I think.
@ircmaxell Haha, nice! Btw, Audi Concert is such a nice soundsystem :P
 
nice
 
user image
6
@Charles ^^
 
L0L
 
hey all - what would you recommend for using an auth token from an OAuth API during a users session while logged in?
I have oauth.php which sends the request and gets the token, but I'm not sure how I want to use it on other pages that need to make requests to the API
 
5:10 PM
F* me if I understood anything :)
 
@ircmaxell someone i consider far more experienced then myself (probably everyone in this room but meh) told me i should use http code instead of returning a true or false in a ajax call context. What do you think?
 
@PeeHaa埽 fix what?
 
Is carrying an auth token from page to page in hidden form fields ok? store in a session? :/
 
22 mins ago, by ircmaxell
member for	3 years
visited	1112 days, 1109 consecutive
 
@Happyninja That depends on context; if true or false are valid resources; then an HTTP 200 with the result is fine; if the resource doesn't exist, don't return false with a 200, return a 404.
 
5:15 PM
@PeeHaa埽 if I could fix that I would still have my 1000 days
 
Wait; I think I misread your problem.
 
@Bracketworks the person suggest me to replace a true or false with an http code directly like with php.net/manual/en/function.http-response-code.php
 
@Happyninja So, we're talking about what you're returning from the server in an API call?
 
@Bracketworks yes
 
5:21 PM
@Happyninja Ok, then I was on the right track ;) You're returning what, JSON, XML?
 
@Bracketworks it was more of a conceptual question
like for a case where the call answer can only be true or false
 
@Jack u there ?
 
5:42 PM
@Happyninja Well, the HTTP response should assist the user agent in determining the course of action on the payload. If the resource doesn't exist and you return a 200 with a body of <data>false</data>, the client is left to conclude that the resource exists, and the value is false (or whatever)
If when processing/routing the request, you've determined that the client has requested a non-existent resource, you should respond accordingly with a 404
 
11
Q: Please stop linking to the "Zalgo" / anti-Cthulhu regex rant

Cyborgx37Anyone who has stopped for more than 5 seconds in the regex tag knows of this infamous answer: Every time you attempt to parse HTML with regular expressions, the unholy child weeps the blood of virgins, and Russian hackers pwn your webapp. I know that it's funny. I know this answer will nev...

 
@Happyninja I would recommend you read the HTTP specs, become intimately familiar with them (or at least where to find what) and use that knowledge when architecting a service. If HTTP hasn't got it covered, then look into community driven de facto efforts to bridge the gap.
 
@Bracketworks thanks for the input, i appreciate it
 
@Happyninja No prob' Bob :)
Mind you, I'm hardly an authority on the subject, and I know a few users here could provide better insight, but in the meantime, check out the standards and inquire when you have specific issues; surely someone can help :)
 

« first day (956 days earlier)      last day (3997 days later) »