« first day (1118 days earlier)      last day (3844 days later) » 

12:00 AM
I've posted enough spam here, I deserve to be here.
 
Somewhat surprised I'm not on that list. :P
I guess I lurk too much.
 
Wonder how it's calculated
 
I assume number of posts average over a number of days
Night all.
 
anyone any good at making things look nice ?
 
Depends on how you define "things" and "nice" ;)
 
12:14 AM
a single table full of geeky type data
the explain.php is pretty simple ... but the output looks nasty ...
/me pokes EVERYONE !!!
 
reddit is also hriing if u want to be paid to reddit
front-end though
 
@JoeWatkins Can you post HTML of it, pretty please.
 
12:59 AM
test.html in the repo
I just updated to include some code, would be awesome if it looked nice :)
 
toor@f4c3b00k:/etc/php5# php -m | grep expl
explain
argh :)
 
you got it installed, good idea ...
 
@JoeWatkins could you check is there, by chance, \uFFFD appended to ZEND_SEND_VAL thingy. I'm seeing that char for no reason.
 
I see it too, just probably because file encoding is not set ...
written in nano/gedit
 
1:15 AM
Should I leave a column empty in SQL or use NULL?
Because I have a varchar(55) and I dont want to leave it blank, so what would be the best practice?
 
set a default on the column
 
Okay and so if its empty, it will go to the default?
 
nope
'' is not empty...
NULL is empty empty
'' is empty
wat
 
lol
oh wow
:s
I only just opened the file, that's all !!!
 
1:38 AM
You've unlocked Matrix, dude.
 
found some problems with lengths there
pull
text editor will still report its binary because of chars included
 
2:00 AM
how would i create a form where elements only display if a certain option is selected. and the data inside the form elements changes based on your selection in an earlier form element?
 
@JoeWatkins I'm not saying it's pretty or anything tfzr.net/explain.php, just a bit different.
 
yes yes yes
that
gimme gimme
how did you highlight it like that ?
 
Just applied highlightjs.org, needs a better 'lighter theme highlightjs.org/static/test.html, possibly similar to php.net... it's not hard to change few lines of CSS tho.
 
oooh coool ...
that's how it looked in my head ... only I suck at that sort of thing ...
 
It means you !suck at programming.
I made this microsite enerlogic.cacfolija.ba few years ago, I can't even remember it, I couldn't do it now.
 
2:07 AM
I added you to the repo, can you commit your changes for me pls ?
 
Yes, Sir. Let me just clean up a bit.
 
2:29 AM
I'm so slow :)
 
you really are !!!
lol
 
had to boot "cdn" php.net.so :P
 
where's that ???
 
In Dallas I think :D
didn't want to clutter repo with CSS/JS :S
Q: how does this even work? :D
 
duuuuude
thanks
it's just an op array dumper
decompiles it to something we can read, analyze, make graphs from
and make look sexy !!
 
2:40 AM
domains, servers, cocaine, you name it
 
or u can ...
 
hah
I'm, too sexy for my code, too sexy for my code
ok, drugs are starting to wear off, better hit the bed
 
w000t ... thanks man, totally appreciated and what not ... :D
@Levi check out Wednesdays project: github.com/krakjoe/explain
@webarto made it look taaasty ...
 
:) I saw it briefly this morning.
Interesting project.
 
thank you for letting me crap on your repository
:)
 
2:48 AM
now its all fancy and what not ...
plus it works ...
 
why not make it a service?
who said that!?
@webarto I did, what you gonna do!?
 
yeah maybe the codepad guys will pick it up ... I've got no spare servers going at the minute ..
 
ok, we got print-r.co (nverter), var-dump.co, punycode.co, explain.??(?) ?
serverz, I haz it
 
then let it be done ... the real answer to the question why don't I do it is because you saw how it looked ... :D
marginally better than gdb it was ...
and only because the numbers are smaller
 
we're cli dwellers
tabs and spaces is what matters
hah
too bad you've left internals, just read it :(
 
