« first day (747 days earlier)      last day (4194 days later) » 

user50049
3:00 PM
It's your job to figure out how to do that, it's our job to help you if you get stuck on a problem that can be illustrated with code you're working on.
 
Damn you Timothy, I have to curb my trolling while you're here. I'd have been all over that last one.
 
@TimPost but I wanted to get a clue about the starting point.
 
user50049
@TahirYasin The starting point is .. find out what code displays that form and work from there.
 
@TimPost that is obvious
 
@TahirYasin is that CRM you looking at an opensource thing ? Or is the source code at least available to you ?
 
user50049
3:04 PM
@TahirYasin If it's obvious .. then .. umm ...
 
user50049
@tereško vtiger is open source
 
@TimPost hahah
 
well .. in that case "where to start" answer is simple, @TahirYasin, read the source. And if something in that source confuses you, link to the offending part and ask a specific question about it
 
thank you guys
I was feeling a little bit lazy and trying to find a more narrow down answer
 
"press this button to download all the skillz"
Matrix was not a documentary .. ya know
 
3:08 PM
i wish some one tell me go to that file and update it that way :)
 
user50049
@TahirYasin The one time I looked at it (a while ago), it was ... a mess. So you will probably want a lot of coffee.
 
@TimPost but i need a person who already taken a lot of coffee hahahaha
 
user50049
Unfortunately, you can't brew people.
 
says you
 
user50049
Go on now, put on your safety goggles and dive into that ... umm .. well you know, that.
 
3:10 PM
@TimPost well that is my daily practice and all coders do that
@TimPost but today I met you :d
@TimPost I mean I tried to go for a shortcut
anyway thanks to all
 
user50049
I think you've had enough coffee. Good luck man :)
 
youtube.com/watch?v=HEeoI2qHObk new background music for my video presentations...
 
@TimPost hahaha true
 
user50049
O_o
 
@TimPost bye
 
user50049
3:13 PM
I have got to fix a namespace conflict. The doorbell I just bought sounds just like the chat ding. You can imagine.
 
@hakre heya ;-)
 
@TimPost tell me one thing plz

Can I get rid of some badge?
 
user50049
@TahirYasin No.
 
@TimPost so what's the secret to avoid bad badges?
 
3:16 PM
@TahirYasin It's obvious: good behavior.
 
Please someone take a look to my question : chat.stackoverflow.com/transcript/message/6050230#6050230
 
user50049
Please for the love of ... just spell out p l e a s e, it's only three more keystrokes.
 
@LeviMorrison ok thanks bye
 
kthxbai
 
@TimPost You have forgotten our beloved Goddesses.
 
user50049
3:19 PM
@hakre fixed
 
@draconis I think oembed has been created to make that more simple: oembed.com
@TimPost Isn't that still singular? Or let me check the dictionary first... ;)
@TimPost lol.
 
@hakre Thanks a lot.
 
@draconis you're welcome.
 
3:36 PM
....lmgtfy is "offensive"?
Wow, I hope no one ever does anything that might hurt a noob's feelings!
Especially in this room!
 
can anyone suggest something to one who is preparing for ZCE PHP5.3?
 
@Positive Practice tests.
 
TEST IS A LIE
 
(I haven't taken ZCE, but I've done a lot of other certs)
Practice tests are the best way to prepare.
 
0
Q: How to place a phar file inside a phar file?

hakreI'd like to place a phar file inside a phar file. I tried it most straight forward: $p = new Phar('test.phar', null, 'self.phar'); $p->setStub('<?php Phar::mapPhar(); include \'phar://self.phar/index.php\'; __HALT_COMPILER(); ?>'); $p['index.php'] = '<?php echo "hello world\n";'; $p...

 
3:40 PM
Does anyone know what the code format button seems to be left justifying everything?
sorry, not "what", but "why"
 
hmm, I don't have that issue. Probably it's not the button but the code?
 
@dnagirl Protip: You can edit your chat message by hovering over it, clicking the triangle in the box, and then clicking edit
 
