« first day (683 days earlier)      last day (4265 days later) » 

9:00 AM
on phpinfo(); it shows /usr/share/pear
Alright I think I must ask them
 
morning , everyone
 
Also just 1 question, Is it possible that PEAR mail package is not installed and only PEAR is installed
?
 
0
A: What are some good web development blogs?

sigmasolveThanks you for sharing with us this kind of information......... Sigma Solve I truly like to reading your post. Thank you so much for taking the time to share such a nice information. thans you so much this posting is very well.

Ain't that spam?
 
Simple template. Template images by molotovcoketail. Powered by Blogger. <= molotov coketail LOL!
is that a molotov cocktail inside the bottom of a coke can?
 
9:04 AM
yes, it is @Donut .. flagged
 
Flagged to
But there was some post about special usecase for spam flag
So I'm worried...
 
flaggd too
 
Hm. Not really good questions but a couple of them are answerable
 
That is why they love downvote us :)
 
What I was trying to say is that I don't see a reason to close stackoverflow.com/questions/12174374/… - The title is misleading but the content is good enough to answer it properly
 
@edorian Ok, but don't you think it is RTFM issue? docs.php.net/file_get_contents (see the note)
Note:
If you're opening a URI with special characters, such as spaces, you need to encode the URI with urlencode().
 
9:38 AM
So? Pretty much every question is an rtfm issue but here i don't see the guy being lazy or "give me solution". not knowing that (and not looking into file get contents for a hint about url building (!) ) is something I can accept :)
 
give me teh codez
 
who let teh coders out?
 
@edorian stackoverflow.com/questions/12174374/… so we don't get into a fight, issue can be found in hotspot of the doc, so not really and excuse for not RTFM or that is resides in the dark corner of docs website... etc :)
 
@webarto I don't plan on getting into any fight :) I'm just saying that I'm not going to like into the f_g_c docs when I have an url issue as someone how doesn't really know what he is doing :)
and that the question was good enough imho :)
 
FIGHT FIGHT FIGHT!!!!111
Topic for today: Code Ignit0r is awesome. Discuss!
2
 
9:47 AM
COME AT ME BRO!11!1! @edorian cool, peace br0 :)
@Gordon Why do you have to ruin my day :P
 
zf2 is way cooler
 
@webarto because I can :D
 
is so cool you cant deal with it
 
here we go again . . .
 
@edorian I don't like this stackoverflow.com/users/692663/ravichandran ... about 5 times more questions than answers, and that was the reason I cv... but that is only my lousy opinion...
 
9:50 AM
lol,
 
I just created a View in MYSQL
 
@webarto gggg
 
I just created a cup of coffee
 
using
CREATE VIEW MYFIRSTVIEW AS SELECT Title, Author , Translator, AccessionNo FROM tbl_docume
 
9:55 AM
using Coffee AND Milk
 
now How to view this ""VIEW
"
 
and now to drink this DRINK
 
|= /
 
i like my coffe like i like my women
without a penis in it
 
@Gordon when I need something for ZF I just Google 'search term "gordon" site:stackoverflow.com', true story
 
9:58 AM
 
@webarto zf1 or zf2?
 
@webarto lol :) happy if my answers help you.
 
i need some help for zf2 but is a little bit messed up
 
@markcial zf1. didnt look into zf2 yet and likely wont anytime soon
 
damn, thanks anyway
 
9:59 AM
@DextOr SELECT * FROM myfirstview should be like that something
 
@markcial , it is way too early to use ZF2
 
well i m not using it
only testing if i can design a solution for a project, already designed one with zf1
but if it works with zf2 with a label like rc5 maybe we use zf2
 
who did I fought yesterday about ZF2 docs, ah @DaveRandom :D
 
while they call it "RC6" , it actually is closer to "Beta2"
 
i think so too...
i ll try 2 days more and drop it if it doesnt works like expected
 
10:02 AM
LOL
@DextOr aaaaaaaand you are banned in 3 ... 2 ... 1 ...
 
