« first day (861 days earlier)      last day (4105 days later) » 

12:00 PM
@DaveRandom pls convert [cv-pls] to thx
 
what a god awful color to use on your IDE O_o
 
it looked like something that i managed to make why messing with turbo pascal's editor (could you call it ide?)
 
12:04 PM
@tereško Why closing the last two?
 
because they are parse errors
 
they seem legit enough
 
they are RTFM questions , with RTFM answers
@Gordon , you should migrate this answer to some better question =/
 
hahaha wtf, i have to laugh but im really confused, i have this
<?php echo "$first_name's".$lang->get('profile'); ?>
and it echo's Profile Connor's i really dont understand. the variables are right aswell its just for some reason its outputting it backwards?
 
the amount of effort you have put into that one is extremely disproportional to the question itself
@ConnorMiles , most likely because the get() contains an echo
 
12:12 PM
@tereško whats the 1st one supposed to mean?
 
@tereško where to?
 
@teresko it should probably me migrated to code review
 
@ThiefMaster could stackoverflow.com/questions/5329664/… be migrated to CodeReview instead of just getting deleted?
 
too old to migrate
but I don't think it'll be deleted
 
hi all :)
 
12:26 PM
@ThiefMaster it has two delvotes already
 
oh no's out of votes =o(
 
it has a total score of 81
so it needs 7 votes
(and if it is deleted just flag it for undeletion, that question is NC but besides that nothing delete-worthy)
 
@VineeshKalarickal hello
 
@ThiefMaster since you are here now: I had some flags declined recently for reasons I cannot understand. Most of these flags have been for Not an answer / link only and I fail to see why, for instance, is anything more than a comment: stackoverflow.com/questions/56860/…. Could you have a look at them please?
 
hi
@crypticツ hi
 
12:30 PM
Has anyone used FuelPHP? I was considering it for a project I'm planning and was wondering if there are any gotchas that I should be aware of.
 
@Gordon: Yes it's link-only - but look at the score: It seems to be actually helpful to people. In that case deleting it would be contraproductive. Why not improve it instead by editing relevant information from the linked paper into the answer?
 
@ThiefMaster look at the score: stackoverflow.com/questions/161813/…
 
different mods making different decisions
 
@ThiefMaster the score is there because "omg omg , he linked to UnkleBob , omg"
mods should have a "transform into a comment" option
 
@ThiefMaster yeah, that's actually a HUGE problem. Mod decisions should be uniform if you want people to help you out on those flags. Also, despite the score and being helpful, it's still just a link only answer and we dont want these. If we keep those around, we discourage people to write actual answers. SO will become a link repo.
 
12:35 PM
We do have such an option @tereško
And as I said, all of you could improve that answer...
 
There is nothing to improve upon
it is a one-link-comment
 
@ThiefMaster but why should we? there is other answers already explaining LSP
 
With all the cv rings etc. in here you guys should know that truly crappy questions/answers are a problem on stack overflow - but this one? I doubt it actually hurts anyone.
 
@ThiefMaster it does hurt my readiness to provide quality answers and my willingness to flag because i can never know how mods react.
 
anyway .. i need to go to by some meat and potatoes
 
12:38 PM
I think you should take the discussion about that answer to Meta Stack Overflow..
 
182
Q: Are answers that just contain links elsewhere really "good answers"?

romandasI have often wondered at the practice on SO, SF, and the other sites where someone will ask a question and an answer will come in that says Look here: http://link elsewhere. Rarely will the link have exactly the answer necessary -- often it's an entire article -- yet these answers get voted up. ...

 
And flags on truly bad non-answers are going to be "helpful" in 99,99% of all cases anyway
 
@ThiefMaster i dont see why I should take this particular case to Meta when the aforementioned already clearly says we dont want link only answers.
 
Because another moderator already decided to keep it and I'm not going to override his decision?
So if you want to dispute it meta is the place to go...
 
@ThiefMaster out of curiosity, is that a new mod?
 
12:42 PM
no
 
you guys should really work out uniform policies
 
posted on February 23, 2013 by Stefan Koopmanschap

