« first day (849 days earlier)      last day (4104 days later) » 

9:00 AM
yes
@NullPointer
 
It's at this time of day that I really resent not being Indian, because you lot have all nearly finished work now
:-(
 
@DaveRandom working on project with friend and its fun now, you ?
 
@NullPointer I am not a morning person.
@ScoRpion... If you have worked with MySQLi, PDO will be an absolute pleasure. It's like other database drivers, only with a half-way sane API.
 
@DaveRandom Lyk me an Afternoon person... or sometimes an evening one
 
@DaveRandom we work day in day out :P
@ScoRpion... then there is no problem
 
9:03 AM
@NullPointer thankyou buddy
but i would like to move around PDO
 
@ScoRpion... yey i got another thankyou ... and now its reached to 139 :P
 
lolllzzz :) you get what u are worth... I would like to add few more for what you share here
@NullPointer
 
i hate people who just revenge-downvote
 
9:18 AM
@NullPointer again? I mean, again would be pretty funny ;)
@webarto good morning something ;)
 
@hakre If they look close enough they'll find the entire staff has done it and everyone is really just a cardboard cut out.
 
@hakre lol not sure .... just saw while surfing
 
@NullPointer Yes, it is a funny story. And following the rules of the market and the marketing of the land of the free, that business man should be honored instead of publicly mobbed. Shame on TWN and the rest of the press who is not seeing this.
 
@hakre Not good, but morning
And mornings Dave
And @tereško
 
@PeeHaa Hmm, sometime things turn into good more quickly than expected.
 
9:30 AM
@hakre I was still up at 5AM, because my dog thought it would be a good idea to start barking at the wind :(
 
@PeeHaa lol..:P
 
@PeeHaa Animals and Nature. A Love affair you can not go between.
 
@PeeHaa I sympathise with your dog, the wind is a bastard.
 
good morning @Gordon.
 
morning
 
9:32 AM
good morning @Gordon.
 
@Gordon Jo
 
@NullPointer :i will keep this thing in mind :)
 
@DaveRandom How do you prefer to be attributed? DaveRandom / Chris Wright for you socket frame make thingy?
 
hey can any one help me in Installing PHP IDE
 
9:37 AM
@lata Maybe. Into which issue do you run?
 
what ? can try
 
@lata You are having troubles clicking on next? :P
 
@PeeHaa Honestly, I don't really care. Whatever you prefer :-P
 
i m not able to run trial version of Zend studio
 
How about "that British dickhead"?
 
9:38 AM
local Zend Server is not working
 
@DaveRandom I'm thinking about changing it to Good guy Dave :)
 
@lata Zend Server != Zend Studio
 
:-P
 
no default server in Zend studio is nt working
 
@PeeHaa wouldn't simply encodeMessage() be better? getEncodedMessage() seems like a slight misnomer, to me it suggests it acquires the data from an external source.
 
9:40 AM
can any one provide me link for for PHP IDE basically i want to use Eclipse-PHP
 
@DaveRandom yeh probably. Will change it tonight
 
@DaveRandom Dee RND :) (in da house)
 
?????????????
 
Morning all!
 
I also need to come up with a nice demo app. Currently it is a chat application like everybody else does. I'm thinking about a game or s simple collaborative document editing thing. @DaveRandom
Or perhaps some simple angular js thingy
 
9:42 AM
@lata than which link you want use eclips ?
 
i have used many but some updation problem
 
@lata again what updation problem ?
 
@Jimbo morning
 
@Jimbo morning
 
9:44 AM
some files are missing can't download
 
@lata you are very vague there. All you say is "cant do this", "cant do that". we cannot help you from that little information you give.
 
@lata again which files ?
 
okk wait i willl copy down the entire message
hey leave that aside let me start from the scratch
 
@lata please make sure that it wont cover whole screen
 
can u people provide me any link
 
9:46 AM
@lata again which link ?
 
i want to start with PHP
 
lolzzzzzz
hey link to download PHP ide
 
Ooh I like the look of this PHP Websocket lib :)
 
9:47 AM
:)
 
@lata Eclipse-PHP? You probably mean Eclipse PDT, wiki.eclipse.org/PDT/…
 
