« first day (798 days earlier)      last day (4153 days later) » 

12:00 AM
at this level there is no difference
 
@tereško :D
Someone please give a gun.
 
@tereško I disagree; if we were to explain how to use prepared statements and he was using an API that did not support them it would be harder for him to make the conversion
 
@ExplosionPills I use it on XP a lot and it leaks memory like a bitch
 
user1125394
going to try to learn scala
 
OR better yet, two.
@DaveRandom Simple. Don't use XP :)
@igorw can't disagree with that statement :)
 
Anonymous
12:01 AM
You know, in case you have't noticed the hashphp.org wiki.hashphp.org/PDO_Tutorial_for_MySQL_Developers does not provide any reference on how to add a the connect script inside a function. So, I am not asking any irrational question at this time
 
@ExplosionPills he is currently unable to understand passing arguments in a function
 
@DaveRandom weird, I used XP for a long time and never had a problem like that
@tereško I was just making a joke; lighten up
 
@Eugene I work with what god gave me. And a tight-ass IT budget at work and f*ck all money is what god gave me.
 
Anonymous
I know how 100% how to pass arguments inside a function @tereško
 
@DaveRandom change religion :)
 
12:03 AM
27 mins ago, by The COMPLETE PHP Newbie
So, how do I call that inside the function. even the famous PDO tutorial link, I get from everyone in SO does not make it clear how to call connection once in a file..
 
How much do Vista machines cost nowadays?
 
then how comes you are asking this ?
 
Anonymous
function name($name) {
echo $name;

}


echo name("Noob");



Isn't that passing an argument @tereško
 
my mistake , i should have said "variables", not "arguments"
 
@cyril ? confused
 
Anonymous
12:04 AM
I think that is calling passing a parameter.. or
 
@TheCOMPLETEPHPNewbie php composer.phar blablabla this is passing parameter
 
Tab                                      Memory
-----------------------------------------------
Tab: (*) PHP | chat.stackoverflow.com  432,480K
 
@TheCOMPLETEPHPNewbie for programming, use a fixed-width font
 
@TheCOMPLETEPHPNewbie $a = function ( $action ) { echo "Go {$action}"; } $a('sleep'); is passing argument
 
@Eugene technically you don't pass parameters, you pass arguments
 
12:06 AM
^^ Chrome/XP
 
°_° How can I do that? What its the best to do ? Any help is much appreciated. Any suggestions are very helpful. Anyone venture a solution? Thank you so much for the help! What im doing wrong? ^_^
 
Can anyone please confirm that eyedooptic.com is down/up?
 
trolling is back ^^
 
jipieee
 
@MadaraUchiha doesn't seem to be loading for me
 
12:07 AM
trolli trolli trolli trolli trolli trolli trolli trolli trolli trolli trolli trolli :D
 
@MadaraUchiha down
 
@ExplosionPills is your nick somehow related to viagra? :D
 
Anonymous
@tereško Now, you know I know how to pass arguments, can you help
 
@Eugene haha no .. unless you really want it to be
 
You know, the cheap one from china :)
@ExplosionPills joking
 
How can it be that it's up only for me?
 
^~^ Hmm, Is there any nicer way to achieve this? How can I do that? Does anyone have an idea? °_°
 
@MadaraUchiha cat /etc/hosts
 
@ExplosionPills huh?
 
12:09 AM
@TheCOMPLETEPHPNewbie I would highly recommend you to figure it out by yourself. If you can't figure it out then you probably chose the wrong profession.
 
As you ask :)
 
@ExplosionPills Care to explain?
 
@MadaraUchiha open file and eyes
 
@MadaraUchiha it's highly unlikely but I was suggesting that your hosts file has an alias for that site that perhaps is localhost
 
@ExplosionPills he is using The linux , people how use The linux do not know what cats have to do with computers ... aside from cheezburgers
 
12:11 AM
@Eugene No, my hosts file does not contain eyedooptic.com if that's where you're going at.
 
bingo
 
@ExplosionPills No. I've also confirmed that it's not the same version of the site I have in my localhost
By modifying the localhost file.
 