I love the PHP community. We have a very diverse group of people in our community. Men, women, straight, gay, white, black, yellow, red, vegetarians, vegans, democrats, republicans, labour, tory, zend framework users, symfony users, people who hate frameworks, people who would prefer to write most of their code in C and compile it to a PHP extension. And all these people come together at confer

 
1:20 PM
Given that link only answers are discouraged on StackOverflow, would you mind adding in a short summary of that article, either by quoting relevant parts or in your words? Right now your answer is basically just a comment. — Gordon 8 mins ago
 
1:40 PM
Does anyone know Composer?
 
hi, @Gordon Do you know Composer?
 
hi everyone have you tried to install go-pear.php before?
 
@NikiC yeah, I saw that. I think it's an over-reaction. A complete over-reaction. I'm not saying that it should have been done, but the response is ridiculous...
 
1:55 PM
this is long and I dont know yet whether I agree with it but it is interesting thought food: carlopescio.com/2012/07/…
@anna yes, I do but not enough to help you with it. sorry.
 
2:19 PM
@nikita2206 I've updated the benchmarks https://github.com/ircmaxell/php-ndata SPLFixedArray, speed wise is very close. But memory wise can't touch it...
with a memory limit of 128mb, array can fit just under 1,000,000 elements before out-of-memory errors...
with NArray on the same limit, it can fit 16,744,443 elements before out-of-memory
for integers
for booleans, array stays the same, but NArray jumps to a whopping 1,071,644,282 elements
 
@ircmaxell What's the reason it grows in powers of 2?
 
reducing the number of malloc calls...
 
kk
 
(memory allocations)
 
yep
 
2:30 PM
@ircmaxell did you see my idea the other day about hooking into the PHP boot process?
 
your idea?
 
morning btw :)
 
morning :-D
 
morning
 
I saw this one: t.co/UZEZiFB3my
 
2:32 PM
dudes do you know any cron job manager i can install with nginx?
somenthing cool if exists
can't find nothing out there
 
@donotusetabtodigitthisnick crontab -e?
 
@ircmaxell yeah, that's the one I meant.
thanks for the link
 
that's you?
 
@PeeHaa would like somenthing more ) a crud for cron obs will be really helpfull
*jobs
 
2:34 PM
Good morning/afternoon/evening, all. This is my first venture into chat on SO, so please bear with the newbie.
 
-e does crud operations
@DaveMorton Morning and welcome :)
 
I liked the idea. I thought about putting it in as a PECL extension a few months ago, but when I looked into it, copying the executor would be a literal nightmare
 
ok but you know ... when having too much cron jobs it's a hell :/
maybe somenthing via browser is better )
could be great some little cron job cms
 
@ircmaxell nah, but I suggested exactly the same thing yesterday. I wasn't aware of the prior art (although it doesn't surprise me)
 
Look into some of the control panels (and don't come complaining to me when you box gets hacked ;) )
 
2:36 PM
yeah, @NikiC and I discussed the concept a few months ago...
 
@PeeHaa Thanks for the welcome. Still getting accustomed to the place, so I've been lurking a bit.
 
although my approach would be more flexible, it would also be a lot harder
 
I notice that there are some rather... er... interesting topicss of conversation from time to time here. :)
 
basically pause at the first non-deterministic opcode (call to black-listed function, such as time(), access of a environmental variable, etc). Thereby even code that wasn't designed to work with it could still benefit...
 
@PeeHaa to me?
@PeeHaa ever tryed some of these kind of services? setcronjob.com
 
2:38 PM
hey @ircmaxell
 
what's the good word?
 
@DaveMorton Just make sure you don't get addicted or you will become like us ;)
 
@ircmaxell I always found "fraught" to be a good word. :P
 
@donotusetabtodigitthisnick No I would never ever use some external / web thing to manage cronjobs when I have CLI
 
do you think it's secure btw?
 
2:40 PM
@PeeHaa lol I'll endeavor to do my best to avoid that pitfall.
 
This is cool
 
Ok, folks. First newbie question: I've noticed that some folks would post some sort of link to a question that (I assume) they've asked on SO here in the chat. I'm not saying that I want to do the same right this second, but I ~DO~ want to know if that's an "acceptable practice".
 
