« first day (743 days earlier)      last day (4220 days later) » 

12:00 AM
@Demorus , this is what you should be looking for
all the browsers have this in their development tools
 
@tereško Wrong ping target ;-)
 
@Jocelyn OP answered his/her own question. I think it's fair to keep it. I like it if users are answering their own questions (if not too trivial). But the title is poor. CV'ed.
 
@DaveRandom sry
 
@tereško I inspected the element, not sure what im doing wrong though, here, this a small segment of the code: <textarea id="sn-us-textarea4"class="sn-inputComment sn-us-inputComment {sid:4} sn-watermark"
 
12:02 AM
did you notice the red arrow in my screenshot ?
 
hmm ya I did
 
@hakre I understand your point. But the problems in his code are easily solved by reading the mysql documentation or reading the error messages
 
@SomeKittens he's just dumping links from the review tool
 
		$stmt = $db->query("SELECT * FROM `users` WHERE username=$usrnm");
		$row_count = $stmt->rowCount();
 
12:03 AM
@tereško not anymore. I read your comment from last time
 
Ill try that change and ill hope it works. Ill do a screenshot later
 
Fatal error: Call to a member function rowCount() on a non-object in C:\wamp\www\DivTec_login\site\login.php on line 8
Why is stmt not a object?
 
@Jocelyn Not only that, the wording and way of asking / solving is akward. "I have an Issue" and "I solved my issue". Only code then, which is very limited.
 
Is it because $db is defined in a different file which is included?
 
@Alec you should start by reading the link, that i gave you , and then explore prepared statements more
 
12:06 AM
@tereško only colors parent surrounding div but not the php generated text input itself
 
Teresko, I have already read that manual.
 
@henrymb67 It's really not worth. Switch hosts or just place the routine onto heroku and remote-request it.
 
then you should read it again , because you clearly did not understand it
 
When you originally said "Read the manual" I thought you meant read all of the php.net documents on the library.
 
@hakre routine onto heroku and remote-request it?
 
12:08 AM
@henrymb67 Try this instead - I made a schoolboy error.
 
@henrymb67 That is just getting a working host for PHP as of today. Then pass the URL via an HTTP request to it, let PHP on that host do the work, return the result as text back via HTTP response and then display the result on your host which has broken / outdated PHP version.
see hakre.wordpress.com/2012/05/20/php-on-heroku-again how to run some PHP on that provider.
 
@DaveRandom Okay, I'm testing it now. Thanks for all your help. I really appreciate it!
 
@henrymb67 Tested here
 
@DaveRandom Brilliant thank you!!!!!!
 
12:13 AM
@Jocelyn Uhhhhhm... backlog?
:-)
 
@PeeHaa how exactly does the backlog work?
 
@Jocelyn It gets all cv requests from the chat transcript and displays the ones that aren't closed yet
 
@DaveRandom THANK YOU THANK YOU THANK YOU <33333
 
@henrymb67 no worries :-)
 
@PeeHaa It's the first time I read the exact description of how the cv-backlog gets its content. Then my link is actually useless...
 
@PeeHaa What song?
 
@henrymb67 I have only tried the first one.
 
ohhhhhhh nvm HAHAHAHHA that song is hilarious
omg rofl
It's a pretty good message though ;p
 
arg, HD. Please give me the option to turn it off....
 
12:30 AM
@henrymb67 It is, but still the song is terrible :P I might mail him to get the separate stems and make a remix :D
 
@PeeHaa The website looks very nice also
@PeeHaa Listen to the song "precious" on that site, also hilarious.
 
@PeeHaa lol. that guy is so entertaining. close to an art project.
 
I think its a bit better though.
kim dot com <3
 
@henrymb67 Hmm. I mean really?
 
12:34 AM
@hakre he is a total bad-ass. his license plate reads "guilty' ahahahah
 
I don't like how he blames Obama for everything. It's like he thinks we're in a dictatorship.
 
@henrymb67 The license plate of the car he doesn't have anymore... :)
 
@henrymb67 Just something completely different: Have you ever than once considered to answer a question on SO? What does stop you from that? I mean it's great to learn a bit.
 
@PeeHaa hahaha yup
 
@SomeKittens Well, I don't think that Kimble has a materialized view of reality. So it's not surprising at all.
 
12:38 AM
@hakre I'm not good enough
 
@henrymb67 You can get better quickly by answering others questions. Just pick one a day or so in an area you're interested in.
 
@hakre tomorrow a day of answering php section. time to give back
 