Press ^ button to edit...
 
user50049
@dnagirl Do you have an example?
 
$foo=0;
if($blah){
//do stuff
echo $foo;
}
 
user50049
3:42 PM
@dnagirl Paste that again, hit ctrl-a then ctrl-k
 
$foo=0;
if($blah){
    //do stuff
    echo $foo;
}
 
$foo=0;
if($blah){
//do stuff
echo $foo;
}
 
@SomeKittens: From where I do get those practice test do you have any links resources. That it will be a great help
 
@Positive Not offhand. You can probably find that sort of thing on Google. Most likely, you'll have to pay for them.
OHNOES I RECOMMENDED GOOGLING SOMETHING! BAN ME!
 
user50049
@dnagirl Just highlight the code, hit ctrl-k and it will auto indent four spaces to the right, which markdown will process as code
 
3:43 PM

Sandbox

Where you can play with regular chat features (except flagging...
 
weird, it shows up left justified on chat too. But if I try to edit it, the edit screen shows the proper spacing.
When did we have to start using ctrl-k? I don't mind, but I've never had to do it before.
 
@dnagirl On chat if any line (including empty leading/trailing ones) is not indented it causes the <pre> type formatting not to work.
 
user50049
@dnagirl Well, you don't, it's just convenient to indent large blocks. Anything predicated with four spaces will format as code, as will anything encased in backticks.
 
@dnagirl I think you can just click the fixed-font button, too.
 
3:45 PM
At least 100 years ago...
 
user50049
this is code, as it was indented four spaces.
 
user50049
this is code because it's surrounded by backticks
 
...but backticks only work inline, as soon as you add a line break all markdown apart from indent is ignored, and indenting only works if every line has at least 4 spaces
 
That's my point. I know how to use backticks, or the code button, or 4 spaces. My example code has 4 spaces before the $foo and 8 spaces before the echo $foo;. So why doesn't echo $foo; show as more indented than its containing block?
 
user50049
@DaveRandom If you highlight and hit ctrl-k, four spaces are added to every line :)
 
3:47 PM
$foo=0;
if($blah){
    //do stuff
    echo $foo;
}
Didn't even need to highlight.
 
5 mins ago, by DaveRandom
$foo=0;
if($blah){
    //do stuff
    echo $foo;
}
 
$foo=0;
if($blah){
    //do stuff
    echo $foo;
}
 
user50049
@dnagirl The predicating spaces are not shown.
 
user50049
There, you got it.
 
I will go find an example in situ in a question.
 
3:50 PM
 
user1125394
o shit I've switched to mobile view how do I get back :D
 
@webarto: I know how to use the formatting. I've been doing so successfully for some years on the boards (not in chat where I don't usually come). In the last 2 or so days, the code button has not been maintaining indents for me. I haven't suddenly forgotten how to use it, so I'm wondering what changed.
 
user50049
@dnagirl Nothing changed in markdown parsing on the main sites or in chat, afaik
 
user1125394
meh need to clean cookies now
 
Browser? CTRL + F5? Aliens?
 
user50049
3:55 PM
@dnagirl Are you per chance using a nightly build or beta version of a browser?
 
user1125394
someone click the last bottom-right button
 
@cyril Click "Menu" at the bottom left of mobile view, then click "full site" on the popup menu to get the normal view back
 
$('button:last-child').trigger('click');
 
here's a screen capture using the code button: i.imgur.com/BdkHT.png
 
@dnagirl Browser/version?
 
3:59 PM
That never worked for me.
 
user1125394
@DaveRandom indeed
 
@dnagirl okay, check that you use spaces not tabs for those two lines in the middle or the other lines.
tabs map to 8 spaces on SO, the code-indent is 4 spaces. (or something like that)
 
@hakre Good call
 
@TimPost: ie9.0
@hakre: no tabs in my screen cap. Just spaces.
 
@dnagirl Use a better browser then (non-IE)
 
4:00 PM
Needs moar tabs.
 