@TheCOMPLETEPHPNewbie I don't want to discourage you, but figuring stuff out by yourself is a crucial foundation to software engineering. If you can't do it, then you won't be able to program.
 
@MadaraUchiha Flush your dns cache
 
@tereško killed one of my old VMs, that run ubuntu, few days ago :(
 
Anonymous
12:12 AM
http://i.stack.imgur.com/NucbR.jpg

@NikiC See, I can do it. But, even the PDO tutorial site does not show how to include it, and it does not work like mysql_ does. I can't include the connection file once, at the top because the functions can not retrieve any data from it.
 
@DaveRandom How do I do that? XD
 
@MadaraUchiha Windows?
 
Anonymous
I can make the it work with this. but I am trying to only call it once and not with every function @NikiC
 
ipconfig /flushdns
(might need admin)
 
12:13 AM
i think i am only one who has not put that user in the ignore-list yet
 
@DaveRandom Still working for me
 
@tereško the complete guy?
 
yes
... also , the stared message looks strange in the sidebar
 
@MadaraUchiha resolves to 0.0.0.0 for me :S
 
@TheCOMPLETEPHPNewbie "connection files" are kind of an antiquated notion
 
12:14 AM
@TheCOMPLETEPHPNewbie Then you probably should go back to learning the basics and not start off using PDO
@tereško itsa gone
 
although 8.8.8.8 resolves is to 69.195.124.68
 
@DaveRandom Resolves to [69.195.124.68] for me
 
Scarry to download any movies now :(
 
WTF is wrong? :X
 
Anonymous
thank you guys, super!!!
I only asked, to be told the solution instead of dragging this chat over 10 minutes.
 
12:16 AM
@MadaraUchiha Works when I put that in my hosts file, DNS problem. Have you recently updated it the root A?
 
@TheCOMPLETEPHPNewbie We strive to educate you. Not only help you solve your specific problems.
 
we do not give answers, we offer advice
 
@DaveRandom root A?
 
@TheCOMPLETEPHPNewbie That's because telling you the solution wouldn't help you at all
 
*A record
 
12:17 AM
I've updated its web root recently, yes
(if that's what you're asking)
The domain is registered from long ago.
 
@MadaraUchiha You'll have to wait for it to propagate then I guess
Or something went wrong with the update, but I've never seen that before - and Google got it right
When did you do it and what's the TTL on the record?
 
Anonymous
Thank you all so muchhhh
 
Guys, i have a simple php question. I've been accessing functions inside classes using ClassName::function(); and name->function(); interchangeably. I'm guessing ClassName:: method is accessing functions statically name-> is through object instance. Am I correct? and should I avoid using ClassName:: way?
 
@TemporaryNickName Yes it is and yes you should.
 
12:20 AM
kthxbye
 
sweet partical effect
 
Anyone knows how to solve the problem with gmail when it doesn't want to save my settings?
I'm trying to change my recovery information
@DaveRandom Also, waiting did the trick, thanks :D
 
You mean how it asks you every time you log in?
 
@DaveRandom No, I've registered with example@email.com as a backup recovery email
Now I want to change it to email@backup.com
I hit "save" and it says "OK"
But when I check again, it didn't save, and example@email.com is still shown.
 
12:34 AM
@MadaraUchiha Still may not work everywhere, in theory it could take up to ($TTL * 2) - 1 seconds before it works everywhere in the world
@MadaraUchiha Meh, sounds like a report-worthy bug
 
I think it's a known issue
 
Sounds like a pretty basic one...
 
Anonymous
12:46 AM
I think I am about to master PDO in 1 hour. found a great tut online
 
@DaveRandom http://productforums.google.com/forum/#!searchin/gmail/settings$20won't$20save
Sounds like I'm not the only one with the problem
 
@MadaraUchiha Who uses f*cking dollar signs?
 
@DaveRandom Google :D
 
@DaveRandom uses it, because it's cool. oh, that ... hmmm
 
Obviously they just want to keep the markdown guys on their toes
@Jack PHP uses it because Rasmus thought Perl was a good language to based PHP on (?) and Perl uses them (presumably) because Larry is a *nix man
 
Perl uses even funkier syntax ... @a is an array, %a is a hash .. it's just wonderful
 
Yeh that got me at first, but now I think it kinda makes sense to visibly distinguish between scalars and vectors
 
The best part, you have call them all a :)
 
yay beer for everyone
 
Many thanks. Have a joint.
 
12:57 AM
Again!?!? ;)
 