Thanks @webarto how can I view All the View created by me .. like a list of them or something
 
for a framework to work "like you expected" you would have to have complete understanding of it's inner workings
that's not something you can get in 2 days , @markcial
@webarto , why do you keep talking to small-avatar-people ?!
 
@tereško well i only want to see if the solution is possible with a newer library
if its not we will sitck to zf1
 
@DextOr how about you funking google it? :)
@tereško it's small now :)
 
i already designed a solution with zf1 and its working like a charm
but my boss told me, ey! we are migrating to php5.3 lets see zf2
i want to tell him, its not ready for that, that and that
 
10:05 AM
you are so passee
 
i dont want to drop it only beacause we are not tested yet
*we have not tested it
 
ok ... but plz don't ban me :P
 
@markcial why the funk you need a FW anyway?
 
@webarto I brought my boxing gloves into work if you're up for round 2... :-P
 
we are a company with a huge lead captation
for a differents brands
we need a easy and quick microsite deployment with forms and lead transfers
and smart error handling for avoiding missing leads
 
10:08 AM
@DaveRandom no guns? (._.)
 
so the mvc pattern and hyerarchical loading of controllers and models fits
 
Out of ammo. I'm up for giving you a pistol-whipping though...
 
@markcial it almost sounds like a heard it somewhere and downvoted it...
 
i didnt asked a question about it
its not that concrete
is a design process
well the truth is that i didnt asked nothing since last 5 months maybe
 
@webarto slaps @DaveRandom around a bit with a large trout
 
10:10 AM
oh lying
i asked something but about gtk#
 
yeah, but... microsite and huge fw?
 
not huge fw
huge transfer lead
we are one of the biggest companies in spain
but we are splitted in "brands"
 
'we' don't have a name? I don't know what is transfer lead, rephrase perchance
 
even we have hosted the spanish playboy site
lol
planeta group
ever heard?
is an editorial/media/courses blackboard company
 
10:13 AM
@DaveRandom ;D
 
well i m starting to get tired of one way conversations
 
no, I'm from third world
nevermind, do what the boss tells ya
 
i suppose that you wont know
is not that famous outside our frontiers
but it has even a tv channel
i m not doing what my boss is telling me, he said, look for zf2 and tell me again how it works, and after 3 days my reports wont be much positive.
 
oh... 3 days you say?
 
and top of that, because the solution i designed for zf1 was in 2 days and in zf2 im in a dead end nowadays
i wont give up only becaise is a little bit undocumented
and i want to make a good report, not only i dont like it one
*not only a "i dont like one"
 
10:20 AM
ZF2 is much more complicated and more advanced than ZF1
and probably not a tool for your job
ZF1 is still functional
 
yup
 
actually, no FW would the best solution
 
is what i m noticing
 
