Live data from Hacker News

Modern Web Development

jtaby.com

71–80 of 87 posts

Re: Modern Web Development

#71
post #30

This is worth getting your head around just for the console. I've been transitioning all of my projects from python cgi scripts (yuck), to shtml files, javascript clients, and APIs that run on node.js. For somebody like me, that has been writing python+cgi for the last 5 years, diving into javascript was daunting . Terrifying even. Console made this a lot, lot, lot easier. In javascript, you can call console.log("thi…

A great post for beginners. Also, beware of the fact that console.log() doesn't always print out the value of the object at the time it is logged; it can print out the value of the object at some time after the fact, leading you to believe there is a bug in your code when there is in fact none.

See also:

https://bugs.webkit.org/show_bug.cgi?id=35801

http://code.google.com/p/chromium/issues/detail?id=50316

http://stackoverflow.com/a/8249333/199475

Re: Modern Web Development

#72

Earlier quoted context omitted.

The Chrome beta on ICS is great, but it's only accessible to Chrome Beta needs to be backported to at least 2.3

"ICS has been out for months, and the providers are completely dragging their feet on it." Can anyone explain why this is such a problem? Does Android not have a proper hardware abstraction layer or driver model that would allow OS updates immediately, as long as these layers remained compatible and a build existed for your processor family? Windows has supported disparate hardware configurations for many, many years…

For one thing, last I looked, Chrome Beta requires the GL_OES_egl_image extension for off-thread texture upload, and had support for the ICS-only SurfaceTexture (although judging by the WebKit source that's ifdef'd out). GL_OES_egl_image support is very spotty on pre-ICS devices.

Re: Modern Web Development

#73

Disclaimer: I'm on the Chrome team and specifically focus on the Inspector/DevTools Majd and I have talked a lot about tooling and the Chrome DevTools in particular. He ends up tweeting me a few requests or bugs a day that I'm routing to the engineering team. I love it. Majd's writeup here is incredible. I hope to find a way to augment our existing documentation with this very thorough roundup. He's done a similar th…

Hi! The author suggests to use chrome canary. I so want to use Chrome Canary on Ubuntu. Are there any plans to support it on ubuntu? Is there an alternative?

Check out the Chromium team on Launchpad, they have testing /beta/daily builds!

Re: Modern Web Development

#74

Earlier quoted context omitted.

Hi! The author suggests to use chrome canary. I so want to use Chrome Canary on Ubuntu. Are there any plans to support it on ubuntu? Is there an alternative?

Check out the Chromium team on Launchpad, they have testing /beta/daily builds!

Any idea which one to use for the Chrome Canary tools detailed in the article?

+ https://launchpad.net/~chromium-daily/+archive/stable (Stable Channel)

+ https://launchpad.net/~chromium-daily/+archive/beta (Beta Channel)

+ https://launchpad.net/~chromium-daily/+archive/dev (Dev Channel)

+ https://launchpad.net/~chromium-daily/+archive/ppa (trunk/daily builds)

https://launchpad.net/chromium-project

Re: Modern Web Development

#75
post #62
post #5

This is a great resource and I'm glad Majd wrote it. However, this is really the kind of content that should be coming out of Google itself. Google is in an interesting position. Of all of the major Silicon Valley tech companies, I think Google is the one most seen as the "web" company, and yet they've staked a lot of their future on Android. Android, instead of making the web a first-class citizen, has in fact set t…

Android, instead of making the web a first-class citizen, has in fact set the mobile web back by years. I don't know how you can come to this conclusion. Android has made an excellent mobile web browser available to over a quarter of a billion people. And how is the web not first-class? Google even started Web Intents to interoperate web apps with native apps.

You seem to expect different things than the GP (and me).

A browser without decent SNI support, with broken XPATH support and really various shortcomings was outdated when it came out - and neglected afterwards.

Re: Modern Web Development

#76
post #30

This is worth getting your head around just for the console. I've been transitioning all of my projects from python cgi scripts (yuck), to shtml files, javascript clients, and APIs that run on node.js. For somebody like me, that has been writing python+cgi for the last 5 years, diving into javascript was daunting . Terrifying even. Console made this a lot, lot, lot easier. In javascript, you can call console.log("thi…

It's worth to note that this concept has a name - Read-Eval Print Loop, or REPL, and is present in several good languages. It changes the way people think about programming, making it much more interactive. If one didn't encounter this concept before, it's worth to take a look at it.

Re: Modern Web Development

#77

Disclaimer: I'm on the Chrome team and specifically focus on the Inspector/DevTools Majd and I have talked a lot about tooling and the Chrome DevTools in particular. He ends up tweeting me a few requests or bugs a day that I'm routing to the engineering team. I love it. Majd's writeup here is incredible. I hope to find a way to augment our existing documentation with this very thorough roundup. He's done a similar th…

Hi Paul... any light to shed on this? http://stackoverflow.com/questions/8981211/what-is-the-sourc... I think it's the right answer, but just asking to be sure!

Re: Modern Web Development

#78
post #27

Earlier quoted context omitted.

There's some revisionist history. When the iPhone was released, mobile apps were supposed to be HTML5 webapps. Developers cried for local apps. Apple responded to demand.

The truth is likely somewhere in between. Apple probably anticipated the demand for native apps. But they weren't ready, business-wise if not technically, to build the SDK and App Store in 2007, so they held off on it for a year. Sometimes it's useful to pretend that what you were going to do all along was merely a concession to outside demand.

Steve Jobs said in the intro of the phone that the apps were "just the internet" or some such. Personally, when I heard that I just ignored the iPhone.

Re: Modern Web Development

#79
post #66

Earlier quoted context omitted.

"ICS has been out for months, and the providers are completely dragging their feet on it." Can anyone explain why this is such a problem? Does Android not have a proper hardware abstraction layer or driver model that would allow OS updates immediately, as long as these layers remained compatible and a build existed for your processor family? Windows has supported disparate hardware configurations for many, many years…

Many providers have customized the OS for the look and feel along with adding their custom apps and settings including locking out tethering. One of the big advantages of 3.0 was it was suppose to provide an easier way to separate out the look and feel out of the OS so the providers didn't need to create a custom OS. This make pushing out updates very difficult. For example, I worked on an app to be included with the…

Thanks. At least there's some indication that it's getting better.

Too bad the providers have to degrade the experience with their crap, instead of just providing additional apps if they feel it's necessary.

Re: Modern Web Development

#80

Earlier quoted context omitted.

Check out the Chromium team on Launchpad, they have testing /beta/daily builds!

Any idea which one to use for the Chrome Canary tools detailed in the article? + https://launchpad.net/~chromium-daily/+archive/stable (Stable Channel) + https://launchpad.net/~chromium-daily/+archive/beta (Beta Channel) + https://launchpad.net/~chromium-daily/+archive/dev (Dev Channel) + https://launchpad.net/~chromium-daily/+archive/ppa (trunk/daily builds) https://launchpad.net/chromium-project

Chrome Canary is nightlies, so this is definitely the closest one from the Chromium ppa:

+ https://launchpad.net/~chromium-daily/+archive/ppa (trunk/daily builds)

That said, it used to be actual dailies, but updates have been very spotty the last 4 months or so. I'm not sure why. When it was updated ~daily, it would sometimes break so it's not for everyone. I run it as my main browser and I've had to downgrade once. Now that it's updated less frequently it's been more stable (obviously).

I would have added this info in my original comment, but I was posting from the phone. Adding it to your sources is as simple as:

  sudo add-apt-repository ppa:chromium-daily
Post reply on HN