or a "hash" brownie
 
And evening :)
 
@Jack %brownie
 
@DaveRandom lol good one
so since the world didn't end, i'm going to donate to jsperf :)
done. i feel a lot better now heh
 
0
A: PHP - strip URL to get tag name

hakreFor your URL http://domain.com/tag/tagname/ The PHP function to get "tagname" is called basename(): echo basename('http://domain.com/tag/tagname/'); # tagname

^ retro ;) (see question date)
 
1:03 AM
parse_url($url, PHP_URL_PATH) :)
Errr, and then maybe do basename on that, maybe
 
It's so weird the way markdown gets a bit over zealous with oneboxes. Also when you quote old fixed font chat massages.
 
1:29 AM
isset($http_response_header) && $http_response_header == !empty($http_response_header) ?
 
@webarto wtf?
 
I mean, is it the same? It looks wrong as I wrote it :)
 
$var == !empty($var) ?
 
No, sorry...
 
value == value is truthy?
 
1:31 AM
Is this: isset($http_response_header) && $http_response_header
Same as: !empty($http_response_header)
 
Oh right, well yes then
 
Thanks Dave mate :)
 
!empty() is basically "value is truthy" suppressing the error you would get if it's not set at all
Although I'm not sure if it is subject to the SimpleXMLElement weirdness
 
I also always think of it as "isset($var) && $var"
 
@DaveRandom Yes, but basically same result (shorter code).
 
1:48 AM
@webarto See what you have done...
 
@NikiC Wherever I come, I start some pointless discussion :P
 
@webarto I don't mean that, I mean the master issue ^^
 
@NikiC Oh ^_^ Like I said, I was just roaming around, and suddenly I was admin somehow.
I should have boosted karma. No one would notice :P
 
@webarto And now @GoogleGuy has to pay for your fun :P
 
> <GoogleGuy> There's a reason why no one touches master.
> <webarto> That's what she said.
> <GoogleGuy> <-------------- here's the idiot that did
> <@philip__> blame the kittens!
Damn you Markdown...
 
1:52 AM
1
A: Within vim's regex engine, why are some metacharacters escaped and some are not?

shiplu.mokadd.imThis is because vim (actually vi) created their own regex flavor long since before perl did. Even POSIX BRE and ERE came after vimwikipedia. They are still maintaining their own flavor so its quite different. To make the answer more resourceful here is a quote from ed's wiki. The editor was...

 
can somebody help me out on this stackoverflow.com/questions/13994406/…
 
@webarto Skills with the "that's what she said"
 
@webarto :D
anyway, good night to all
 
Silence, I delete you! @NikiC good night, thanks :)
 
user895378
@DaveRandom Yes, it should be a feof, but it isn't. Also, I should've mentioned this ... of course, the problem only manifests on windows. Works just fine in linux systems I've tested on.
 
1:54 AM
@rdlowrey Yeh it sounds like one of those winsock oddities, it always has done things that I'm sure were only put in there just to be different.
 
user895378
@DaveRandom Yeah -- I'm pretty much chalking it up to windows strangeness at this point and moving on.
 
@webarto How the hell did you get an @php.net account anyway?
 
user895378
lol
 
@shiplu.mokadd.im BTW, William Joy and Bill Joy are the same person. So you could have written that he wrote vi and ex.
 
@Paul added that. Thanks a lot.
 
2:04 AM
@shiplu.mokadd.im I see you've joined the "I want an avatar on which my hats fit properly" gang
 
Yeah. did you see my tweet?
 
No, but I don't do Twitter. I'm not a twit.
:-P
 
@DaveRandom Then its my avatar with hat!
 
@DaveRandom i also would like this answered
 
