Better HN
topnewbestaskshowjobs
Log inSign up

SquareWheel

5,684 karma · joined Nov 8, 2011 (15y ago) · 2,036 submissions

Submissions

comment 9y ago · link · parent

Good answer, thanks.

I was hoping the article would cover the scaling aspect a bit more. I guess it's just meant to be a mid-step towards browsers defaulting to HTTPS at some unknown point in the future.

comment 9y ago · link · parent

I've never quite understood the preload list. Is its only job to save the initial 301 redirect from http > https on first load?

Also, wouldn't bundling (tens of) thousands of domains start to add up, and slow down first page load for regular browser use?

I'm sure I must be missing something, because this doesn't seem very logical to me.

comment 9y ago · link · parent

>but it seems very difficult to evolve AMP's design towards anything that really meets the needs of the web platform in the long term.

I'm not sure how I feel about AMP as a "standard", but I don't object to it as a technology. Really it's just building on WebComponents and proving some more extreme optimization techniques. At least the tech is open and can be reused by others.

Requiring conformity to a Google-controlled standard to be AMP-validated does seem inherently less "open" to me though somehow. Though I also understand that few other parties seemed to care about performance at all prior to this, so at least the strategy is working.

The biggest request I'd have of Google regarding AMP is to have a clearer separation from AMP Cache. The technologies are separate but people have a hard time differentiating them - even on Hacker News. Most of the complaints people surface here aren't even about AMP at all.

I'd also suggest that any AMP Cache provider should be eligible for the carousel in Google SERPs. Or alternatively it should just be discontinued soon, as I have to imagine it's served its primary purpose by this point. Keeping it around longer just encourages comments that Google is being unfair in search (I understand AMP pages are technically not a factor in organic search, but the carousel still provides a search boost).

comment 9y ago · link · parent

Uh, because it's an open standard rather than a proprietary one?

comment 9y ago · link · parent

Wow, 36% of traffic seems pretty high. That's a huge chunk of mobile (79% apparently), with an almost doubled click-through rate.

As much as HN loves to bicker about Amp, in this case it was clearly a net positive.

comment 9y ago · link · parent

>( the one that they finally got rid of )

https://abc.xyz/investor/other/google-code-of-conduct.html

comment 9y ago · link · parent

That would mean that they must use real names when signing up with an ISP, no? The title implied that they must also use real names when registering to a website.

"anonymous online posts"

comment 9y ago · link · parent

I stick mostly to JS + jQuery, but I see nothing wrong with using additional tools when the situation calls for it.

If you're going to be writing a lot of CSS, then using SASS might save you some time and improve readability. If you're writing a webapp, then a SPA or React app might be the best course. And if it's image heavy, then a tool to automatically compress images would likely make sense.

If this is too complicated to manage, then other tools like task runners or Webpack can help automate the process. Node packaging can be used to sync settings across all project owners.

Taken on their own, it seems like a lot of complexity. But if you're only adding tools when you need them, it's really not that bad.

I wrote my last site in Jekyll + SASS. No Webpack, no gulp, no React. I just didn't need them, so I avoided the complication.

I'm glad they're there if I decide I want them, though.

comment 9y ago · link · parent

To me, too. Paypal isn't a government institution. They can choose who to partner with by whatever metrics they want.

comment 9y ago · link · parent

Hi cramforce,

I understand that AMP is not a ranking factor (except for its inherent speed, perhaps). However, is there not a carousal at the top of SERPs for pages in your AMP Cache?

So while not an organic ranking factor, it would still affect SEO. Is that a fair comment? Or am I missing another perspective?

comment 9y ago · link · parent

I do use compiled languages, but there's many different tools for the job. Interpreted languages offer a number of features over compiled, and that makes it an attractive option in many situations.

In the case of JS, the biggest draw is probably platform portability and the amount of existing code to utilize. That and speed, as already mentioned.

comment 9y ago · link · parent

Have you not looked at benchmarks? It's one of, if not the fastest interpreted language. V8 is baked into Electron (and Node), which means Electron can also take advantage of this speed.

High memory usage I'll give you, but calling it a slow language is very misguided.

comment 9y ago · link · parent