@PeeHaa All good, but also all kind of unoriginal and thoroughly solved problems, I will have a think about it. Of the three the document thing is probably the most attractive to me, but it sounds like a lot of UI work as well, the communication layer is a relatively small part of something like that.
 
@H
 
@hakre: yaa
 
9:50 AM
@lata your requirement is like for($i=1;$i>0;$i++){echo my_vague_requirement();}
 
eclipse PDT
@NullPointer: hey so sorry
 
@NullPointer while(true) {echo my_vague_requirement();} :)
@DaveRandom kk :)_
 
@PeeHaa i love for loop...:P :D
 
:D
 
9:51 AM
i want to start with PHP with apache server ,Oracle
 
while(print('my_vague_requirement()'));
 
u people are geneous at loops ah! :)
 
@lata Do you have a list of keywords you want to use in a day or somwthing?
:)
 
could i have permission to post lmgtfy link ?
 
@NullPointer permissions denied.
Cheaters are using URL-shorteners.
 
9:53 AM
see Recently i have worked in eclipse IDE with JSP,html,servelet....now i want to learn a new language PHP .so how could i start ..plz be specific if u all can help me
 
@hakre i was doing same but just like to have permission to Cheat :P
 
@lata Which Eclipse version do you have installed? Juno?
 
@lata's list of keywords for mo 11 feb 2013:
- [done] Oracle
- [done] Apache
- [done] PHP
- [done] Eclipse
- [done] JSP
- [done] html
- [done] servlet
- [done] Zend studio
- REST
- ternary
- oop
- SOLID
- paradigm
:D
 
@PeeHaa lol
 
9:55 AM
eclipse juno
 
@lata You need to install the PDT plugin. You've seen the link I posted above with the installation instructions for Juno and PDT 3.1 ?
 
@lata netbean is better than eclipse for php imo
 
@NullPointer: okk
@hakre: ok i am trying to install
 
OMG living inner city when this is a carnival city makes this monday a bad monday.
 
@PeeHaa Also I'm not happy with the masking part of that routine, at the moment it uses double the memory of the message. The other way of doing it would probably be slower though, as it would be a loop with a lot of substr(), I'm going to try and come up with a better alternative but I can't think of one at the moment.
Really websockets kind of suck in this respect, because you need to know the message length ahead of time, which means anything other than having it all in memory is difficult to implement.
Maybe some kind of OTF masking mechanism and the ability to obtain the mask by an argument would be in order.
Having said that, you should never need to mask the messages as you will most likely always be acting as the server from that code, so it's probably a pointless effort.
 
10:01 AM
Sep 29 '12 at 13:58, by Gordon
@hekko if you want to become an expert programmer, google SOLID, buy GOF, buy POEAA, buy Clean Code, lookup GRASP, DDD, CQRS, DCI … but dont ask for PHP books. That's the most reasonable suggestion I can give you when you ask for Expert PHP books really.
 
@lata on windows? oracle is a pain to setup on windows
 
I'm not sure certain how PHP works under the bonnet in this respect actually, the current imple may actually end up using 3 times the memory of the message if it initialises the result string before the xor.
 
@lata str_replace("@hekko","lata", Gordon replay);
 
u people have gr8 sense of humor ah! really enjoying ur company :) :) :)
 
10:04 AM
@lata i want to learn a new language PHP why not just start learning core php first
 
okk i will use mysql then
@NullPointer: i am learing Core PHP from W3schools.com
 
@lata ohh..... nooooooo......
 
@NullPointer: WHAT'S wrong
?
 
@lata w3schools is not a good source .... please dont use it
php manual is way to go
 
php manual?
 
10:06 AM
 
okk
@NullPointer: check this link is it good? sourceforge.net/projects/phpeclipse
 
@lata you can also check github.com/PeeHaa/php-net-tutorial/tree/master/topics for quick read ..
 
let's build a PHP IDE with PHP-GTK :)
 
:)
 
@lata i started learning php in notepad++ and i found that is also good
 
10:11 AM
ohkk
 
@lata Use PHP in notepadd++ or similar text editor like @NullPointer suggests - then when you need it move up to an IDE :)
 
you can try netbeans.org/downloads/7.2 its just 50mb for php ...
 
(Is what I did anyway)
 
hmm that's good idea
 
@lata most of us are using PHPStorm as an IDE nowadays
 
10:13 AM
hmm
 