@DaveMorton Posting a link to a question on SO is perfectly fine as long as it meets our room's topic or is intersting in some other way. As long as you don't spam :)
 
@PeeHaa Thanks. Of course, the next question would be "how", but that can wait for later. I only posted my question yesterday, and feel it would be rude to "shove it down everyone's throats" this early.
 
Is it the simplexml one?
 
2:49 PM
That's the one, yes. :)
 
Let me see whether I can make something of it
 
Thanks. I'm relatively new to actually "asking" for help on SO, though I've used the resource for a long while now to find answers.
 
Let me write a quick script. 1 sec
 
3
A: Get span #id inside the div

techfoobarYou forgot to include jQuery in your fiddle, other than that, what you've done is perfectly valid.

I'm still surprised why this gets upvotes.
 
Anyone using elasticsearch?
 
2:54 PM
Is this a growing trend to develop on jsfiddle or sth?
 
It gets better:
0
A: Get span #id inside the div

user1389596$(this)[0] will get you to the native dom node, as well.

 
/me is listening to R.E.M and Cranberries .. and feeling a bit old
 
At least one of those bands already split up, so I'd have to agree with you ;-)
 
and there's iterator support
 
3:12 PM
@ircmaxell eh?
 
@ircmaxell lousy support :P
 
well... I was thinking of doing it with a hander, but this allows polymorphic extension...
 
with the handler you can also get the polymorphic extension
just need to check for it ^^
 
fair enough
my plan is to get a lot of it working, then refactor it
 
3:15 PM
@ircmaxell What's a Nieve Native Array?
 
but Pull Requests Accepted
@Jack nieve meaning not a lot is currently implemented. So it's an array that just stores values natively
 
You mean naive?
Never heard of nieve. Now I do, it's a common misspelling apparently ;-)
 
what are you talking about, it's Naive...
 
it's Naïve
 
@ircmaxell lol, ninja edit
 
3:18 PM
;-)
 
0
A: Good programming, should i reuse values?

JackLet's see what it would look like if you chose variables for just their value: var superman = 1, marypoppins = 0, mario = 3; function roll_dice(){ return Math.floor(Math.random() * superman * mario ); } var source = ["hello.jpg","hello2.jpg","hello3.jpg", "hello4.jp...

Is this too harsh? :)
 
@tereško You are old and you should feel old :P
 
@DaveMorton Sorry. Was taking the dog out. I'll make something now :)
 
@PeeHaa No worries. I'm a patient person. Besides, I'm answering emails and playing Minesweeper. :P
 
:)
 
3:21 PM
0
Q: $("#id").click(function(){calculation()});

KaareWhat is wrong with the line in the header? The below example is supposed to make a button which will increment a counter each time it is clicked. However, I enforce a delay of 2000 ms between button clicks. The version below works, however, if I use the commented out line instead of document.g...

Links to jQuery, doesn't use it :D
 
jquary
 
jQuandary ... or jSquandery
 
Personally, I like jQuandry... Er... jQuery; but I only use it with code that I don't have to "share" with others. :)
@Jack lol, same thoughts, though my spelling seems to lack, today. :)
 
Yeah, if I have a question about my jQuery code, I translate it into pure JavaScript first :)
 
Often-times, that step alone can lead to the solution. At least, in my experieince.
 
3:26 PM
@Lusitanian jquary brah
 
heh
 
meant to link the q
 
what did i do now? :)
 
not your answer lol
 
But I'm a lazy bastage, and would rather write 2 or 3 lines of code, instead of the 12-20 (or more), doing it "longhand".
 
3:27 PM
@DaveMorton When it comes to DOM manip, yes.
There's some nasty DOM stuff that I'd rather not know about.
 
lol so true. :D
 
But quite honestly, some of the jQuery internals is bloated and rewriting it in plain JS ain't so much more work.
Of course, others would exclaim "some? some?!?!"
 
some? some?!?!
 
basically you could sum it all up as: "As a seasoned professional in jquery, i think that learning javacsript is waste of my time."
 