@henrymb67 Take care, there are really bad questions. The first lesson is to spot good questions in the php tag.
 
@hakre how do you find them?
 
@henrymb67 Start with the featured section or some tag next to php. If a question has only the php tag, most often it's just crap.
 
@SomeKittens Ɲ̴ȳ̳ TH̘Ë͖́̉ ͠P̯͍̭O̚​N̐Y̡ H̸̡̪̯ͨ͊̽̅̾̎Ȩ̬̩̾͛ͪ̈́̀́͘ ̶̧̨̱̹̭̯ͧ̾ͬC̷̙̲̝͖ͭ̏ͥͮ͟Oͮ͏̮̪̝͍M̲̖͊̒ͪͩͬ̚̚͜Ȇ̴̟̟͙̞ͩ͌͝S̨̥̫͎̭ͯ̿̔̀ͅ
 
@henrymb67 Also if the question has some upvotes. That normally says there is some interest in it.
 
@DaveRandom How. Did. You. Do. That?! :O
 
@henrymb67 Copy pasta from here: stackoverflow.com/questions/1732348/…
 
@hakre or it means the question is so trivial that a beginner understood it and upvoted it (this is why some bad questions have upvotes too)
 
12:47 AM
@hakre Thank you. So basically this will not only help me learn but it will help the people asking the questions :D yay
 
@Jocelyn Sure, one or two upvotes don't count much. But you can take a look into unanswered questions that are some days older and skim through the list if there is something interesting in there.
That does work good, too. New questions are either answered right away or get drowned in the PHP tag.
 
@Jocelyn The first questions review list also encourages upvotes on bad questions
 
"Only" 78,752 unanswered questions in my tags...
@PeeHaa I really don't like this review list, I don't use it
 
later @DaveRandom
 
12:51 AM
good night @DaveRandom
 
@DaveRandom gn8y.
 
In 8mn it will be 2am again for me
 
@DaveRandom Nice
 
@Jocelyn yes, that's how time goes by and by ;)
 
...? "Unanswered" subsection has mostly answered questions in my tags...
 
12:59 AM
@SomeKittens URL please
 
@hakre This night it is special, our clocks are going to show "2am" twice since we are switching to winter time until next spring
 
@Jocelyn not only for you my dear ;)
Same happens here too, right now or soon. We share the same timezone.
 
1:01 AM
many countries in western Europe and elsewhere too
 
user1125394
@Jocelyn o shit this is now?
 
my clock is showing 2:05 again now
 
user1125394
yep ubuntu clock worked
 
@SomeKittens now that is cool.
 
1:07 AM
huh?
 
@PeeHaa it was closed in barely 2 minutes
 
(I figured it out, no upvoted answers. Still, misleading)
 
@SomeKittens I would prefer to see only questions that have no answer at all, instead
 
1:21 AM
gn8 from me, too.
 
night @hakre
 
good night too, it's getting late (or early!)
 
2:27 AM
hiya
I'm trying to install cake php. When I access the install folder, the browser takes me to the 404 page. Any help?
 
cakephp is a framework
there is no "installation"
 
2:44 AM
sorry. What I meant is I can't access the cake folder
www.mysite.com/cake
@tereško
 
madisonavenueapps.com/sync
madisonavenueapps.com/welcome
has anyone done this before?
on the one template it's it's the fixed header need to implement the rest of the sync
I need to modify the modules template .CSS correct?
 
3:38 AM
@Sidath , if you are new to PHP , please stay away from frameworks
 
accepted
 
 
3 hours later…
6:59 AM
morning ....
 
 
2 hours later…
9:31 AM
hi
is there any working class to read and write DBF files without dbf extension? PHPXBase doesn't work, I can't figure it out
I guess it's made for older PHP versions because the last release is from 2006
 
@UchihaObito why not rename the file to .dbt and rename back to original after you are done?
 
9:48 AM
@goldenparrot hmm, Ok. I'll try it
@goldenparrot and how do I modify .dbt file?
 
@UchihaObito tried this?
 
10:09 AM
morning
I want to learn zend framework where should i start ? if any one have a good link or tutorial please suggest me ..
 
user1125394
 
user1125394
take gordon"s link he's an expert
 
@Gordon thank you...
@cyril yaa he is
 
user1125394
Zend Framework (ZF) is an open source, object-oriented web application framework implemented in PHP 5 and licensed under the New BSD License. Licensing Zend Framework is licensed under the Open Source Initiative (OSI)-approved New BSD License, and all code contributors must sign a Contributor License Agreement (CLA) based on the Apache Software Foundation’s CLA. The licensing and contribution policies were established to prevent intellectual property issues for commercial ZF users, according to Zend's Andi Gutmans. Sponsor and partners Zend Technologies, co-founded by PHP core contribut...
 
