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

12:00
@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
@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
@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
12:26
@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
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
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
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
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

13:20
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
13:40
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...
13:55
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.
14:19
@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...
(memory allocations)
yep
14:30
@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
14:32
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
14:34
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 ;) )
14:36
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
14:38
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?
14:40
@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?
14:49
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?
14:54
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
15:12
@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
15:15
@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
15:18
;-)
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
15:21
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.
15:26
@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".
15:27
@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.
15:31
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
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
15:44
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
16:03
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 ?
16:18
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
16:20
@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
16:22
@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.
16:26
only if you jailbreak and unlock the iphone
the nexus 4 is unlocked
Aren't all phones multiband nowadays?
@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).
16:28
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...
I hate XML. Damn you @Gordon :)
16:31
Yeah damn you @Gordon
@webarto What did he do? :P
@PeeHaa :P Trying to add CV count to his ninja code, not going well so far :D
> which questions should I cloooooseeeee? ... It's weeekend, weeeeeeekend, everbody CV on weeeeeekeend.
Meh. Beer.
16:34
@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
16:38
@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 ;-)
16:41
@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>
16:42
@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 ;-)
16:44
@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
16:46
@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/…
16:51
@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
16:54
@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?
16:56
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
16:56
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
17:14
hi
im having problems with tomcat
shows nothing
tom cat is running
17:23
@PeeHaa lol
@PeeHaa lol
@NikiC lol
@Lusitanian lol
@NikiC heh
17:28
^^
17:44
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 (4313 days later) »