@PeeHaa that is proposal for manual ... i really want to see that in php manual ... its very good
@Gordon but it is not free ...
and opensource
 
@NullPointer but its good and cheap compared to Zend Studio, which is expensive and crap
 
@Gordon is it faster than netbean ? i can see netbean has pretty good AI and everything what a good ide supposed to have
 
@NullPointer try phpstorm and judge for yourself. I was very skeptical about it since everyone praised it so much, but it's all true.
 
@DaveRandom Hey no worries. Your implementation is much nicer than mine either way. Also I agree. It will only act as a server. Anything clienty is a bonus for maybe future use
crap internet on the office is down :(
 
10:18 AM
@PeeHaa so now its fun time
 
Ultimate proof that voting on SO is completely pointless:
-2
Q: on running the following code, i'm getting an error:

user2051445Notice: Undefined index: password in E:\Program Files\xampp\htdocs\welcome.php on line 12 <?php $con = mysql_connect("localhost","Rahul",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("ebusiness", $con); $result=mysql_query("select * from members where Email=...

 
@NullPointer neh, It's tether time
 
High-rep user's wrong answer has two upvotes
Low-rep user's wrong answer has two downvotes
 
Let me check that once the page is loaded :P
 
Ah, the low-rep user came to their senses and deleted it. Along with the other three that gave the same broken answer
 
10:20 AM
@Pekka웃 Voting aint useless. With enough votes you'll get swag
 
@Gordon lol
 
and to finally summarize your point:
 
@PeeHaa $isMasked = ($secondByteBinary[0] == '1') ? true : false;? Really?
 
@DaveRandom Rather: $isMasked = $secondByteBinary[0] == '1';
 
@Gordon Generally yes, although I'm just rewriting it a bitwiser (Oooh, I'm so funny)
 
10:22 AM
@DaveRandom you are so punny
 
:P
crap you found my code @DaveRandom :(
 
@PeeHaa Don't worry, I'll be nice. I can't criticise PHP devs for not doing bitwise stuff, it's generally way out of the comfort zone that PHP sets out to provide and binary math is a little bit mind-melting. I often screw things up and I deal with it a lot more than most.
 
@DaveRandom :)
 
@DaveRandom Never used bitwise, so what use does it have in the context you're using it for? Comparing strings to make sure they have no hidden chars?
 
@NullPointer I am not sure that spamming the Warning stuff all over SO is good for the site. Google might think it's duplicate content. Besides it's a bit annoying to have 90% of the answer consisting of a screaming WARNING and only 10% actual answer.
 
10:30 AM
Looking at the manual - takes me back to Electronics A2 with all the XOR gates and logic boards we made, PIC chips etc
 
@Gordon its like answer + warning message in case it need ...if its bad .. ill stop doing it
 
@Gordon There's no other way to drill it into newbies heads not to use it though right, unless they see it all over the place?
@Gordon On the flip side, I feel sorry for Jeffrey :(
 
Well, I appreciate the good intent but it kinda feels cargo cultish to me. Like back when @Pekka and I used to slap down everyone with "Thou shalt not parse HTML with Regex" and linked to "the rant" instead of giving an educated, reasonable explanation why one would not want to do that.
 
@Jimbo There is often a lot of bitwise stuff involved in writing network protocol implementations, often they are binary formats. For example in websocket frames there are several boolean/flag fields represented by a single bit, and some integers represented by a partial byte, the only really sensible way to extract that data is with bitwise operations.
 
anyway, back to my PHP 4 code
 
10:37 AM
@Gordon PHP 4 code?
 
@Gordon :P
yay. teh internetz is back
 
<? ?> == 4 (<? i am here between 4 code ?>)
 
2 days ago, by Gordon
I still have to support a PHP < 4.4 application
 
@Gordon sounds like fun.
 
@PeeHaa What is this.. internetz you speak of?
 
10:40 AM
on some devices not having much memory sometimes PHP 4 is the only option ;)
 
PHP4.4.9 was released on 2008-08-07 why one want to still stick with that ?
 
@hakre make sure to click the permalink for the whole picture of the "fun" involved
 
sometimes you can not follow the mainline ;)
 
what would be the easiest way to clone a server into a VM?
 
10:43 AM
@Gordon chroot?
copy the files, get a boot disk for the same OS, boot, chroot. done.
 
@hakre hmm, that could work. thanks
 
@Gordon yeah, I learned something in the "linux the hard way" course at university. ;)
 
