HN user

NewsReader42

-4 karma
Posts1
Comments50
View on HN
Material UI 12 years ago

Can't even click the links down the RHS in the demo. (FF 33.0.2)

Haha, now try getting it on a site with images and other content i/e a normal website.

I've been at the forefront of pagespeed since before it was trendy, I've achieved 100% 3 times and 95% or above about 50 times, my sites load in less than 500 milliseconds - that's ENTIRE page load and DOM ready, when you can achieve that then you can boast!

The json_decode() function decodes the value passed as a string (JSON) into the data in correct format (in this case: an array).....

That's incorrect. json_decode with no second argument creates a standard object not an array. If you want an array then pass true as the second argument

I don't know where to start.... Telling people to not write fast code for the sake of other people checking that code is absolute madness. The code is ran thousands or millions of times per day and is the obvious choice to lean toward when optimizing instead of leaning toward optimizing for some theoretical idiot who likes to read lines of code in a fast and efficient manner to do his job.

This job may be ran once or twice a year which is nowhere near the amount of savings in various computational power / hardware etc compared with the wages of some geek who simply can't be bothered to do his job well.

I don't know where to start with your ramblings.

1. Don't use an ODM - MongoDB is scheme-loose for a reason yet you want to lock in a schema with a mapper????? 2. Go use PostGres if you're that worried about so called schema rot else write migration scripts like everyone else.

There is always a price to pay for flexibility and scalability

You should also check the size of the image to make sure it's actually an image. I can quite easily get a php file into your system using your current way as you ONLY check for extension.

You have a size wrong in the Iphone 5. You're not taking into account the width of the scroll bar (if any).

The wrapper should be 20em wide and the iframe inside should have 21.2em wide. You should also use overflow:hidden on the wrapper.

Out of all of these I've found this guy has done it the best so far and is the best representation of how a websie actually looks on an iPhone 5

http://www.nodex.co.uk/services/mobile-responsiveness-intera...

Perhaps you can look at his CSS and see how he did it?

Also, you claim that you designed Tag Heuer's website to be mobile first. This is a complete fabrication plus their site is terrible on a mobile.