« first day (1010 days earlier)      last day (4164 days later) » 

00:02
night Dave
28 mins ago, by Amal Murali
is sunday less active on stackoverflow? just wondering.
No, StackOverflow is less active on Sunday.
lool
@LeviMorrison: haha, yeah, that's what I meant.
it's 5.36 AM here. i need moar coffee. :D
00:32
Image comparison is very complex. using labcolor model is better because the model and distances between colors more closly resemble how people perceive colors.
rgb and hsv/l taking the distance between pixels gives mediocre results
 
2 hours later…
02:20
people alive here?
Chat is not dead, it's just sleeping.
Wake up smart guys
@AshKetchum alive
02:38
ditto
@CCInc yeeee
@Orangepill yeeee
02:52
not much for incoming php questions...
@Orangepill what?
@ashketchum just a slow day on the php tag at SO
Oh yeah, haha
03:07
whoo hoo... just got broze arrays badge :)
@Orangepill nice :D I think mysql bronze is harder though
@DaveChen Got that one 3 days ago :)
you're crazy...12k in 2 months... -- not so much crazy as just skilled :)
@DaveChen I don't know about all that... and it's more like 2.5 months
woo +6 on a comment :P, I should get rep! :D jk
-2
Q: How can I do this for my website?

user2605381I have a little design question. I would like to make my website to where it has a header with a line two both sides of it. ------------- Similar to this ----------------- I don't know how I should go about this, and I couldn't find any sites implementing it to be able to peek into their html/...