What do you mean? Javascript is incredibly fast.

comment 9y ago · link · parent

The giant banner at the top crosses out "Don't be evil" and replaces it with "Do the right thing".

The author makes an error before even writing a single word, because "Do the right thing" became the mantra of Alphabet, not Google. Google's motto is still, and always has been Don't be evil.

https://abc.xyz/investor/other/code-of-conduct.html

https://abc.xyz/investor/other/google-code-of-conduct.html

comment 9y ago · link · parent

Just don't turn on syntax highlighting. I've made that mistake with a giant SQL file.

comment 9y ago · link · parent

>2.) Why should people have to film their act of having sex and then publish it (porn is legal in the US...)

Filming sex doesn't suddenly make it legal. It's the permit required which makes it legal.

comment 9y ago · link · parent

>On top of that add resource waste (spinning up a webview and parsing heavy markup languages just to show a bunch of buttons)

Hold on - do you know what a progressive web app is? We're not talking about apps like Slack which bundle a browser inside of them - we're talking about webpages that behave like applications.

>many vendors do not care about making their webapp work correctly when connectivity is limited, spotty or lacking.

Offline support is a key feature of PWAs, so this point is moot.

>Each operating system has a large set of default UI behaviours and idiosyncrasies.

Browsers are completely able to define their own design language, so a text box need not look the same in every browser. As long as they conform to common standards, everything will work fine.

As such, you don't get the Java problem where everything must conform to the same style, and thus feels foreign in different environments.

>I want my applications to be performant, platform-consistent and interoperable. Web apps fail at all three

PWAs excel at all three. That's the whole idea.

comment 9y ago · link · parent

False equivalence. The points I listed above were not true for Java applets.

Applets were not seamless (requiring a plugin to be installed), did not allow most native features, and ran in anything but a secure sandbox.

They were open (by nature of the JVM), and cross-platform, but that's it.

comment 9y ago · link · parent

Yes, I agree. I was agreeing with you before as well. Setting up a Mac, learning a new IDE, and getting your tooling/builds set up is a far bigger pain point than actually learning the new language.

At least that's the case if it's logically similar. C, Java, JS, etc are mostly transferable. I might not say the same about something like Haskell.

comment 9y ago · link · parent

Why wouldn't you want that? PWAs are seamless (no downloading/installing), allow native features, can be saved offline for later, run in a secure sandbox, and are completely open and cross-platform.

comment 9y ago · link · parent

I'd also add SQL to your language list, and often SASS, gulp/grunt configuration, JSON, ASP.NET, and so on.

And come on, JS is a C-style language. If you know one you know them all.

It's also not a difficult jump to OOP languages; especially now that Java 8 supported lambdas and C# supports async/await. It's hard to learn concepts, not syntax.

comment 9y ago · link · parent

Sounds to me like a suitable use case for WebComponents.

comment 9y ago · link · parent

That exact argument can be applied to native apps. Should native apps have push notifications removed?

Why not? Because they can actually be extremely useful. Such as for receiving emails, Facebook messages, Slack pings, or news updates you've subscribed to. Maybe somebody tweeted you. Any of these apps could work as progressive webapps.

Regardless if the platform is native or web-based, the feature remains opt-in. If you don't want them, then don't subscribe to them.

comment 9y ago · link · parent

Are you talking about spam filter settings? Otherwise no, such a setting does not exist.

comment 9y ago · link · parent

Drug culture and drug markets are two completely different ball games. Banning the latter is hardly inconsistent behavior.

comment 9y ago · link · parent

A platform being simple to implement doesn't seem like a good argument against that platform, even if you dislike it for other reasons.

comment 9y ago · link · parent

Well that's an awfully uncharitable title. Isn't it possible he simply thinks EME is a better alternative than Flash/Silverlight? Because I sure do.

comment 9y ago · link · parent

Are you blocking analytics using a browser addon?

comment 9y ago · link · parent

Having done both, it's far easier to set up one of Let's Encrypts automatic tools than it is to install a certificate manually.

End users won't be configuring their own servers anyway. At best they'll get a cPanel (which using AutoSSL, can then support Let's Encrypt).

1
404142
68