user895378
@DaveRandom Just for full treatment (and in case you ever run into it and are like "WTF"), note that everything works as expected in every other scenario -- it's only when you have a non-blocking ssl socket server written in php and access it using a php client on the same machine that also uses non-blocking sockets with stream_socket_enable_crypto and you're running windows.
 
user895378
2:14 AM
That's an extreme super-duper edge case, of course :)
 
user895378
Works just fine for http:// though. It only manifests when you use stream_socket_enable_crypto from both ends so that the operation can be non-blocking inside a loop.
 
@Lusitanian Here is an article I found by googling blog.roshambo.org/…
 
@rdlowrey You say that, obviously you haven't tried to write a traceroute and run it on win. In fact there are a few ICMP oddities on win. And ARP as well. But literally no-one ever needs to anything with any of these in PHP (not even me - I only did it for shits and giggles) so you probably won't ever have any problems with it.
 
its quite easier if you translate PHP docs to your own language.
I wonder how to get a @stackoverflow account. I edited a lot of post everday and answer questions. :P
 
@rdlowrey that's the case that causes the notice?
 
user895378
2:18 AM
@igorw yep.
 
@igorw It seems to be an internal PHP bug, it's not even anything to do with any of the mechanisms in use. Somehow PHP "forgets" what type of resource it is.
@rdlowrey another point - does it happen on the client end as well?
 
Found a nice auto-tools tutorial. What build system you use for PHP? phing or make?
 
@shiplu.mokadd.im Visual Studio :O (I have literally never once built PHP from source on *nix) but if I was going to I would use make
 
user895378
@DaveRandom the client is where the error manifests -- the socket is closed. And it's not just for my custom HTTP client -- accessing the same server with file_get_contents('https://127.0.0.1:9382') results in:
 
user895378
Warning: file_get_contents(): SSL: An existing connection was forcibly closed by the remote host.
 
2:22 AM
@DaveRandom I am talkng about building web application from .php file. Not php from .c file.
 
@rdlowrey Now that is even more interesting. I'm leaning towards an OpenSSL bug - what if you try and load a page from it with a browser from localhost?
 
user895378
@DaveRandom works just fine in browsers and whatnot. It's only retrieving it from a php client where problems arise.
 
user895378
Interestingly, with file_get_contents, the http response body is still received -- you just get the E_WARNING along with it.
 
user895378
I assume that's because it uses a blocking implementation internally
 
user895378
But if I try to access with a non-blocking client socket and then enable crypto after the tcp connection is established you don't get a response with the php client. And as mentioned, everything works totally fine if client/server aren't on the same machine or if I try it in non-win environments.
 
2:27 AM
I'm really intrigued by it now, if it wasn't 2:30am I'd start buggering about with it now. I have a couple of things to mess about with, a guy over in the React issues has somehow find a way to break the non-blocking behaviour of enable_crypto() on *nix as well which I'd like to get to the bottom of (I'm currently thinking something about suhosin)
 
user895378
Interesting. I'll keep you apprised of any new developments I encounter.
 
@rdlowrey Do you have a machine with multiple NICs in it? Would like to know if it's actually about the machine of just because it's loopback.
 
user895378
@DaveRandom I do -- running on a laptop with ethernet + wireless
 
Right well you'll need to screw around with the routing table to force it to route traffic out to the network and back but if you get a few minutes I'd be interested to know.
 
user895378
I'll see what I can do
 
user895378
2:39 AM
Oh nice, apparently file_get_contents can't be bothered to pass along a User-Agent header when it makes an HTTP request:
 
user895378
GET / HTTP/1.0
 
user895378
HTTP/1.0 ... Not very sophisticated :)
 
@rdlowrey Yeh but, to be fair, the absolute 100% safe minimum
 
 
When you GET stuff you don't really need any 1.1
unless it's not passing a Host: header
 
user895378
2:43 AM
You're right of course, but I would at least expect a User-Agent: PHP5.3 header or something to identify itself ...
 
@rdlowrey yes windows sockets are ....... windows sockets ;)
 
@rdlowrey That's strange; I would have thought it uses php.net/manual/en/filesystem.configuration.php#ini.user-agent
 
@Jack Default: NULL
 