@Jack Perhaps, but in all honesty, JS isn't my forte, nor is it my "bread & butter", so I'll keep my jQuery "crutch" for now. As I said, I only use it for code that I'm the sole proprietor of.
 
3:31 PM
fwiw, for some people it is a waste of time
for most web developers it shouldn't be though
 
In fact, many issues with jQuery can be explained by lack of JS knowledge, which is pretty sad sometimes.
 
pce
i think javascript is not easy, prototype based objects and native types.
jquery gives you DOM and Event Helpers, only (maybe more) - but not bad at all.
 
@Lusitanian My primary duties are more "back-end" related, and as such, writing out code longhand isn't cost effective for me, so jQuery makes a decent "cheat".
 
Anonymous
Man, I miss @tereško's rants. Can you do one for us, your highness of thi master of méchant
 
3:44 PM
Wow, -14 o_0
 
@DaveMorton Example let me make the code a bit more readable and post it as an answer if this is what you want
 
@PeeHaa I think I can work with that. Thanks, @PeeHaa! :)
 
@DaveMorton kk np. Let me clean up the code a bit and I'll post it as an answer
 
Cool. :)
Time for breakfast, but I'll be back.
 
Enjoy
 
4:03 PM
this was somewhat interesting (TED talk): youtube.com/watch?v=e_44G-kE8lE
 
simple question if i buy mobile(unlocked ) from other country will it work in my country ?
 
Anonymous
@NullPointer If you do ' the Grand ' format, it can work anywhere.
 
@PHPNooB sorry ?
 
4:18 PM
Hi
 
@PHPNooB what is it ?
 
Anonymous
format the phone to factory default. What type of phone is it?
 
@PHPNooB Nexus 4
 
Suppose there is a string "ABCDEFG HIJkLPNOP!" and I wan to seperate my string and the * signs, Do I need regexp for it?
 
@NullPointer depends For example for 4g you have to check the frequency
 
4:20 PM
@PeeHaa 3g would be fine ... rather perfect
here ... there isnt anything like 4g yet ...
 
@devWaleed What are the * signs?
 
@Jack It could be any sign.
 
@NullPointer what country to what country?
 
Anonymous
@NullPointer i am sure androids can work regardless. But, with phone like ZTE forget it
 
4:22 PM
@ircmaxell anywhere else to india
 
@devWaleed Any sign is too vague.
 
look at the bands in use in India. I know the US Nexus 4 will work in Europe (from personal experience)
 
@Jack I want to know that one would use Regexp to solve it ?
@Jack ok, it could be % string here %
 
@devWaleed I don't know. What you're asking me is like "Do I need a backpack when I visit my friend? He could live in a house."
 
@ircmaxell So does iPhone, etc.
 
4:26 PM
only if you jailbreak and unlock the iphone
the nexus 4 is unlocked
 
Aren't all phones multiband nowadays?
 
no
 
@PeeHaa That downvote wasn't me! :O
 
no worries @DaveMorton :)
 
@ircmaxell Well, of course it must be unlocked (which is not a hard thing to do for US version).
 
4:28 PM
eih
 
@ircmaxell wow. I believe my first samsung device (back when samsung only made nice, but broken phones) even was quadband
 
Try unlocking T-Mobile one :)
 
they make quad band phones, but not all are. And not all are the same quad band...
 
kk
 
I hate XML. Damn you @Gordon :)
 
4:31 PM
Yeah damn you @Gordon
@webarto What did he do? :P
 
lol
 
@PeeHaa :P Trying to add CV count to his ninja code, not going well so far :D
 
:P
 
> which questions should I cloooooseeeee? ... It's weeekend, weeeeeeekend, everbody CV on weeeeeekeend.
Meh. Beer.
 
Hola!
 
4:34 PM
@PeeHaa The version of the script that I'm working on now isn't OO at the moment, but I'm also writing a new version for release later this year that takes advantage of a more modular, class-based architecture that I feel will improve performance, streamline the code, and be more reliable. Your example has given me ideas for this newer version that I may well implement. :)
 
@DaveMorton "Steal" whatever you like. Also if you want to use it in procedural style just "steal" the parts you need and drop the class wrapper :)
 