@dnagirl can you put the code on a pastebin? So I can give it a try?
 
@DaveRandom: I use FF too. Will check if I can reproduce there.
 
^^ IE9
 
@hakre: pastebin.com/qivqdX9h is as I typed it into SO before I highlighted it and hit the code button (ie before the 4 spaces for formatting are added).
 
Seems legit.
 
4:05 PM
not unexpectedly, FF works fine.
 
Might be an internet explorer issue. I wonder this went unnoticed, doesn't Stackoverflow test with IE?
 
Maybe there is a bug-report on meta about it?
 
user50049
@dnagirl IE9 is a supported browser, Probably worth a bug report on Meta
 
@hakre Well, MS technology drives this website, why it shouldn't be tested, right...
 
4:07 PM
@hakre: you're probaby right about IE being the issue. I couldn't find anything on meta. But I don't spend a lot of time there and I may have been looking in the wrong place. Where does one make reports?
 
You first need to should reproduce on several machines.
 
@dnagirl well we should probably double check that before posting on meta because @DaveRandom just wrote it works for him.
 
user50049
@dnagirl Explain the issue in a question on meta, tag it as bug and support, but note that it's specific to IE9
 
user50049
@hakre It may in fact be too localized, but it's worth having a dev examine.
 
It could be that when pasting on pastebin.com the problem goes away because some whitespace gets transformed.
 
4:08 PM
@TimPost: Thanks. Will do. BTW, I don't have "Compatibility View" on. That may make a difference.
@hakre: I didn't paste to pastebin. I typed. Just like I typed into SO.
 
user50049
@dnagirl Yeah, that's just .. weird.
 
yep, if I turn on "Compatibility View" the code format button functions properly again. Wish I'd thought of that earlier.
 
Compatible with what, every other decent browser? Or IE6...
 
Oct 29 at 12:08, by DaveRandom
@MadaraUchiha I love !important, it looks like it means "not important". It's like saying "do it if you want, I like guessing" - or in other words "behave like IE"
 
@webarto: you'll get no argument from me that IE sucks. But it's what my clients use. So it's what I develop on. It's easier to deal with IE suckage first and then adjust for better behaviour after. "Compatibility View" refers to compatible with older IE versions. Which probably means that the current SO version was tested on an older IE version.
 
4:15 PM
@webarto Policy: If MS doesn't support it. Neither do I.
 
I often have no problems with IE (latest), because I use pretty standard stuff, but if it is "for a client", OK then...
 
I am becoming less and less enamored with Firefox by the minute. Its extension platform is so unbelievably, insanely complicated the my brain is swiftly turning into grey-matter soup.
 
@TimPost I once had some problem in opera. It was entering non-breaking spaces or something. Weird, really weird.
@DaveRandom May the force of the fox be with you, luke.
 
I've made my bug report here: meta.stackoverflow.com/questions/153321/… if anyone want to add to it.
 
@DaveRandom I stopped using it when they did the integrated firebug thing (that looks terrible and is hard to use)
 
4:31 PM
@dnagirl check if it was in fact On, and not off, our mate @Dave showed it worked OK.
 
What a lovely bunch of code crap.
 
@tereško I like how there's three duplicate "possible duplicate" comments. Probably still not enough
 
@Leigh Chrome dev console is better than Firebug anyway. IMHO. Please note: The views expressed in this message do not represent the views of any person, corporate entity or animal, including the person who posted the message. Your mileage may vary from the figures shown. The voices you hear are actors. Please don't kill me.
 
KILL
How to get HTTP Response Body in Chrome?
 
user895378
4:35 PM
@webarto View Source?
 
@webarto Go to network tab, select the request, click the "response" tab
 
@DaveRandom , i prefer operas console .. the dark theme seems much prettier
 
"No response body" message, only headers, request is made from Flash... @rdlowrey I know that much :P
 
@webarto So the response had a zero length body then, presumably
 
user895378
@webarto hehe I figured you did :)
 