2:53 AM
nah fuck that I'm over it ... I plan to just ignore dick heads, and tell people when they are being dick heads if necessary to excuse my ignorance ...
 
tilting at windmills
yes, pick that skill from @tereško :D
 
:)
shit man, 3am is here again
 
4am for me
didn't happen in a while
don't you have kids to drive to school tomorrow? :)
starting to pass out... thanks for the fun night :) cheerio
 
thnx u too :)
yes driving in few hours :s
me sleep too ... nite boyz
 
 
2 hours later…
4:59 AM
Goodmorning!
 
5:20 AM
Hello ALL. Anybody JSP developer here?
I have one query regarding JSP alert box.
 
@Prince this is the PHP room...O_0
 
@crypticツ Okey. Can you give me reference for JSP rooms ?
 
user652649
morning
 
5:35 AM
@Prince chat.stackoverflow.com see if there is one, if not then open up a question on the main site provided it's on-topic.
 
@crypticツ Ok thank you.
 
user652649
@Prince ask in the java room?
 
@Wes Actually i am Android dev and just starting with JSP.
 
stackoverflow.com/q/5366667/168868 -- yes, it's my own question, but it does nothing but attract downvotes from people that object to my regtagging practices. Once it's closed I can successfully delete it. :p
 
0
Q: dojo.xhrGet Not Sending any Data