user895378
@Jack Ah, you are right I was executing that with php -r "file_get_contents(...)"
 
user895378
I just assumed php -r doesn't use php.ini ... am I making that up?
 
2:47 AM
lol php.net/manual/en/filesystem.configuration.php#ini.from - I won't be configuring that any time soon.
> The email address to be used on unauthenticated FTP connections and as the value of From header for HTTP connections
 
user895378
hehehe
 
I hope HTTP/2.0 will include an Inside-Leg-Measurement: header
 
user895378
Why bother? I include it in all my requests already :)
 
I'm trying to come up with an amusing quip about your penis size being 1.1" but it's just not coming together.
If you could consider yourselves suitably amused that would be a great help
 
user895378
<--- laughing on the inside
 
2:52 AM
Ta. Much appreciated
 
user895378
by comparison to the php request, this is what curl sends:
 
user895378
GET / HTTP/1.1
User-Agent: curl/7.27.0
Host: 192.168.1.112:9382
Accept: */*
 
I'ma go to bed I think, when you can't come up with simple yet amusing insults it's a sign you need sleep
 
user895378
Thanks for the assistance -- goodnight and happy belated apocalypse day
 
@rdlowrey I've never seen the point in Accept: */*. Just omit it ffs
 
user895378
2:53 AM
@DaveRandom yeah, that's a waste of time
 
And on that I am going to beddy bye-byes. Nighty night.
 
user895378
especially considering RFC2616 14.1 says:
 
user895378
> If no Accept header field is present, then it is assumed that the client accepts all media types.
 
guess they wanted to be really explicit, no assumptions :)
4
A: Regex expression for matching all duplicate substrings of any length

JackYour problem is recursi ... you know what, forget about recursion! =p it wouldn't really work well in PHP and the algorithm is pretty clear without it as well. function find_repeating_sequences($s) { $res = array(); while ($s) { $i = 1; $pat = $s[0]; while (false !== ...

Love it when pure php outruns pcre >D
 
@Jack a custom parser always outruns regex. Unless the regex is too simple.
 
user895378
3:00 AM
@Jack very nice hat placement, sir!
 
@Jack Is there some kind of good practice, useful advice, or good reading around this? Has anyone come across this before and tracked it down? Thanks and hope you all a nice day °_°
 
@rdlowrey Why thank you =D I like my wizard hat!
 
But, a regex is a single line of code, and a parser is like a million lines long! How could a parser be faster?
 
yes very nifty the hat @Jack :)
 
</sarcasm-born-of-dev-conversations>
 
3:06 AM
@shiplu.mokadd.im maybe :)
 
user895378
I put on my robe and wizard hat.
 
user895378
lol I couldn't resist in light of @Jack's sweet hat configuration.
 
hehe let me see how it fits you
doh! nvm =p
 
@MichaelPetrotta single line of code increases productivity. But causes serious problem when someone searches for a regex solution for hours. This total time is wasted while he could write a simple parser within 20 minutes.
So its better not to rely on regex if you dont know it yet. If you know how this regex will work go with REgex solution.
 
3:15 AM
That's nonsense, everybody knows that regex is like jquery .. it dis solves everything
 
@shiplu.mokadd.im, note my <sarcasm> comment...
 
0
Q: MAMP localhost include and cookie setting functionality

PeteI am trying to move my site offline for obvious reasons and I am having trouble getting the localhost PHP function to work. My code is the following: include "http://localhost:8888/mainbar.php?display=1"; I am able to include the file if I just have it's name, but I need to pass values over th...

The localhost php function ??
 
posted on December 22, 2012 by PHP Advent

I’m here to show you how to create sliding panels using CSS and a class name toggle. Why use sliding panels on your app? Because they are awesome, that’s why. Also, because they allow users to switch between views whithout the need to load another page. First things first Before we go wild with “creativity,” we need a simple html structure to work with. <body class="is-anchored"> &

 
I really really want to physically injure the people that use "localhost" like it's a thing.
I also want to physically injure people that use XAMPP and other such pitiful crutches.
If you can't figure out how to configure Apache and PHP together on your Windows machine, you do not deserve to be called a developer.
6
 