4:37 PM
...or maybe binary data. You can check the preview tab instead
 
Tested with curl -i and 'curl --head` etc. Just a sec.
 
@webarto: the icon was grey (off). Then blue (on), which fixed it. Then I turned it grey again and it remained fixed. I'm beginning to understand why this issue wasn't caught during testing.
 
@webarto What about the preview tab?
 
@DaveRandom Same Dave mate, no preview available.
 
4:41 PM
@webarto Hang on let me test something
 
This works fine in FF when you turn ON log request and responses... I've enabled that too on Chrome (log XHR that is).
@dnagirl Could be, good luck.
 
@igorw Does Black Mesa know you're here chatting when there's science to be done?!
 
rad
Question: What PHP editor is the best if we had to search a string across the whole website?
 
grep
 
user1125394
@hakre I have some dictionaries like that, lang/en_EN.utf8/LC_MESSAGES/messages.mo, lang/it_IT.utf8/LC_MESSAGES/messages.mo , php doc is weak, how can I use dcgettext('lang/it_IT.utf8/LC_MESSAGES/messages', "About", LC_ALL); <- not working
 
4:50 PM
grep isn't really an editor... now sed ...
 
sed off, fsck this, anyone for a coffee?
 
(f)awk you!
 
@cyril I think dcgettext does only half of the job if this is related to your SO question (IIRC you asked a question about that, right?)
 
@Leigh LIKE I DON'T GET IT
wgot me some coffee.
 
@webarto grep.. sed.. awk... you don't get it? :(
 
4:54 PM
ಠ_ಠ
I don't understand how can editor search for a string in a file that is not opened... I mean, why it should...
 
user1125394
@hakre yes stackoverflow.com/questions/12975499/… so I can't use dcgettext with a dictionnary in directories /lang/<lang>/LC_MESSAGES/messages.po ?
 
@DaveRandom ahh, nice to see you're still here .. bbc.co.uk/news/uk-england-20172392
 
Gotta love English humor.
 
@cyril Maybe make this clear: stackoverflow.com/questions/12975499/…
 
@Leigh That guy is a genius, plain and simple.
 
user1125394
 
@DaveRandom Every time I see some derp about the Manc area, I just associate it with you now
 
user50049
@tereško Killed
 
in JavaScript, 2 mins ago, by benlevywebdesign
after taking a look at this http://benlevywebdesign.com/wordpress/ Do you like the background image or which http://subtlepatterns.com/ would you recommend?
in JavaScript, 1 min ago, by benlevywebdesign
I was thinking http://subtlepatterns.com/whitey/ but it looks to flat
 
5:10 PM
hire a designer
 
^
I've made websites like this 10 years ago... Only better.
 
user50049
@webarto Geocities FTW!
 
I'm getting a 500 error when trying to build an excel file. If I output anything on screen outside of the document, I don't get the error, but I also don't get the document to create.
 
I'll try to find a collection of websites that look like this (and better), and post it to you, seriously.
 
5:14 PM
@Stephane , is error reporting enabled (in php.ini) ?
 
@webarto are you talking to me because my wp theme is not done yet
 
@benlevywebdesign Yes, to you. Ok, not done, but you can see the way it is going.
@TimPost I even barely had 56k then, yet alone web host, so yes :P
 
@tereško thanks, you just helped me find the error log... I'll look there first
 
user50049
@benlevywebdesign That looks like a PHPNuke site from the mid 90's .. I know that honesty without compassion is brutality, but for the love of Zod don't launch that as something to bring you business.
 
user50049
5:16 PM
Retro can be cool if it looks deliberate, though
 
@cyril stackoverflow.com/a/13182214/367456 - maybe it helps a bit ;)
 
@TimPost at least it's not webtekrocks.com/clientlist.html PSA: DO NOT CLICK THIS LINK
(warning : epileptics , keep away)
 
@tereško funny the log file in phpinfo doesn't exist. I made the directory, but triggering the error doesn't cause the error document to be created. I'm going to touch filename and see if I can get it to output.
 