10:21 AM
Yo
// this php code //
<?php

$position = $hours = $overtime = $sunday = $saturday = $Wekened = 0;
if (isset($_GET['post']) && isset($_GET['hours']) && isset($_GET['overtime'])) && isset($_GET['Sunday']))  && isset($_GET['Saturday']))  && isset($_GET['weekend']))
{
  $post = $_GET['post'];
  $hours = $_GET['hours'];
  if (!is_text($post)) || (!is_numeric(hours)) || (!is_numeric($overtime)) || (!is_numeric($saturday)) || (!is_numeric($sunday)) || (!is_numeric($weekend))
  {
    $res = NULL;
  }
  else
This is probably the worst PHP/HTML code I've ever seen.
Not a single f**k was given that day.
 
hello
@Gordon: stackoverflow.com/questions/12769982/… and stackoverflow.com/questions/3737139/… are in the CV backlog...Is it possible to exclude them?
 
@Jocelyn no. once in, I cannot remove them.
I could write a whitelist though
 
10:36 AM
they are going to stay forever then (unless 5 people vote to close them)?
 
maybe when I have time today
@Jocelyn yes
i wonder who put them in
 
/me switched from ZuneSoftware to AIMP3 mplayer
let's see if it can hold up
 
stackoverflow.com/questions/13108057/… There was a canonical dupe for this one. Anyone care to find it?
 
morning, btw
 
@tereško Morning
 
10:38 AM
@Gordon I think it dates back from the day the debugging reference was started. It generated tons of comments and even a discussion on meta
 
what players are you using for your completely legal mp3/ogg/flac collection ?
 
@Jocelyn hmm. the only way for them to show up in the cvbacklog is when someone announces them in here with a . the backlog crawls the chat transcript for those.
@tereško 10 years ago: winamp. switched to wmp then because it shipped with windows. lately im using spotify
 
@Gordon how far back does the script crawl the chat transcript to find unclosed cv-pls? If I posted a cv-pls 3 months ago and it is still not closed, would your script display that link?
 
but the SE.API will raise throttle violations so it wont contain all the Qs from the 25 pages
 
well .. IMHO, the skinability of WMP is insufficient
 
10:49 AM
@tereško I honestly don't give a s**t about skinnability. I want playability and speed.
I'm using VLC.
It's the most comfortable to use, and fastest to load.
Looks like crap, but like I said, I don't care.
 
@tereško I used to care about skinability when I still used WinAMP. But not anymore. Spotify is just perfect for me because it gives me most of the music I want to hear without me having to look for torrents and stuff. I'm even paying 5€ bucks a month for it. It's the solution I was looking for all these years.
 
@Gordon Not yet available in my country :(
 
@Gordon , well .. Spotify's interface looks quite well on it's own
that was one of the reasons why is stuck with ZuneSoftware so long
@Gordon how extensive is the library ? ( is assume that 5euro is the subscription fee)
 
11:06 AM
@tereško i dont know the exact number, but it's supposedly 14 million tracks plus. They offer free ad-sponsored listening and two paid models.
 
ok .. let's make a test - band: Tesseract, album: Perspective, release year:2012
 
it's an EP
 
(because i had trouble finding it in torrents yesterday and ended up searching in rapidshare)
 
5 tracks
available
 
hmm .. correct
i'm a bit surprised even
 
11:09 AM
they have Renew, Liquid Box, Perspective, Nocturne, Expansion, Concealing Fate and One
 
i dont know the full discography , stumbled upon that band yesterday , haven't event listened yet (few tracks on youtube seemed promising)
 
@tereško that's the beauty of Spotify. I used to read the reviews at a german online magazine and then listen to those bands at youtube. But Spotify has an internal app for that magazine so now I can read the reviews inside Spotify and immediately listen to the full albums of the bands.
Only thing I didnt like about Spotify was that you have to sign up with FB. They changed that in Germany though, so I could register without. But then I connected it anyway for the social experience.
 
11:42 AM
How does a LiveEdit work?
How does it know which pages are being updated?
Even if I don't edit the page directly (for instance, I edit a CSS file), or even more complexly, I removed a table from the database and the PHPMyAdmin page updated automatically.
Anyone knows how the insides of it work?
 
11:56 AM
1
Q: PHP $var = time(); changes value over time, why?

mickulaI've got short piece of code $time = time(); while(true) { for($i =0; $i<4; $i++) echo $time.","; sleep(120); $time = time(); echo "\n"; } And it works as expected, displaying: 1351422771, 1351422771, 1351422771, 1351422771 but after a few iterations it d...

Very interesting question
Can anyone reproduce?
 
@MadaraUchiha 3v4l.org/YqDuR
 
12:08 PM
good morning and a happy new wintertime everybody
 
@hakre Morning
 
@MadaraUchiha That question is not interesting but very bad made. It's probably a hoax, too. Don't trust any user input in questions ;)
@PeeHaa good morning.
 
12:24 PM
 
12:36 PM
@webarto this was sad
 
@hakre morning .. you too
 
@NullPointer good morning :)
 