why do you want to depend on something? (that you know you're not going to like)
 
when you modify some code, it doesnt drops a 500 server error at all
blank output to server
that is a shame for a production tool
i dont want to depend
 
10:22 AM
I refuse to believe that
 
is for that why i m redacting a doc
some times it brokes the html
even that could not be allowed in a production server
 
:'(
 
lol!
a hidden with id? xD
i d rather prefer a solution like modernizr, adding a class to the html
by the way, the thing i like the most in my company is the mixed greek mythology/ star wars namespacing in all the projects and servers
 
1
Q: Soundmanager 2, whatever I try, I cant setup the SWF path

AlexI am currently since weeks trying to set up soundmanager2 to find my swf folder which is in my root website folder. This will enable flash fallback. Im trying so hard to find the piece of code where I set up the path, went through it so many times. I also, as shown in the documentation, added t...

 
10:33 AM
@Demorus do you know in what room you are?
 
HI, I don't suppose anyone here is familiar with this twitter class: classes.verkoyen.eu/twitter_oauth ? :(
 
Q: I’m starting a new project – which version of Zend Framework should I use?
A: If the project will complete mid-2012 or later, start using Zend Framework 2! The current beta 3 is a great opportunity to begin acquainting yourself with the main features, and the feature-complete beta 4 and GA releases will follow quickly.
Liars....
 
10:48 AM
Nope
 
sbi
So which of you "enlightened individuals" thought it would be a good idea to ask all 10k+ users across the whole chat whether this image is offensive or not?
And what am I to respond to that?
 
i wont recommend zf2 until it has a better error handling
 
sbi
Ah, a wise response to my question. I bow before you.
 
@sbi is the image sfw?
 
Yes.
 
sbi
10:50 AM
@markcial I dunno your kind of work, but I have yet to see one that this would not be safe at.
 
Flagging should be disabled for the entire PHP room.
 
lol
 
In work from my parents basement, so I don't care about SFW.
 
sbi
So? Nobody knows what's wrong with the image?
Then why are you flagging it, you <censored>?!
 
@sbi moron?
 
10:52 AM
@sbi Can you see who flagged it?
 
sbi
@webarto I am not a god, I am a mere 10k+ user. And I am very annoyed about useless flags.
5
 
i dont usually flag but when i do it is in counterstrike
 
sbi
@daknøk You amateur.
 
Ah "PHP-programmers".
 
And you two came here to troll?
 
10:53 AM
You guys were trolling all 10k users!
 
sbi
@webarto No. We were trolled over there, ask to validate a flag.
As were all 10k+ users across the whole chat.
 
i m out, i never flaggd that image
 
@sbi I understand, could it be that retard who starred these messages of yours have flagged that image?
 
Whats with all the drama?
 
sbi
@webarto Did I read this right?! Are you seriously asking whether it could be that the one who expressed his agreement with me being annoyed by the flagging have done the flagging?!
 
10:57 AM
YES
I'm going to watch that bullshit entire day on right side of my screen.
And you can just ignore PHP room, we have 10k+ users here, if that is in question.
 
sbi
@webarto Then what am I to say to that, other than that I would have expected a considerably higher average IQ here?
 
It's good to see that some thnigs don't change around here
Every other week a nice discussion by someone coming in complain about flags :)
Like in js and c++ and the other popular rooms
 
sbi
@webarto The problem, as I have been trying to tell you now for several minutes, is that I cannot ignore flags. I am being pestered with every flag across the whole chat. And so is every 10k+ user.
Did you now get this?
 
@sbi I've at times just blocked the "flagged messages" image
Since there is no other indicator or anything directly interrupting/annoying that was my opt out
 
sbi
@edorian But I don't want to have to hack my browser. I simply want you to behave. Is that so absurd a requirement?
 
11:00 AM
@sbi Nope. Thats why there is a year long discussion meta to make this opt-out
 
@sbi I simply want you to behave. You see nothing wrong here? Who we?
 
sbi
@edorian We all know how this discussion is gonna play out: the SO gods decided they do not want us to opt out, and so we never will be able to.
 
I haven't been around for the last couple of month but back early 2012 it's been a lot worse (hence me right clicking the image and selection "block this")
 
sbi
@webarto That was a plural "you". I am sorry if that wasn't clear.
 
Since most of the flags come from <1k unregulars "educating" people doesn't work either
 
11:03 AM
@sbi I'm sorry if that image caused you troubles, but we can't collectively take responsibility of single anonymous user actions. As I thought you and your friend were implying.
Just what @edorian said.
 
sbi
@webarto That image didn't cause me any trouble at all. And, contrary to what that other user implied, I am not implying you are all morons. But the one having done the flagging very likely had been in this room when he flagged, so it is very likely that he is still around. That is why I popped in here to complain.
Once more: Flagging is not a joke. If you flag something you are annoying all 10k+ users across the whole chat. If that was for nothing, then that's not gaining you any karma points.
If you want to get someone banned for whatever reason, flag for a mod. Only flag messages as offensive, when they are blatantly offensive.
Anyway, I am outta here. Have a nice day, everyone. (And if you are really so annoyed about those starred messages, you can always ask a room owner to unstar them.)
 
