Better HN
topnewbestaskshowjobs
Log inSign up

SquareWheel

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

Submissions

comment 7y ago · link · parent

Hopefully Mozilla will have some luck modernizing by replacing pieces one at a time with Rust components. ;)

comment 7y ago · link · parent

What does that even mean? AMP is built on WebComponents, which are an existing web standard. That's no less standard than anything else using custom elements.

comment 7y ago · link · parent

If building from scratch maybe, but when was the last time a browser was built from scratch? Even Chromium was forked from WebKit.

comment 7y ago · link · parent

Do you actually follow spec discussions, or are you just guessing? From what I have observed the Chrome, Firefox, and Safari teams are in constant communication. They discuss new features, implementation details, and potential pitfalls.

Despite all the suggestions of "browser wars", they're actually very friendly and collaborative.

comment 7y ago · link · parent

Because 99% of bots on the web are spam bots. Naked email addresses are skimmed and cataloged. Any unprotected contact form will receive dozens of spam messages per day. Forums constantly get new members that only post linkspam.

There's very few friendly bots like archive.org, and those respect meta robots tags anyway.

comment 7y ago · link · parent

People working outside of their comfort zones generally don't know all the answers. That goes both ways. I recently watched a desktop developer reach for a Java servlet because they didn't know Javascript.

comment 7y ago · link · parent

I didn't. Are you saying they're not simple containers?

comment 7y ago · link · parent

>For "frameworks", there's Silverlight, Adobe Air, Haxe, and—strangely enough—Flash itself...

With the exception of Haxe (and maybe Air), these are all dead or dying technologies.

Options 2 (Python/QT) works great, but is certainly more development hours and still requires platform-specific code.

>It worked well enough for Minecraft!

Minecraft was rewritten in C++ for mobile. It doesn't use Java.

comment 7y ago · link · parent

It's a bit anecdotal, but I imagine Slack is being careful because they are targeting businesses. Discord is a similar platform which iterates new features extremely quickly.

comment 7y ago · link · parent

>Electron is only the best way to do something when someone knows only javascript and web dev but doesn't want to learn a new language.

Why is there always someone ready to jump in with this elitist nonsense? There's plenty of reasons to use a web stack even if you know other languages. It's inherently crossplatform, has an extensive library, and is extremely quick to iterate on.

Slack and Discord building in Electron means they only need to maintain one codebase across web, desktop, and mobile. They don't need separate teams for building in Java, Swift, and C#. They only need to write a new feature once. Crazy, right?

This "web programmers are dumb" attitude is nothing but elitist rhetoric. Cut it out.

comment 7y ago · link · parent

Seems like yet another complaint about Electron's filesize/memory usage? We already know it isn't great. I don't see what this post adds.

comment 7y ago · link · parent

Search's business model is showing adverts at the top of the page.

comment 7y ago · link · parent

It seems likely that people would search for videos they've previously watched. Must consider that these products are made for "normies", not power users.

comment 7y ago · link · parent

The browser security model is actually granular, as opposed to the desktop model of granting complete access upon running an app. Sensitive information like location or hardware access sits behind contextual permission prompts.

comment 7y ago · link · parent

Javascript is sandboxed. Running "random executables" is definitely not.

comment 7y ago · link · parent

Embedding base64 images isn't really more efficient on HTTP/2 servers. Base64 adds overhead, and multiplexing mitigates the cost of additional network requests.

comment 7y ago · link · parent

You go to Youtube to read the comments...?

comment 7y ago · link · parent

No, it's just a lost cause. I've had people complain that their website looks crazy on one specific PC, and after tons of debugging found it's because somebody set their default font size to 200px.

Of course, the majority of websites apply their own font styling so this doesn't often come up anymore. But those settings are just death traps at this point. Ineffective in 90% of cases, and hazardous in the 10% where they do work.

comment 7y ago · link · parent

Finished now! I ended up switching my SASS variables over to CSS4 variables so I could override them with media queries.

Now to wait for better browser support.

comment 7y ago · link · parent

Sites are styled by default browser stylings. When font changes are inherited from user's settings however, it basically just breaks everything.

For accessibility reasons, using the zoom feature is much more stable than increasing the default font size.

comment 7y ago · link · parent

I would say it's because light mode and dark mode are being inherited from system settings. Windows, Android, and iOS all have a concept of dark mode. The browser can pass these settings along (or allow an override).

comment 7y ago · link · parent

This comment intrigued me, so I did some digging. Looks like "prefers-color-scheme" is currently being considered by both Chrome[1] and Firefox[2]. A can-I-use page was just created for it[3].

I'm excited by this one! Think I'll add dark mode support to my simple blog right now.

[1] https://bugs.chromium.org/p/chromium/issues/detail?id=889087

[2] https://bugzilla.mozilla.org/show_bug.cgi?id=1494034

[3] https://caniuse.com/#feat=prefers-color-scheme

comment 7y ago · link · parent

Which makes sense, seeing as they use account data and other heuristics to determine if you're a bot or not. The streetsigns are their fallback for when they don't have enough data.

comment 7y ago · link · parent

I don't disagree with your sentiment, but I've flagged this comment because it's the sort of drama bait I'd expect to see on other sites.

comment 7y ago · link · parent

I have ad personalization turned off, but you should be able to view and edit your interests from your settings page.

https://support.google.com/ads/answer/2662856

comment 7y ago · link · parent

>No wonder they obliterated "Don't be evil" from the workers' code of conduct.

Of course they didn't do this. As your own comment goes on to prove. You should not encourage the spread of misinformation just because it suits your world view.

comment 7y ago · link · parent

I see you found a way to call them a "shill" without saying it directly.

comment 7y ago · link · parent

The code of conduct is where the motto has always been. It is hardly "some document".

Your other claims are merely speculative and unprovable.

comment 7y ago · link · parent

Please don't spread misinformation. Alphabet created a new motto but Google never removed theirs. It's still very clearly in their code of conduct.

Alphabet's Code: https://abc.xyz/investor/other/code-of-conduct/

Google's Code: https://abc.xyz/investor/other/google-code-of-conduct/

1
303132
68