That's sort of the idea, lol. :) And it's not "stealing" if you give me permission, spoil-sport. :P
 
@webarto <you suck="true"/> /cc @PeeHaa
 
@Gordon O.O
 
loool
 
4:38 PM
@Gordon Flagged.
 
@webarto you may not flag that because responding with xml when someone is not using enough xml is the only viable option
 
or in html: <you suck="suck"></you>
 
<you suck></too>
 
@ircmaxell you could simply do <you suck>. attributes dont need values and some elements dont even need closing. tag soup #ftw (NOT!)
 
depends on which version of html ;-)
 
4:41 PM
@Gordon See, I can haz HTML.
 
@webarto no! Full stop!
 
@webarto what are you trying to do anyway?
 
Adding CV count next to teh question @Gordon
 
<?xml version="1.0"?><comments><comment type="sarcastic">There are <strong>ALWAYS</strong> options.</comment><comment type="polite">Let's all be nice, kids.</comment></comments>
 
4:42 PM
@webarto is that returned from the stack api?
 
@Gordon I doubt that, only closed status (if any) and date
lemme check
 
@webarto then how are you going to get the count?
 
@ircmaxell I raff I ruse to see that video.
 
watch it, trust me ;-)
 
4:44 PM
@ircmaxell Out of curiosity (and because I'm still a noob, here) how does one make a tag like that in here?
 
@Gordon stackoverflow.com/posts/popup/close/15033836 can haz with no auth (see .bounty-indicator-tab)
 
write: [tag: my-tag-here] (without the space)
 
@ircmaxell Thanks. :)
 
@ircmaxell I approve :D
 
@webarto see :-D
 
4:46 PM
@webarto huh?
 
@Gordon i.imgur.com/rZxb4uj.png parse that mofo. No auth needed to view this page. Also it just says "closed" if question is closed.
 
Can you help me please? my post address is:stackoverflow.com/questions/15042794/…
 
Wow! I learned something! That's not happened in like 15 minutes! :)
 
@Gordon Can you help me please with my post at stackoverflow.com/questions/15042794/…
 
4:51 PM
@AndreChenier Please don't spam and please don't ping people randomly
 
@webarto hmm. tbh, i'd prefer not to fire another scrape for that information. the benefit of having that is no way making up for the cost.
 
@Gordon it is not spam, and not randomly. Sorry if I bothered.
 
@Gordon True dat. It's a shame they disabled iframe, could have been so much easier to go through the list.
 
@PeeHaa @webarto @Lusitanian
 
@Lusitanian @Lusitanian @Lusitanian
 
4:54 PM
@webarto @webarto @webarto
 
@AndreChenier sorry, i am short on time atm. In any case, you want to use POST and not GET there. This will not solve your problem though. But it's the right HTTP method to use.
 
lol hiya @Lusitanian
 
how goes it ya'll
 
Pretty good now that I got my phone back Mr. Desberg
How are you today?
 
4:56 PM
what happened to your phone initially, mr. hordijk?
 
@PeeHaa Where can we see the amateur thingies that leaked from your phone? :perv:
 
and pretty good
 
Got drunk. Lost the thing
 
lol
 
:P
 
4:56 PM
that's normally 20 year old college students in the USA
 
lol
 
I do, however, trust that you don't own an iPhone (:
 
Of course not :D
While there is no active discussion in here ATM I'm going to do a bit of cleaning. #avalanche #cv
 
wait, wait, gotta prepare first
there we go.
feel free to continue
 
5:14 PM
hi
im having problems with tomcat
 
shows nothing
 
tom cat is running
 
5:23 PM
@PeeHaa lol
 
@PeeHaa lol
 
@NikiC lol
 
@Lusitanian lol
 
@NikiC heh
 
5:28 PM
^^
 
5:44 PM
i have no more votes to give
 
Quick question, related to SimpleXML::xPath - Can you search for an element with 2 attributes, such as <li name="foo" value="bar"> , and if so, what is the proper syntax for the xPath query?
 
Oops? Typo. Should be SimpleXMLElement::xpath - Sorry. :)
 

« first day (861 days earlier)      last day (4105 days later) »