PirabaI want to take dojo Get data from ajax to php This is my code : globalHandlers: { doVsatEvents: function(vsatId, network, cpa) { // retrieve the events via xml dojo.xhrGet ({ url: "includes/vsat_events.php?cap="...

pls help anyone
 
5:45 AM
@Piraba Code dumps are useless. You have to say exactly what is wrong, why it's wrong, and what you've tried in order to fix it. Do this in the question, not here.
 
I have modified my question
i couldn't take passing parameter to php file
 
@Piraba You realize that you have a syntax error in the javascript, right? Trust the code highliting.
 
6:29 AM
@Pirabe have you validated that your JS sends a valid request to PHP using Developer Tools in your browser?
 
No
I don't know how to validate
@ThomasWeinert how can i check this
 
@Piraba which browser are you using ?
@Piraba $query .= " WHERE cpa` = ".$_GET['cpa'];` that is awesome ...:)
is your website is live ?
 
6:46 AM
firefox
centos
OS is centOS
no
 
@Piraba press F12 magic will happen and you will see developer tool :) you can also use firebug for the very same reason
 
Anyone got a nifty way to detect when a web font it loaded?
 
although first just press f12 and post message here and you will see request sending while posting message here ... so that will be quick demo
@Piraba see ^^
 
Morning :)
 
@Cool2beblue @AlmaDo morning
@AlmaDo LOL
 
hehe
 
morning
 
7:06 AM
yeah pretty normal ... I don't get to sleep !!
 
how so?
 
@JoeWatkins dont you feel sick ?
 
nope?
 
i used to do that(sleep only 2-3 hour for day) for a year than i really unable to find difference between day and night even and felt very few energy all time...(i think its sickness ) ?
 
aah I can still tell difference ... the night time is when the kids are asleep ... :D
 
7:12 AM
hahaha
 
Oo..
lack of sleeping will cause sickness later..
 
@AlmaDo it will also cause late of hair on head :D
 
if I slept less that 6 hours, I'm not a man
 
? 404..
 
7:21 AM
@AlmaDo its working fine for me
 
):
 
lol
ROLF :D
 
@NullPoiиteяღ this is sad :\
 
Good morning
 
7:28 AM
morning, @ircmaxell
 
@ircmaxell very good morning
 
Morning
 
Morning
Every one
 
How's everything this morning?
 
okey dokey
 
7:39 AM
@ircmaxell you first :p (I guess it's night for you now)
 
cold...
 
I am doing quite fine
and no, it is 8:40 for me this morning
I am in Berlin :-D
 
@ircmaxell same timezone as me then.
for a change.
 
What you doing there?
 
Symfony Live Berlin
 
7:41 AM
?
 
Confrerence?
 
yup
 
Yeah, I don't think he went to the theatre :)
 
I love classical music
 
7:42 AM
Aw crap, I could have gone actually.
 
morning chaps
 
same here :)
 
last night was productive
 
@Jack come for tomorrow
@JoeWatkins dude, that's awesome!
 
Inorite
 
7:44 AM
@ircmaxell do you speak german?
 
@webarto made it not look like crap ... it's pretty cool tho ... tired of looking at op arrays in gdb
 
morning
 
@ircmaxell today would have been the only day I could have made it actually =S
 
@AlmaDo tomorrow is all in English
@JoeWatkins you've seen VLD, right?
 
got that
 
7:45 AM
ah yes ...
 
not saying it's better, but it's better than GDB
 
yeah it's more advanced too, does branch analysis and hooks into execution ...
this gives you the op array in userland so you can write the tools ...
 
wait, what?
 
you can haz op arrays
 
/me goes off to rewrite PHPPHP
 
7:47 AM
:)
 
There is always something more amazing than last time: https://github.com/krakjoe/explain Explain All The Things!!! Awesome job by @krakjoe
woah, just crossed 3500 followers
 
lol
You still behind Justin beiber/
 
@JoeWatkins Great job =D
 
@Jack :D
 
Goodmorning all
 
7:59 AM
morning
 
morningz
 
Good morning guys
I have a question to ask , is there somebody to answer ?
 
ask away, if we know the answer, you will get it ...
being mentioned by @ircmaxell makes your twitter busy !!!
 
Hi, I have similar issue, stackoverflow.com/q/12921381/430112
I want to find the difference of the two arrays.
 
Good morning.
 
8:03 AM
I want to learn a framework in php , but i'm confused what to start with !
The framework should be easy to learn .. What should i opt for ?
 
good morning (ugt)
 
array_diff doing with first array only.
 
a am using Russian culture, so the dot is not problem — Armen Mkrtchyan 5 mins ago
 
morning @Duikboot
 
Hi!
 
8:06 AM
morning @AlexanderYancharuk
@AdityaVikas you realize, there is no good way to answer that question ...
 
After 5 years I'm going to start again with my previous hobby after a great show last night of Parov Stelar, Im going to start playing the sax again.
 
why ? @JoeWatkins
 
@JoeWatkins Same for Tyr43l his tweet got retweeted a heap of times. Silly thing flooded my mailbox (i hardly use twitter, still get mails for every mention/retweet)
 
@AdityaVikas believe it or not, there are too many variables ...
 
Best way to learn framework in php is to start write your own framework :)
 
8:08 AM
$a1 = array('a','c');
$a2 = array('a','b');
 array_diff($a1,$a2);
result array('c')
 
@AdityaVikas Basic question first: why do you want to learn "a" framework. If it's learning you want, make your own. If you have a specific goal in mind, be sure to take that into consideration..
 
I am expecting array('c','b');
any idea
 
@DamienOvereem My intention is to learn MVC architecture
 
Note: my array keys are not numberic, other wise I can use array_merge
 
( Q : does anyone know how to see all printer ip's in a network? )
 
8:10 AM
@Duikboot nah, phone the IT department ...
 
we don't have that :D
someone is here to calibrate all the stuff but needs to know the printer ip's
 
@AdityaVikas Then learn MVC architecture. You'll find that bit easier then learning an entire framework ...
 
thanks for your valuable suggestion @DamienOvereem
Ok. So , at least tell we what would be relatively easy to learn among CakePHP, Codeignitor, Zend , Yii @JoeWatkins , @DamienOvereem
 
Only a person that actually dove into all 4 of them deeply would know that answer for sure.
I can only tell you that Zend framework has a reasonably high learning curve
and i've heard that cakephp and codeignitor are easier to learn.
 
@AdityaVikas well I can say that CakePHP and Codeigniter are older than the hills themselves, and that YII has a pretty terrible reputation for being awful code ....
 
8:15 AM
Don't forget Symfony in that list btw.
 
and Silex
 
Yep and Symfony derivatives :)
 
@AdityaVikas if you want to understand MVC architecture, frameworks will not help with it
 
nice .. i've already started with Codeignitor , so i'll continue with it
Thanks for all your answers
 
ehm ... okay
 
8:24 AM
Hello guys.. I trying to read a file line by line but it skips the first line. Here is the code:
$file1 = fopen($destination, 'r');
while(!feof($file1))
{
	echo fgets($file1)."<br>";
}
 
That code looks okay.
 
but why it skips the first line then? :S
 
@NikiC I don't see any emalloc() during execution? Only during compilation and that could be done the same way like with opcodes: emalloc() some buffer and realloc() it if needed.
 
yeah I see no room for error ...
morning @bwoebi
 
try to:
$intersect = array_intersect($a1, $a2);
$result = array_merge(
array_diff($a1, $intersect),
array_diff($a2, $intersect),
);
 
8:27 AM
when i check out different websites for MVC , each has its own explanation for that , and it confuses me a lot, So can u please suggest me a good website to find tutorials for MVC
 
Is there any alternative way to read line by line?
 
@xoemab The code you have shown doesn't skip the first line afaict
 
@Jack I try to read srt file.. can this be the problem?
 
I don't know the format of subtitle files.
 
8:32 AM
The format is your problem.
 
@Jack nothing big its just a txt like file in which every line starts with a time , followed by the "subtitle text" to be displayed at that point of time
 
I don't care what it is ... the code shown earlier doesn't skip the first line of a text file.
 
yeah , true @Jack
 
I used also "file" function but it do the same.. so strange
 
Perhaps ... there's no first line in that file ... dumdum!
 
8:39 AM
and the format seems not to be the problem.. same result for txt file
Well I created a php file just to test this code and its working correctly.. So it seems my problem must be elsewhere... anyway thank you guys for your time
 
@AlexanderYancharuk: Thank you so much, That works good
 
@gowri Hope your production server will not run in out of memory with that code :)
 
Since I am not doing it for very large array, I believe memory won't be a problem
 
8:59 AM
@xoemab Can you make codepad.org link with not working example?
 
@AlexanderYancharuk it skip first line of any file, I can give you my code
 
@xoemab I need also example of uploaded file
I think 10 lines will be enough
 
@crypticツ ;) copied your smiley :)
 
@N0nh4x0rツ =o(
 
9:13 AM
@crypticツ :)
 
@N0nh4x0rツ :*(
 
@AlexanderYancharuk If you remove all my html code and instead of $destination I write fullpath of file its working..
 
@xoemab In my case it process first line correctly
 
@N0nh4x0rツ it's katakana letters - so there are many other options, like シ or ソ
 
@AlexanderYancharuk this problem make me crazy.. I will try php 5.3
 
9:16 AM
this is my output: codepad.org/30xFmrbu
@xoemab What is your current php version?
 
5.4.12
 
hello, @tereško
 
hi
 
such shameful question..
 
9:19 AM
@AlexanderYancharuk I found the problem.. it was because I printed the result inside the <tbody></tbody>
 
i am using header function for redirection... it's working fine in localhost...
but i am wondering will it work fine in server when i upload it?
 
@xoemab :) glad to know it
 
@AdityaVikas there are no "tutorials for MVC". It is an architectural design pattern, not some piece of code that you can copy-paste to "get MVC"
@AdityaVikas also, codeigniter is one of two worsed framework in PHP ... good luck
 
@tereško and what is the second worst framework?
 
9:24 AM
@tereško can you please answer my doubt?
 
@AlexanderYancharuk codeigniter and cakephp shares the title of "the worst"
 
@tereško Hmm... May be later i'll ask question on SO 'Why codeigniter and cakephp shares the title of "the worst"'? Hope, your answer will be best :)
 
meh .. it's quite simple:
- dependence on global state
- php4 artifacts
- complete disregard for OOP practices and principles
- ignorant community
- misinformation about mvc
 
Mornings
 
morning. @DaveRandom
 
9:33 AM
@tereško From this second i hate codeigniter and cakephp, despite the fact that I've never seen their code :)
 
@AlexanderYancharuk maybe you should =P
oh .. forgot one " - weak routing mechanism"
 
@bwoebi yes, I'm talking about compliation. And yes, allocating a buffer and incrementing a pointer inside it is what I mean by stack allocation. But that won't work well if you want to keep alive a part of the AST after compilation, right?
 
@JoeWatkins morning
 
@AlmaDo Oh!! god.. what it really means? or just two letters in that language?
 
@N0nh4x0rツ it's just an alphabet. It means nothing
 
9:40 AM
@NikiC well, can't tell you yet how an AST used for the whole PHP compiler would look like… Maybe that could also remain an AST during execution…
 
Yo
 
@AlmaDo In which place the language is using?
 
@bwoebi seems like a waste of memory ^^
 
listening to a conf in German is difficult when you don't speak or understand German...
 
@bwoebi anyway, not a big issue, doing a partial copy for this purpose is no problem really
 
9:41 AM
@AlmaDo got it.. Japanese syllabary
 
@N0nh4x0rツ sort of japan, I think
 
@NikiC so it should just use stack allocation?
 
@ircmaxell lol buy translator to php
 
@ircmaxell Do you find yourself laughing when everyone else laughs anyway? :)
 
@NikiC should meet @ircmaxell and give him a crash-course in German :-D
 
9:44 AM
@ircmaxell I was listening to an interview with Gordon on Agile ... and I understand a bit of German but even then it was very hard to follow because they speak too fast for me to catch up :)
 
@Leigh no, I find myself wondering what the heck just happened
 
@bwoebi He should at least meet somebody to prove he is not just a group hallucination
 
@DaveRandom I tried to do that last night at @bephpug, but alas, it wasn't to be...
 
I suspect he's really an NSA agent
 
@DaveRandom may be he's a bot written on PHP :p
 
9:47 AM
nah, he doesn't crash that often
 
^ lol
 
i.e. real Nikita written this AI and then released it to the internet :p
 
Maybe he is the internet becoming sentient
 
yeah. prototype for SkyNet
 
I now have 15hrs left of working at my current job. Unfortunately I have at least 40hrs worth of work to do in that time :-(
 
9:51 AM
@Dave wow.. so you're changing your job?
 
@DaveRandom work at triple speed, then you have even more than one hour of free time at the end :-)
 
@AlmaDo Yeh I start a week on Mon
 
@DaveRandom so it's not only me who's doing that (i.e. changing job)
did you found new place?
 
@bwoebi Unfortunately my computer already only works at 3/4 of the speed that I do, so that ain't gonna happen (which is the reason why I am able to piss around in here at the moment while I wait for it to compile something)
@AlmaDo Yeh, I have my first real programming job :-)
 
@DaveRandom work on two computers at the same time :-)
 
9:54 AM
(i.e. the first job where that's what they're paying me to do instead of me just doing that anyway)
 
@DaveRandom is it good for you? (i.e. are you happy with it?)
 
@bwoebi Funny you should say that, I already am working on 2 (3 if you cound the server that I'm RDP'd on to)
 
@DaveRandom then work on 4 computers… LOL
 
@AlmaDo Well that remains to be seen, but I am hopeful
 
@DaveRandom I'm glad then :p
 
9:55 AM
@bwoebi OK. Hijacking yours now :-P
 
yesterday I was sent a letter from SO's Careers 2.0, where they grant me 5 invitations to that site which I can send to my friends
but actually, I don't know how this can help me to find new job (:
 
@DaveRandom you're not good enough to^^
 
I've took 2 or 3 sentences from @ircmaxell CV on Careers 2.0
 
@AlmaDo Yeh, you quite literally cannot give those things away. I have like 50 or something. Everyone I know who might benefit from/want one of them already has an account.
 

« first day (1118 days earlier)      last day (3844 days later) »