@sbi kthxbai
in Lounge<C++>, 23 secs ago, by sbi
@jalf You don't need to enter the room in order to do that. You can do that from the transcript. (But don't tell anybody.)
:)
 
good morning
 
good morning
 
ok plz tell me
what is namespace in sql
 
11:09 AM
gtfo
 
?
 
PERMABAN
> Don't ask whether someone is here or can help. Just tell us your problem. If anybody can and wants to help, they will.
lol somebody asks a question, instant gtfo
 
huh?
 
someone not a help vampire and poster of images that are flagged @daknøk
 
Flagging images is useless.
Just move them to the bin.
 
11:11 AM
I stopped doing that
 
Flagging or moving?
 
because people started calling me a draconian dictator for trying to keep the cruft out
so I said fine, I'm not going to move anything anymore, and deal with the flags and bans that occur
 
posted on August 29, 2012 by Andi on Web & IT

In recent years popular opinion suggested that the private cloud delivered more immediate cloud monetization opportunities as opposed to the public cloud which would take more time. Instead we’ve witnessed faster adoption of public clouds with Amazon and Rackspace leading the pack. While the private cloud opportunity is huge there has been slow migration to private cloud due to difficulties in

 
@ircmaxell Either move or keep them, but do not flag.
 
@ircmaxell you've moved a lot of my images and I never said anything, if you don't want to do it, give someone a permission to do that.
@daknøk why are you acting like a police officer?
 
11:14 AM
I am not. Flags are just highly annoying for the 10k+.
 
Not recently
@daknøk I'm not flagging. I just let others do it
 
@daknøk Really? I don't find flags annoying.
Can images go in the room description?
 
haha
 
@salathe Can gifs go into the bin? :)
 
@edorian There's precedent for that.
 
11:18 AM
<kbd>ESC</kbd>
 
@daknøk I think you made your point clear and since the speech happens about every other week we all know the drill so ether take the 2 minutes to remove all the flag notifications in your browser or ignore them. There is just nothing we can do
@salathe I hope the records show that using gifs in message boards results in discomfort for the poster. If not I'd like to speak to a lawyer please
 
^_^
 
for posting images and gifs i prefer canv.as
 
@edorian There are no such records, sorry!
 
Ok. "time to create some"
 
11:27 AM
Can any of you clever people think of a way to determine if the most significant bits in an integer are a) the only ones set and b) contiguous without looping?
(Still on the subnet mask thing, have got a bit obsessed with it)
 
@DaveRandom Seems like binary and'ing something. What are you trying to do excactly?
 
Imagine I have the following two ints (cut down to 8 bits for simplicity):``
11111000
11011000
The first one is valid, because all the set bits are contiguous from the most significant bit
the second one is not
 
@DaveRandom $test = log(($int ^ PHP_INT_MAX) + 1, 2); $yes = (float)(int)$test == $test;
 
Hang on, let me test that
@ircmaxell He no worky :-( codepad.viper-7.com/QGLxJK
 
6.7k low quality and 59.4k close votes left. Thats going down rather quickly
 
11:35 AM
Unless I'm missing something
Or is that platform dependent because of the fact that the position of the most significant bit changes between 32/64 bit?
I thought the PHP_INT_MAX would account for that
 
@DaveRandom because that number has 0's prior to the first one
 
@ircmaxell Yeh right I got it :-). I can work with that, thanks
 
that works for it all
 
Nice one, saved me the effort :-D
 
pretty simple really
 
11:40 AM
$int = 0b1111111111111110; (int(32766) ) works but more "1"'s there make it return false; codepad.viper-7.com/K0Nb7O
 
more 1's?
use the newer version: codepad.viper-7.com/jykZyc
 
@ircmaxell Nah. I don't like the upgrade path
 
One liner:
$test = false === strpos(log(($int^pow(2,ceil(log($int, 2)))-1)+1,2),'.');
 