Good morgen.
 
^ sadly this is closer to "modern german" then you would expect
 
Sad day indeed.
Grüß Gott in Austria is a hello if I'm not mistaken.
 
user1125394
1:00 PM
add / show 42 more comments <- stackoverflow.com/questions/13108456/…
 
1:12 PM
@cyril delv
 
user1780730
hello everyone..
 
@GhanshyamKatariya hello
 
1
Q: Does editing an post adds you to the "highlighted on @ping" list?

Madara UchihaI've noticed this a couple of times, but am still not sure about it. Let's say I've edited a post. Does that mean that when someone mentions @MadaraUchiha on the comments I would be notified? I'm asking because on two recent edits on my answers, the editors replied very quickly when I @highligh...

 
1:28 PM
it should go for actually
the "question" keeps on changing
 
@hakre Do you figure you can answer it?
 
@MadaraUchiha Not yet, but you made me now curious and also the OP is not particularly willing but finally responsive.
 
/me seconds @tereško
 
1:43 PM
hi
 
@Shruti hi
 
aaye haaye ...
 
@PeeHaa @Tarun Is Anyone wrking today?
 
LOL
What is the matter of importance we shall discuss today on this fine cloudy Sunday afternoon?
 
@webarto Its Evening in India
 
1:48 PM
@webarto its cold, but sunny and the sky is blue and no clouds whatsoever
 
@Gordon Meaning it will freeze again tonight :(
@Shruti No I am not luckily :)
 
Lucky you :)
 
@webarto your place sucks
 
@PeeHaa :) okie.. U r frm?
 
I know, right
 
1:51 PM
@Shruti Netherlands
 
@Shruti abbrv wrds mk u lk dmb
 
@shruti this website does not let me do any sort of work saavn.com/s/#!/play/featured/hindi
 
@Gordon en-IN
 
@Tarun :)
@PeeHaa Ok..
 
Suggestions?
 
Take a warm coat with you? ;)
 
Good one! :)
 
@webarto Not enough jQuery.
@tereško (another) question about routing
I've implemented another, but I'm still struggling to understand the one you've exposed to me
Let's say I have the following notation: :controller/:page/:action (I know it doesn't make sense)
How do you decide from this notation which is the resource, which is the action, and which is the parameter?
 
@MadaraUchiha Is that going to be the uri?
 
2:07 PM
Do you have to tightly couple ":controller" and ":action"? Or am I missing something obvious?
@PeeHaa Yes, /blog/howdy/edit for instance
 
Depends on your situation, but me personally always like to keep my uris flexible and do some mapping underneath. Might be just me though
 
@PeeHaa How so?
 
@MadaraUchiha , from your notation it looks like all 3 parameters are mandatory
 
@tereško Correct
But one should be the controller, one the action, and one the parameter passed into that action
 
you already defined that first is controller , there some arbitrary "page" and then action
where is the problem ?
 
2:11 PM
Because I really don't care what the URLs are going to look like :-) @MadaraUchiha
 
@tereško That's what I'm asking, do I need to tightly couple ":controller" to the resource name and ":action" to the action name?
What if I wanted to call it ":resource"?
What if I wanted to call it ":foobar"?
 
/me feels confused
 
@tereško Same notation, different names.
:foo/:bar/:lol
I want :foo to be my resource name, how do I designate that in the Route?
 
when the rout is matched and values extracted , you look for few predefined named parameters
 
/me thinks we should rewrite CVBacklog and separate the writing part and the reading part. and we should add a database of some sort.
 
2:14 PM
@tereško So you do predefine them
 
user1125394
@MadaraUchiha $resourceName = explode('/', $uri)[0]
 
@Gordon I don't follow?
@cyril Not exactly. We're discussing routing.
 
@MadaraUchiha has nothing to do with your resources in case you thought that. im just thinking out loud
 