Hey I find that offensive, my mother uses xampp =p
 
3:24 AM
Case in point.
 
lol
Wait what, apache? C'mon, nginx :)
 
what about lightspeed?
 
what about it? is it .... fast?
 
I've seen some webhosts use that.
 
Yes, but can it outrun a raptor?
 
3:26 AM
The ultimate question, that is
 
You don't need to outrun the raptor. You only need to outrun the person behind you.
 
Well apparently it can outrun apache x2.
 
In doing what? php? static site?
 
Unspecified: litespeedtech.com
 
user895378
@Charles Super check-plus ++++ for that thought.
 
3:29 AM
Anyways, anyone here interested in helping me integrate OAuth support into flexi-auth, the CodeIgniter Library?
 
So, running one instance of lightspeed gives you two instances of apache .. hate to say but, now you have two problems ;-)
3
 
@Jack "Litespeed Web Server's PHP performance is up to 50% higher than Apache mod_php."
 
@ShaquinTrifonoff I ditched mod_php for FastCGI :)
 
hey guys, i have a sql question
does Date datatype can have values such as 22-12-2012 2:37pm
or how should i format it to fit in Date field?
 
user895378
@DaveRandom and @igorw ... I have finally solved the windows socket weirdness. The cause was using stream_socket_shutdown on the server end to close client sockets (for an HTTP/1.0 request that required closing the connection after the transfer, for example). For whatever reason, using fclose instead of stream_socket_shutdown resolves the problem.
 
user895378
3:38 AM
So, I'm now confident once again that full non-blocking SSL socket servers are achievable and bug-free with PHP.
 
user895378
The client used to test is available in this gist
 
@rdlowrey awesome! how the hell did you debug this?
 
user895378
@igorw By repeatedly banging my head on the desk for pretty much the entire day. But the eventual tip-off was this error message:
 
user895378
1 hour ago, by rdlowrey
Warning: file_get_contents(): SSL: An existing connection was forcibly closed by the remote host.
 
user895378
That got me fiddling with how I was closing the socket connection on the server end.
 
user895378
3:51 AM
I guess fclose is more graceful about closing the socket in a way that won't upset the client than the heavy-handed stream_socket_shutdown approach.
 
good work
and I see you had to battle against some windowsisms
 
user895378
Yes, Bill Gates slapped me around a bit. Steve Jobs and Linus Torvalds didn't have a problem with the code, though.
 
How would I change the inline style in css?
 
@DemCodeLines what?
<div style="this is where inline css goes"></div>
 
@rdlowrey Congrats :)
 
user895378
4:00 AM
That moment when you finally succeed after debugging for ~15 hours makes it all worthwhile.
3
 
Rasmus Lerdorf on php 6 in August 2008: I would like to say we'll have it out by the end of the year, but that's probably not going to happen. Probably something like first quarter of next year...
 
If you're wondering what happened there.
 
@Charles I read that slideshow last time it was linked here and I knew the basic story before that as well
 
Oh good.
Some people out there still think PHP 6 will be a thing.
 
I was just commenting on how far off he was so short before he thought it would be complete
 
Who upvotes that crap?
 
4:41 AM
@Charles php 5.9.9
php 5.10
php 5.11
there will never be one :)
 
I can't wait for 5.10.0. It's going to break so much code, just because of the second digit...
 
...
 
lol
 
stackoverflow.com/q/13988077/168868 -- library suggestion / shopping question
stackoverflow.com/q/13989249/168868 -- "please do my work for me" / explicit "I don't want to learn"
 
s/lol/wtf/g
 
11
Q: Winterbash is hackable / trickable