funk
 
11:47 AM
That reminds me of C
 
Anything using bitwise operations likely does...
 
Mostly because of cramming together pow and log functions
And because it's not readable
 
well, yes that too
 
That one liner is one of the least readable bits of code I have seen for a while, and that is saying something. I might use it as a challenge to myself to try and remember what I was doing when I come back to this is a couple of years. Without comments, of course.
 
do you understand what it's doing now?
 
11:55 AM
I don't :) I mean I can make stuff up and writing it out on paper also works nicely but I'm just missing some math basics to come up with stuff like that on the fly
 
Well, work it from inside out
what's log($int, 2)
 
I think I get it. I get all the individual components, just making sure I understand how they all work together before I commit to saying I fully understand it.
 
LOL
comment inside the templates of zend2
<!-- Le styles -->
le templates
 
log($int, 2) gives you the power by which you need to raise 2 to give the result $int
so pow(2, (int) log($int, 2)) === $int
right?
 
11:59 AM
strict equal?
if its int sure
 
@DaveRandom remove the int cast, and yes
 
Oh right yeh, forgot I'm potentially dealing with "invalid" numbers
So then once you have that, you ceil() it and subtract 1 (couldn't you just floor() it?) which if the number is valid will inverse all the bits to the right of the last set bit. And that is as far as I've got in my head
Give me a minut
 
is minut a British word? :)
 
Almost...
So, pow(2, ceil(log($int, 2))) will give us the smallest power of 2 greater than or equal to $int
so if $int is 3, it'll give 4. If $int is 5, it'll give 8. etc
Now, let's use 5 and 8 as examples
5 is 101. 8 is 1000. But 8 - 1 is 111
which gives us our mask...
So now, when we do 5^pow-1, we flip the bits
so 101 becomes 010
Now, when we do log(010 + 1, 2) we get a float, meaning that 010 is not a multiple of 2 - 1.
 
OK right I think I actually understood something! Because if the number is valid, we will be left with a result wher the most significant bits are still all set, which means that the log(2) of it will be an int
right?
 
12:08 PM
but if it came out to be 011, when we add 1, we get 100. Then log of that is 2, an int, and therefore it's valid
Yes, when we add 1 to a number with only the rightmost bits all set, we will always get an even power of 2
 
Sometimes I wish I'd paid more attention to maths at school. I understand all this stuff but I never did enough of it to drill it in so that I can work out these mechanisms
That's the main reason I'm doing this (I'm building functionality that I don't currently need onto a class) to try and get a bit of practice
I usually end up with these horrible looping structures
@webarto Just thought I'd throw a bit of Serbo-Croatian into my every day conversation, I'm just too lazy to find the right unicode charcodes so you get ASCII.
I'm trying to reach out to you socially, it's categorically not a typo.
 
@DaveRandom thank you :)
 
sbi
12:30 PM
@webarto Snooping on us, are you? :)
@ircmaxell Do it as the C++ room does, have a dozen owners.
 
@draconis Yep.
 
@sbi a little :)
 
@ircmaxell Unfortunately I can't use this, because it doesn't work on 32 bit systems, because I am dealing with an IPv4 subnet mask, which will always be a negative number because of PHP's lack of unsigned ints, so log($int, 2) returns NAN. Any work around you can think of that I can't?
I thought I could just abs($int), although this seems to allow, amongst others, 255.255.255.253 to pass validation - but I'm wondering if this is a casualty of double precision. This also assumes twos-complement, but I think that's a safe assumption. Thoughts?
 
morning
 
@NikiC Morning
@NikiC Can you undelete your answer here stackoverflow.com/questions/12100968/…
 
@DaveRandom why?
 
12:58 PM
I've realised the only problem with it was the unsigned int overflow, which can be worked around by left-shifting ~0
 
I undeleted it
though not sure what you mean ;)
 

« first day (683 days earlier)      last day (4265 days later) »