03:14
+7 now :)
You get something at 10 right?
haha I wish! wait actually I'm not sure
No... it's after 10 comments with a score of 5 or more... Silver pundit badge
I think I got that already from posting don't use mysql_* comments :P
That would do it.
@DaveChen lol
03:23
ewww drew on my concept art :( meta.stackoverflow.com/posts/189799/revisions
03:59
@DaveChen: here's one :P * upvotes comment *
@Orangepill man wow :D
that's a lot of badges
04:20
here OP needs to view code of function. lolzzz.
morning
morning
04:29
If I put a tall table inside this <div style="max-height: 300px; overflow: auto;">TABLE</div> it should show a scrollbar right?
@crypticツ there should be
@crypticツ jsfiddle.net/ZEbkU you are correct
dev.cv-pls.com/backlog not sure why it's not
@crypticツ where is the div ?
04:35
@NullPoiиteя the table header is actually in it's own table so all the question rows are in it's own table and that table is in the div
I only need the scroll applied to the question rows
g'day gents, and lady :)
morning
@crypticツ oops ..
@crypticツ does it work on scroll? got it working for me :P
@NullPoiиteя trolling sheep haha
04:38
@DaveChen nope
^ overflow-y
@DaveChen why is it still not working for me O_0
looks amazing I have to say, excellent work :), can you try pseudo:after {}?
@DaveChen I mean it's working for you and it should not be so hard to do as it's just overflow. All you did was change overflow:auto to overflow-y:scroll?
yes, that's all I did
but that was after the page was done loading (firebug), so it might be replaced by another style or by javascript
04:42
@crypticツ What seems to be ze problem?
Yesterday my badge progress for [tag:Copy Editor] was 433, and before that 434, and today it is 432. Anyone knows why it is decrementing everyday ?
@Jack can't get the div container to scroll on overflow, it's such a simple thing =oP
I'd highly recommend giving the div a class name and then defining the overflow as .classname...
@YogeshSuthar Probably question deletions.
@DaveChen I know I will later, just testing right now. Also style attribute should have precedence over inline and external CSS
04:42
@crypticツ That should be pretty straightforward stuff .. let me see
Not just because it looks nicer, so you can use :after
I still feel it looks nicer without the scrollbar lol
@Jack okk. Thanks.
even using !important does not work
How about !extremely-important ?
7
You're right :) updated.
04:44
how would you guys chime in on the comments for stackoverflow.com/questions/17779677/…
@Jack the height will be dynamic it will auto-resize to fit screen so will essentially be the same as using the main scrollbar for page but with thr added benefit of having the options, header and legend always visible. Just testing with a fixed height
@crypticツ why not have it stick (like sticky header) instead? having the scroller bar on the div doesn't look better imo
@crypticツ Hmm, I would argue that if you're using this often there would be no need for the legend :)
Or rather, no need for the legend to be always visible.
Also, one scrollbar > two scrollbars :)
@Jack I would have to agree with Jack on this, hovering over the icon gives the description anyway.
@Jack well the 2nd main scrollbar should not be visible since it should not be created as long as page contents are sized to fit using the inner scrollbar
04:49
Ah yes, that's true :)
@DaveChen it's not just the legend, it's the table column names
or do use sticky table names :P
@crypticツ The column names can be repeated ... and, having looked at it once or twice, I know what each column is for :)
oh wait what am I doing, I shoud be able to use sticky header now that I redid the HTML
I forgot completelty why I did not do it earlier
blah
yey completed 1000 suggested edits. :)
@YogeshSuthar Damn, I haven't reached there yet =/
~800 here :D
@Orangepill Not much to comment on imho, I think it's well covered :)
@Jack You need some dedication for this. New gold badge. :P
@YogeshSuthar The dedication is there, but I don't like to stake out the review queue lol
2
04:54
@Jack hahaha
Also, maybe if they gave a badge for every 1000 questions reviewed, maybe the close votes queue would get reduced as well ;-)
@Jack For closing question, it requires I think 10K rep points. So many users don't have that much of rep. :)
mornin
@Jack I received my 1st gold badge for close-votes . :P
@YogeshSuthar Hmm, CV requires 3k I believe.
@YogeshSuthar Yeah, I'm at 1830 close votes now, but no incentive when I reach 2k =(
05:00
@Jack Ohh yeah its 3K.
@Jack When we directly closing question from question rather than queue, its not incrementing the close votes counter. :(
1
A: PHP variable initiation in super class

JackLike Java, the superclass constructor is only called automatically when the child classes don't implement their own constructor. Alternatively, the initial property values can be declared as part of the class definition if they're a constant expression. So, basically, your choices are: Initial...

I think OP is a bit confused about this ;-)
lunch time! =D
We have 3 hours left . :(
@JAck how do you load an answer into chat like that?
@Orangepill directly paste link of your answer without any content. :)
@YogeshSuthar Thanks
05:10
@Mr.Alien 998 for css tag. Awesome. :P
@YogeshSuthar Just 1 to gooo boooom ;) btw yours is same for PHP tag ;) I will be getting silver soon in PHP
@YogeshSuthar check this out
@Mr.Alien I have 974 for PHP. :(
@YogeshSuthar lol, you'll get a gold soon, btw I will be 26th guy to reach there in CSS
@YogeshSuthar btw there's an issue there, I rewrote articles.php to /articles but I don't know, why it shows me 404
@Mr.Alien Ahhh yes, so I am not the only guy who receives 404 on 000webhost. :)
@Mr.Alien The effect is done using CSS or CSS + JS?
@YogeshSuthar lol, I guess the htaccess is cached
@YogeshSuthar Pure CSS--- CSS FTW for me always, and even the html5 and css3 are icons and not images ;) will be making my custom for php and js as well
05:23
@Mr.Alien ohh gr8, let me get gold badge for PHP, after that I will go for Android and CSS. :)
@Mr.Alien do it immediately. :)
@Mr.Alien ohhh I can't vote for its deletion. :(
@YogeshSuthar aa good, I am having html5 following for a gold and also php for silver, as well as html5 for bronze, I got more badges than you do bitch
yes u cnt
@YogeshSuthar You are almost there...
@Orangepill I see, you are growing talent here...
05:35
@Orangepill for gold badge?
@YogeshSuthar Yeah... I still got 225 to go.
@Orangepill And I have 25 to go. :)
Good morning
haha I always feel rtl is weird
i have turned off output_buffering in php.ini but set it again in my script using ini_get( 'output_buffering ' , "on" ) but it still not working
Can anyone help me ??
05:42
This guy is asking questions every few hours
@Orangepill You can use the same Markdown as for comments in here as well to create links like these.
@Mr.Alien You almost have a gold badge for ... lolwut
@Jack oh yea ;)
That's very specific heh
@Jack very much ;) and btw did you see this weird behavior? any idea why it happens?
@Mr.Alien I don't see anything wrong. jsbin.com/aguwul/1
05:55
@Jack jsfiddle.net/XEQSN type aaa bbb ccc ddd eee
now type 111 222 333 444
and see the difference
oh, the spaces matter.
@Mr.Alien This is magic. :)
@Jack lol no, I can't believe you are not getting it, wait I'll show you
@Mr.Alien No, I get it.
I'm saying that the spaces matter, because if you type 123 it shows okay.,
But in Arabic, numbers work that way afaik.
He is expecting 111 to left and 444 to right
05:58
@Mr.Alien Oye, I already said I know the diff.
@Jack Oye you didn't.. accept the fact that you are an oldie now, and your brain doesn't work anymore :p
How did you work that out? The spaces make a diff, that's what I said ... and it's true.
If you type "123" it comes out "123" .. if you type "123 4" you get "4 123"
@Jack space is ok there, he just needs the direction to be consistent with alphabets as well as numerics
Nvm, either you're choosing not to understand what I said or I'm somehow not making myself clear, so let's just choose something else to talk about lol.
@Jack lol, thats a better choice ;)
@Jack Same as I answered :D I love myself...
From what I understand of Arabic is that even though they read from right to left, groups of numbers are written left to right
@Jack I guess we need to ask @hamza for this particular thing
And letters A-Z are not used in Arabic unless maybe when they're used for foreign addresses? ;-)
Yea, that's right, I didn't thought that at first place
@Jack what language do you speak?
06:08
a few :)
mother tounge
I was asking cuz I wanted to know that do you people get keyboards customized according to the lang?
My mother tongue is Dutch; switching keyboard layouts is done easily in Windows simply by installing multiple software keyboards.
Ohh got it, I've never used any other lang to type apart from english, even if I need to deal with clients overseas, I use g translate
That way you can easily write Chinese 你好吗 or Korean 마사지 ;-)
Btw, Koreans have an interesting keyboard layout that enables them to type pretty fast ... they put the vowels on one side and consonants on the other.
06:24
I would like to see that, will search for an image ;) btw chinese or japanese, which one has some 3.5K alphabets? lol, how can they even remember that
They both have extensive alphabets ;-)
@YogeshSuthar what is the difference between 'function':'initiate' and function:'initiate' in the question you just answered... I get the same results either way
To top it off, Japanese even has three different writing styles :)
and with weird characters
Why php devs think that using exit; after header is a solution if the page doesn't redirect?
06:30
@Orangepill I have written that based on jquery's official documentation. :) For eg. $.post("test.php", { name: "John", time: "2pm" } );
@crypticツ 1 suggestion, can't we have sorting for votes?
or am missing something
@Orangepill Its also has this format $.post("test.php", { "func": "getNameAndTime" } . :) Never noticed, So both are correct. :)
@Mr.Alien I was thinking of having that, but it kinda messes up caching of the table. I'd have to rethink how the TBODY is cached then. Right now the raw HTML is cached
@crypticツ ok, cuz I wanted to target the 4s first and not the one with single close votes... this way we can get much of the crap out of there quickly
@crypticツ also you should be using target="_blank" on question links
@crypticツ Draw the HTML via a JavaScript model; that way you can sort and redraw :)
@crypticツ Oh ... I like =D
06:39
@Mr.Alien there is an option for that, you choose that option and it will toggle new tabs for all question links
@crypticツ my bad, got that option...
Perhaps it should _blank by default though, just like this chat room window.
@Jack that's a job for @DaveRandom =oP
@crypticツ Lol, I could probably do that too ...
@Jack actually it's good to have optional, tabs will be annoying for that
06:42
@Mr.Alien Hmm ... I'm trying to think of a scenario where you don't want separate tabs.
Normally when doing review queue I open in new tabs as well.
@Jack Yes, I was going to suggest that links which we get in the close window should be opened in new tabs .. as it's annoying when I click to close vote and it happens that I click on the links as well...
I wasn't sure which one to show, what do you want to see? — user2602990 1 min ago
lolzzz
haha
06:55
probably added column set to not null and mysql complains about it.
@Jack OP is saying every time I try to add a new column in the database, it won't let a me register a new account. I think it should be row rather than column. :)
It won't let me register a new account, rofl
@YogeshSuthar Nah, column, what if it's set to not null, so that column needs the data any how, if it didn't, it will simply wont accept the insert statement
@YogeshSuthar shrugs dunno.
and yes, i added it as NOT_NULL, should I try with NULL? — user2602990 43 secs ago
Aha ... mentalist baby!
@YogeshSuthar would you like to help our home girl?
@Mr.Alien For creating new account, you should have to add row than column. :)
06:59
> Hello everyone My self swati
hehe, that's cute.
@Mr.Alien yey I flag that question :)
@YogeshSuthar you are not getting him, he said that when he adds a new column, he cannot REGISTER <<<
@Mr.Alien I'm starting to see a pattern of misconception here ... maybe it's Monday.
@Mr.Alien That's why I CV as unclear what you're asking. :P
@Jack first with you, now with @YogeshSuthar
@YogeshSuthar lol
07:02
hahaha
I feel drupal is way more easy compared to joomla
@Mr.Alien I was going to add "or maybe it's you" actually lol
0
A: PHP differences between posting base64 image POST value and $_FILES