GabyI want to report that it is fairly simple to hack (just trick really) the system, and assign any hat to my avatar.. I cannot earn any hat, but i can wear one as if i had earned it .. It happens because there is no check made on the back-end if i have actually earned the hat yet. If i pass the ...

 
I hate the fact that I have to double my workload just to make the site compatible with IE! :((
 
@DemCodeLines You aren't abstracting enough. Add more libraries!
2
 
Seriously, everything I do, it is off in IE, so I have to go back and add the same code again only for IE and then adjust it so it looks fine in IE. Its so annoying
Additionally, I don't even know how many users use IE9
 
5:05 AM
stackoverflow.com/q/13993738/168868 -- external code hosted on dropbox, is a RAR file... yeah, no.
@DemCodeLines Not enough, man, not enough. IE7 still has a huge foothold as well.
 
@DemCodeLines Be glad we're no longer in the IE 6 era (it was horrible, and yes, it was an entire era...)
 
I remember when IE6 was the fastest browser with the best CSS support, hands-down...'
 
@Charles you mean in the period between the death of Netscape and the birth of Mozilla, when there basically weren't any other browsers?
 
@Jasper Basically, yeah. But still, even IE5 had better CSS support than Netscape 4.
 
@Charles fair enough, I wasn't really doing any web work back then, so I'll have to trust you on that one
 
Yeah, it was a horror story. The code I was maintaining at the time used nested tables to get consistent borders, as CSS table borders weren't implemented in NS4.
Did you know that Netscape had severe table rendering performance problems?
I wonder how it holds up to modern speedy things like Chrome.
 
@Charles There's this web application I use once a year in October, so I usually spend some time before that fixing problems that came up the year before and adding features. However, I missed the even in 2011, so not too long ago I was working on an ajax web application that was several years old and had been unmaintained for two years. The progress made by browsers in just those two years was incredible.
With that in mind, I just can't bring myself to compare NS4 with Chrome. It's. Just Not. Fair.
 
Hopefully progress won't stall. It's pretty clear that MS wants to stay in the game, so we're going to continue to have a three-engine browser war for quite a while...
 
Anonymous
5:29 AM
@DemCodeLines what don't you share the fiddle?
 
And this time we have W3C and WHATWG to protect us from the fallout
 
Anonymous
@Jasper what is HAT for? I thought It was WYSIWYG?
 
Web Hypertext Application Technology Working Group
 
No, its not that I don't want to share. I just somehow realize the problem while I am copying it jsFiddle, so I end up solving without having to show you guys ;)
 
Anonymous
Oh.. good then
 
5:34 AM
Basically, it's the group that started off html5 (W3C had long before decided HTML 4 was going to be the last html and as the market wanted html 5 and they weren't budging, WHATWG was brought into life to just make html 5 without W3C - they are on good terms again now and working together on html 5)
 
Thank you for reminding me that XHTML 2 was a thing.
Man, that would have been a disaster.
I'm so glad that people got fed up and we got WHATWG.
 
@TheCOMPLETEPHPNewbie I mentioned them because they are the bodies governing the standards of the web and thus preventing the major problem from the original browser war: a plethora of browser-specific features
@Charles I've never really understood what they did plan for XHTML 2, but if nothing else the lack of CDATA for javascript and css was pretty ugly
 
@Jasper Oh, wait, you never read the spec?
 
Anonymous
I hope he did not. It could take years to complete :)
 
Anonymous
5:41 AM
Does anyone know, if all browser support HTML5 ?
 
@TheCOMPLETEPHPNewbie no browser support it completely
 
It's like the complete opposite direction from HTML5. HTML5 is about documenting existing browser behavior so that improvements and expansions can be made. XHTML2 was about purifying the markup by adding major new semantics and making intentional BC breaks.
 
but most browsers do support features
 
HTML5 is not yet a formal specification.
Therefore no, nothing at all supports HTML5. Some browsers support draft features.
 
Anonymous
I heard it could take as long as 2020, till it is fully recommended
 
5:43 AM
Wouldn't surprise me in the least.
 
(some of that I didn't even know myself :P)
 
Anonymous
Lynda.com has an excellent overview of HTML 5
 
@Charles I read through the first page of that and it does look like a mess. A mess that would be interesting as a (thought) experiment, but that makes no sense to put the web through...
 
Exactly.
 
It's interesting to note, though, that html 5 was never afraid to cherry pick the good changes from even the thing it was there to save us from such as <section>
 
5:57 AM
Imitation is the most sincere form of flattery?
 
Imitation is the most sincere form of flattery?
 

« first day (798 days earlier)      last day (4153 days later) »