Hi all
 
Hi @Alexei.
 
Hello
 
10:55 AM
How monday is going ?
 
@Alexei Shit as often is the case with mondays
2
 
If mondey is shit I hope weekends was good
This way it make sense
 
we are kinda attached to Fridays in here
WTF?? The pope is going to resign?!?!? Since when can pope's resign?
 
13 hours ago, by webarto
Waiting for next Friday so we can post Rebecca Black, how pathetic is that @tereško?
@Gordon I thought that was for life too, better kill 'im. If for health, than OK.
 
@Gordon Whaaat
The pope can't resign!
Lightweight.
Dibs on the popemobile.
 
 
Goodmorning everyone!
 
@Caspert morning
 
@Caspert Hi
 
11:23 AM
@Caspert Morning
 
I have an question for you guys. I have some similar asked before, but now I think that I can ask it more specify. I have some repeatable fields for my metaboxes inside WordPress. The name attribute has the array symbols [] and a number that increase after add a new row. I can set multiple values then. When I save the post the rows will be overwritten by the default one and the value will be 'array'.
Ok, when I take a look at my database I see that the values are saved, but in the backend the doesn't show. Does anyone know the problem and of course a solution?
This is the array inside the database `dsmeta_image_caption
a:2:{i:0;s:5:"Hello";i:1;s:16:"A good day today";}`
 
@Caspert when it says "array" you are likely trying to echo the array, e.g. string conversion. try to access the values inside the array instead.
 
is the main site down ?
 
@Gordon I think yes I am not a pro in PHP but I think this is what you refer to: $meta = get_post_meta($post->ID, $field['id'], true); This will get the values and inside my input field text I call it with $meta =>> echo '<input type="text" name="' . $field['id'] . '[]' . '" id="' . $field['id'] . '" value="' . $meta . '" size="30" /> ';
@tereško Yes it doesn't work for me to.
 
@tereško all SE sites apparently
 
11:35 AM
@Gordon all but google cache ;)
 
it's the new server-farm .. did someone nuke NY ?
 
@ircmaxell You're nuked?
 
@tereško it likely has to do with the pope resigning
 
Y U NO ONEBOX?
 
11:36 AM
@Gordon I think world is ending. Pope got a tip from God and bailed.
 
@DaveRandom step 1: check if NY is still there
 
@webarto finally. was supposed to happen in december already
 
@Gordon He was on vacation :P
@tereško @ircmaxell is offline, chances are it isn't.
Driving cheaper than 'mericans.
 
@hakre I just found out the server is a VPS running on Parallels. Apparently I can simply do a backup and the convert it to a virtualbox. Still need to find out how, but google says it's possible.
 
@Gordon Sounds fair or at least that it could be possible that way.
 
11:43 AM
Someone should post to StackStatus: Have you tried turning it off and on again?
5
 
user680786
stack is finally overflowed
 
(2/8/2013 23:58:03) x.y: later, github
(12:44:10) dejan.marjanovic: good morning, github
Bring it on, Monday.
Some say, I drank 2L of Burn, and I can't calm down.
 
im not delv-ing on answers that arent totally harmful
 
12:39 PM
Hay is there a way i can generate a CSV file with bold characters from php
@NullPointer
 
@ScoRpion... ascii plain text does not have bold characters. that's why it's called plain text.
 
@webarto spam
 
instaspam, marked it...
mb_strlen($str) >= pow(16, 4) - 1
Am I making any sense? Shouldn't it be strlen?
Better drink my own piss @PeeHaa
 
@webarto Allah bless you.
 
12:51 PM
Thank you, same to you.
  private function verifyRequest()
  {
    return $this->params->s === hash_hmac('crc32', $this->params->p, APP_SECRET);
  }
:D
 
if($this->userTrail->started === false) {
    sleep(2);
    $this->userTrail->startup($this);
    @log2mail('answer(): manual startup triggered');
}
 
O_o Why sleep?
 
@webarto if only I knew
 
Do sleeping PHP programs dream of electric sheep?
 
Not sure, but PHP is synchronous.
 
12:58 PM
@NiekBergman only when installed on Android
 

« first day (849 days earlier)      last day (4104 days later) »