@Gordon I know, I still don't follow, what do you mean? :P
 
user1125394
@MadaraUchiha you route from the uri requested?
 
2:16 PM
@MadaraUchiha It's a router you can name it whatever you want
 
@PeeHaa But the question is, do I need to hardcode the values in the first place?
 
@MadaraUchiha , i have predefined values , because want to have getAction() and getResource() methods
 
@MadaraUchiha what I mean is, that filling the backlog should be a separate part of the application. and displaying it another. right now, it will scrape when you display. so what i'd like to have is a cron continuously fetching cv-pls and updating against the API. and a frontend for looking at it that pulls from our database then. and not the SE.API.
 
they are tied to specific values
 
@MadaraUchiha Like I said. My personal preference is that I do not do a 1:1 mapping url -> controller/action. I like to keep my url flexible. So I do a mapping.
 
2:18 PM
@Gordon Oh, I see.
 
you could as well just use $controllerName = $request->getParam( 'foo' );, but it will get confusing
 
@tereško Alright, that clears it up. Thanks :)
 
actually , now when i think about it , this actually might be better then using $request->getControllerName()
makes for cleaner API and more flexible routing
 
user1125394
personally I've actions in the query string rather, by default it's a read (GET) on /resource/subresource/, but can be /resource/subresource/?action=delete, /resource/subresource/?action=create don't know if it's a good idea
 
@cyril you clearly are at least 6 month too early for this topic
 
user1125394
2:23 PM
ok let me fetch the chat transcript :)
 
user1125394
but mixing actions in uri, etc... like mixing apple/oranges
 
query string is also part of uri
 
user1125394
@tereško thx
 
stackoverflow.com/questions/13109263/what-was-mvc-invented-for (and flag for moving to programmers.stackexchange)
 
Hey guys
this was wrongly closed as a dupe
I don't think it'll ever get a more detailed answer (and it's arguably too localized), but it isn't a dupe of that question.
 
we can reopen it and then close as "localized" =P
 
Yeah :)
I just had an idea for a really nasty userscript
 
2:40 PM
@Pekka I like it nasty. Shoot :)
 
One that automatically posts a xyz-pls message in here when you vote to close a question
 
That would be so evil
But cool
If used in the right hands
i.e. ours
Bwhahahahahaha!
 
@Pekka I might just use that idea :)
 
@PeeHaa cool, let us know if you do! I'm not completely sure about the implementation details, but it should be possible... there shouldn't even be cross-domain problems, seeing as chat is on a subdomain of so.com.
 
2:43 PM
@jhonraymos please do not ask for downvotes.
4
 
@Gordon ohh sry again my mistake it's
 
@Pekka I have already played with it for the chrome plugin and with that it is possible to access tabs. So it should be possible indeed
@jhonraymos downloadvote? ;)
 
@jhonraymos lol...
 
@NullPointer it was mistake..
 
@Gordon If you are going to take care of the backlog again would it be a lot of work to also track other rooms and have separate backlogs?
 
2:47 PM
if you think that answer is bad , use tag instead
 
@PeeHaa that should be trivial to add. the main question would be if anyone is using the backlog at all
 
@Gordon I've seen it a couple of times in the JS room and I would like to be able to add that to the roomdescription too. I was thinking about letting users choose rooms they want to follow from the plugin.
Might be the only one though which makes it not really worth it :D
 
@PeeHaa would it be interesting to have an API for the cv-pls plugin to push cvs directly to the backlog?
 
@Gordon It would at least prevent the throttling issues
 
3:16 PM
Mornings.
 
@draconis very good morning
 
@PeeHaa: Here
I am :D
 
@yes123 Welcome :)
 
Thanks
 
Do you have a link to your lib hosted somewhere?
 
I have developed it like 5 min ago, I have just published it on pastebin: pastebin.com/Vq6CWDGd
 
3:55 PM
Why do you have all those public properties?
 
I will add an optional argument to constructor for setting baseInclusionPath.
 
How can I say: run this method from this class when adding a route?
 
@yes123 in PHP5 there is __construct() method ... then again, this is relatively new feature .. available only since summer of 2004th
 
Ow didn't even notice the "constructor". Mainly because it has a different name :P
 
__construct now: pastebin.com/gzJRHJwb
 
3:59 PM
//> Or you can require custom file like this
 ->add( '(myCustomPage)' , '/controllers/myCustomPath/myPage.php' )
^ what is being executed when that route is matched?
 

« first day (743 days earlier)      last day (4220 days later) »