user50049
@tereško MY EYES!
 
@benlevywebdesign Is it OK to use your patterns in commercial projects? Yes it is. ... Can I sell your patterns in my texture pack? No, absolutely not. The patterns are free to use and download, but you are not allowed to re-sell the patterns and make money off other peoples work. - so what now?
 
5:20 PM
webking.com anyone remember this one?
 
user50049
Thankfully, I use Acme trainwreck eyewash. Have you visited a site that made you puke? Try Acme, the soreness goes away faster than your browser closed. Guaranteed!
 
Guy got high rankings because it is the worst website, and then he sold the domain.
 
@tereško it says output started at line 10, but all I have on line 10 is a commented out line.
 
@webarto Its going to look something like this when done.
 
user50049
Sorry, you can't top this DO NOT CLICK IF YOU SUFFER FROM SEIZURES
 
5:25 PM
;D
 
@webarto What do you like...
 
@benlevywebdesign Don't know what to say, honestly... I'm not a designer.
 
can someone please moderate this chatroom and remove all this disturbing stuff that is totally unrelated to PHP - pls kthx pls
 
@TimPost What do you like
 
@hakre we can't have some fun, or... ?
 
5:27 PM
What does "Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request." Searching for an answer, but not getting it.
 
@webarto Its a theme for a blog, supposed to be making it so that anyone can use it if they want
 
user50049
@Stephane It means you need to define a page that Apache will show in the case of a 404
 
@TimPost ah, that makes sense.
 
do you like this
 
5:29 PM
No, I don't like it.
 
why not
 
because it is horrible
 
I don't know, because can like and dislike something...
 
what is horrible about it
I'm open to honest suggestions I may consider them because I am not a blogger so It was kind of hard to design the theme
 
question if i used jquery .off, will that revert the actions made my .on?
 
5:35 PM
@JoeySalacHipolito , i have never hear of such PHP project
 
sorry, wrong room ..
 
@tereško Maybe it is some new framework...
 
no suggestions or comments
 
there will be , but i need to upload 420MB file for that
 
How do you style links in wordpress?
I can't seem to do it
 
5:46 PM
with css
 
Yeah but wordpress creates some styles and it overrides mine
never mind I got it
 
user1125394
@hakre thx accepting another solution for the moment, your link glotpress.trac.wordpress.org/wiki seems hard to implement for me
 
user1125394
 
woo....completed level 1 of win8 challenge...free shirt here i come
 
How to turn computer off?
 
5:52 PM
@webarto Press the 'power' button!
 
I don't think that works by default :P
 
Or, you can use jQuery: $.computerOff();
 
shutdown -t 00 -f worked :P
 
user1125394
@hakre glotpress.trac.wordpress.org/browser/trunk/pomo sems what I want with the translate function just have to find out how to use it now, there's no doc!
 
6:06 PM
if you go to the bottom of benlevywebdesign.com/wordpress
how can I style the arrows to be links and not have the text because wordpress generates the text and I don't want it
 
Are you a designer?
 
user1125394
@benlevywebdesign with css
 
@tereško Have you came across Dishonored game?
 
Evening
 
morning @PeeHaa
 
6:10 PM
@Lusitanian Wow. Don't you have school? Normally I don't see you this early
 
I'm here sometimes in the early afternoon
it's 2:10 pm =p
 
That is early ;)
brb fooooooood
 
evening is relative :P
 
it's always morning
 
user1125394
isn't it holliday today
 
6:13 PM
@webarto i know of it , but i own a netbook
 
@cyril I tried that
 
@tereško Yes, my first thought was that it's a movie.
 
@webarto not that it's a good thing : youtube.com/watch?v=FRTsl1jCqq8 (also, if you are interested in game as form of media, it's a must-subscribe channel)
 
/me watching... interesting...
 
@PeeHaa did you downvote the question related to post,comment and voting system?
 
@tereško true, THANK YOU!
 