OrangepillFrom wikipedia Thus, the actual length of MIME-compliant Base64-encoded binary data is usually about 137% of the original data length That in itself should tell you which is better for performance.

am I right here?
or does php convert to base64 when doing multipart/form-data on a file post
@Orangepill File uploads via $_FILES can also be (and usually are) base64 encoded.
@Jack Oh please, its you both who are numb...
How much time it will take to decode something like this sha1(md5('hello'))
07:05
This is working really awesome ., thank you for helping :) — user2574957 2 mins ago
@Mr.Alien Not much time at all, because it's stupid lol.
@jack why is that the case... to make it 7-bit safe??
@Orangepill According to the standard, a file can also be transferred using binary.
Or quoted printable even.
It's just that b64 is dominant.
@Jack tell me seriously, 100 years, 1000 years, what
@Mr.Alien infinite. :P
@Mr.Alien joomla question
07:10
@Jack I guess you are in no mood to work today
@Mr.Alien Dunno, probably within a day. Maybe even within an hour.
@Jack aaa jeez, thats cheap
@YogeshSuthar Dunno
@Mr.Alien Cheap in what sense?
@Jack the security :p
I was thinking to use that for passwords, rather than using crypts and saltings
@Mr.Alien And you're calling us numb? =p
You better be trolling.
07:13
@Jack Yea, hit me brick
Who knew we could use @Mr.Alien as a battering ram?
LOL, hell no... forgive me :s
@Jack need help here, not me, but to that poor guy
07:20
@PeeHaa mornin
@PeeHaa morning
@Mr.Alien Hmm, OP is not showing the full code I think.
@Jack even if it's not a full code, logic stays the same...
@Mr.Alien Sure, but I can't see where he's adding the table header you see.
That part is conveniently missing.
Yes, he just pasted raw html and not the flow code
07:24
You're probably right though, with your answer I mean.
Accepted lol
Yea, I use that too.. and lol.. mission accomplished..
You fixed his problem Sir :)
I need to take out mr from my name now ;)
Yeah, you should change it to "Sir Alien"
facepalm, either I get my real name there or just Alien
07:26
@Mr.Alien Sir lolzzzz
but I don't like to fiddle with the name
@YogeshSuthar you are older than me, facepalm to you too
@Mr.Alien lots of people call me Sir, when I answer them. :)
Can I get your email-add or facebook name sir? If it's ok — Si Derf 32 secs ago
@YogeshSuthar It's a sign ;-)
last week, 3 people asked me for the email ID, thinking to start off a service, kinda side income
07:29
People asking you for contact details is a sign you're helping too many noobs ;-)
@Jack nah, not always, some are beginners, they need some help to start off, for example this guy here
@Jack lolzzzz yes they are help vampire. :)
@Mr.Alien You're just enjoying disagreement aren't you? :)
@Jack Always :p
Read the comments here
Hi!! Can anyone tell me the best ebook or tutorial for learning wordpress?
07:38
@PiyushArora google.com is smarter than we people, he will suggest you some good resources
did it. But, not sure from where to start.
At this point, the upvote button is more of a 'Like' button for jQuery... — Patrick M Aug 21 '12 at 3:55
haha
I want to learn it as a developer.
@Mr.Alien Look at the revision history of that question.
jQuery on, off, on, off, etc.
Btw, this answer is pretty awesome heh
I wonder why they coupled post_max_size and upload_max_filesize together; doesn't seem like a great design choice.
I can imagine a situation in which I want to support big file uploads but not wanting to allow, e.g. 200MB posted data.
07:50
Probably edited that way to make it CW and let me see the other one ;)
@Mr.Alien It became CW because of 30+ answers lol
@Jack wut? there was such a rule before?
@Jack I ignore big huge uploads, max I've reached is 10mb I guess
that too for the db
We allow 100MB uploads.
But I wouldn't want 100MB of memory wasted.
One question here, say I allowed 100mb
the upload broke at 75mb
so what happens to that 75mb
It gets discarded afaik
07:53
doesn't reside on the server cache?
I don't think it appears under tmp_name
Server cache? What server cache?
Yea that's what I asked, I think, it stays..
@Jack I just meant the temp dir
Never tried tbh, but it would make sense that if $file['error'] is set, the other fields are not set.
Let me search that
wait
mondaying
07:56
LOL I am not getting the right keywords, lets ask @Ocramius here.. please read above 5-6 sentences, any idea?
@Mr.Alien The manual seems to suggest that partial files are available.
@bwoebi its noob question. :)
But in a corrupted state
@Mr.Alien: not following...

« first day (1010 days earlier)      last day (4164 days later) »