@webarto you're welcome =P
 
I just asked the question titled as "How to properly design post,comment and voting system in mysql" and instantaneously got 2 down votes and then i have to delete it :p
 
6:35 PM
@Tarun Didn't downvote (haven't seen it), but it sounds like a veeeeeeeeeeery broad canihaztehcodez question. And by the sounds of it I would have cleaned it up
 
I made the schema and was just asking the suggestion that if i could make it more optimize or better..
 
@Tarun , voting systems are something that, when researching on google , you query with "filetype:pdf site:.edu"
 
@Tarun asking suggestions are off topic in most cases
 
@tereško thanks for help as always :p,@PeeHaa ok i guess i am getting over dependent.
 
@Tarun , there should also be several lectures in youtube on that subject
 
user1125394
@tereško why not google scholar then
 
@tereško yeah there are but i did not ask for spoon feed
i stuck somewhere while designing the schema,thats why asked
 
@Tarun it's actually better to start with writing the API , and only then see what sort of DB design you need
design of schema should be pushed back as long as possible
 
6:47 PM
@Tarun Who cares where it is coming from
HAKRE!
 
@cyril the library can be used stand-alone. ignore the rest of the glotpress / wordpress. I just linked it because I know that it exists. And I think it's working ok.
@cyril this might be a helpful to shed some light how it is used: core.trac.wordpress.org/browser/trunk/wp-includes/l10n.php
@PeeHaa hellösi :)
 
i must have only one or two del-votes left
 
user1125394
6:59 PM
@hakre It seems there's a function that takes the word and domain as parameters (glotpress.trac.wordpress.org/browser/trunk/pomo/sample/app.php) , like dcgettext what does it add? what does it change from changing locale with setlocale
 
@cyril I think they wrote the library so that they re-invent the wheel and don't need gettext but have something that is like gettext but just not gettext.
 
lol
 
I would not wonder about so much why but just take a look if you can pick something from there that works for you. The lib should be independent to locale environment variables IIRC.
 
Hello
 
7:02 PM
Hello @Adam
 
Yo @Adam
 
user1125394
@hakre k but if it behaves like your first code snippet, I don't see the point
 
@cyril Which code snippet you mean? The code-snippet I did in the answer is unrelated to the pomo library.
 
That moment when you have to keep adding changes to a project and it doesn't become a beast Progress!
 
@Lusitanian: I've seen that ;)
 
7:04 PM
lol
 
user1125394
@hakre yes I know, it does natively the same than a 3rd party gettext
 
@cyril Well the pomo library has a reader for po and mo files. So you can actually fetch all you want just from the files. Which I think is what you were looking for, right?
 
7:18 PM
Do PHP conventions or meetings exists?
I see things like pycon and I wonder if there is something similar for this language.
 
Sweet.
 
In gear, enroute to #tnphp...
 
All I need is a DL to go to Canada right?
Or full passport?
 
user1125394
@hakre yes exactly but seeing the code I didn't find a translate($word, 'path/to/dict'), will try later thx anyway
 
7:22 PM
@Adam uhh i think they changed that, i've been using my passport to get to and from.
could be wrong though
 
user1125394
7:33 PM
how do you return to line in a git comment message?
 
@Adam you need a passport or one of those new passport cards.
 
I think I'm going to check out the Indianapolis one, it's moderately close.
 
7:49 PM
hmm ... guys, should one write unittests for autoloaders ?
 
@cyril It's something like instantiating the po or mo class, load the file and then access the data. Sorry I'm not of much help right now ;)
@tereško Don't laugh at me. I once did. Also for a library loader. I'd say it depends a bit how complicate it is. You might find the filesystem mock useful for that. stubbles.org/archives/101-vfsStream-1.1.0-released.html
 
i am actually thinking that i should
you saw that map-thing .. it's kinda asks for tests
 
@tereško Yes but it does not need a file-system for unit-tests.
 
true
that part has been abstracted
 

« first day (747 days earlier)      last day (4194 days later) »