skysight-inc/HackerNews huggingface dataset:
(Disclaimer: author and editor of the modern custom elements spec here.)

The specific "failed promise" that I see is largely this positioning of web components vs. frameworks.

How web components was originally envisioned was as leaf-node or light-DOM-using components, of the sort HTML already has. For example, <dialog>, <details>, <input type=range>, etc. Web components was supposed to give you the tools to create your own components of this sort, such as <tabpanel->, <toast->, <carousel->, <switch->, etc. In particular:

* Custom elements gives you the ability to just drop in tags, like you do with vanilla HTML, and those tags can react to lifecycle events like being added/moved/attributes changed, automatically. The browser mediates between those occurrences and the web component's code.

* Shadow DOM lets you encapsulate the inner details of your component, while using slots to reproject content into it. So e.g. <switch-> could have its innards entirely in shadow DOM, just like <input type=range>. While <tabpanel-> would be given children by the web developer using it, with some of those children being special (like <summary> is special for <details>), but some parts hidden in the shadow DOM and not provided by the web developer (like the disclosure triangle and behavior for <details>). More on this in https://glazkov.com/2011/01/14/what-the-heck-is-shadow-dom/

From this perspective, the lack of data-binding (cited in a sibling thread) is not a big deal. There's no data binding for <input>, or <details>, etc. You just use normal DOM children and attributes to supply the data, perhaps with a framework to do that via binding or React-style re-rendering or whatever.

Instead, we've seen people use web components as a React competitor. They want to write their whole app in web components, starting from a <my-app> component on down. It turns out the system is flexible enough to do this, but it wasn't designed that way from the beginning, and doing this doesn't play to its strengths. You end up just creating new frameworks, which are slightly smaller and potentially a bit faster than other frameworks because they can rely on native code for some of their lower-level building blocks like style encapsulation. But you're not living up to the promise of reusable components which behave like built-in elements.

Edited to add: I do understand where developers are coming from in this regard. Using web components for leaf/reusable components and React/Vue/whatever for app-specific components is probably twice as many component models as most app developers want to deal with. I'm not sure how to deal with that tension.
So great to see this discussion. When developing these registers, the target has been to enable citizen participation and public oversight of city algorithms. And to help cities and other government organizations to systematically govern their algorithmic systems. With that target in mind, conversations like this, anchored on proper data on the systems themselves, really count. Thank you! I'd love to invite everyone to give feedback also via our surveys at both sites.

Meeri / Saidot
My first commercial program was done on a machine with bubble memory (Fluke 1720A). The problem is that there was no Moore's Law for this technologies: the first chips (128Kbits) were as good as it was going to get. It might have gotten a little cheaper as production scaled up but that would be it.
Developer scripts (checkpatch etc.) are written in perl, though it's not required for builds.
Most people are against it. Around 80% for each racial group. A bit less for blacks at around 75%. It’s like the 1 thing a super majority of us agree on.

However, slice it up by income and education. Middle and especially upper-middle class people are generally for it much more than everyone “below” them but even they don’t like it.

From politics, republicans hate it a lot and democrats mainly hate. Except 1 group. Progressives love it with about 30% of them against it. They are the only group that likes it.

It is elitist and no one likes it. Except the far left. Yet we are all forced to live with it.

https://www.theatlantic.com/ideas/archive/2018/10/large-majo...
What is the current state of performance for 5g chipsets, from Qualcomm and more generally? Do early adopters face (comparably) higher energy consumption and poorer performance (bandwidth, signal, channel access) versus 4g and upcoming 5g chips? I've seen reports that battery life impacts are so significant that most users opt to turn 5g functionality off. Is this still the case?

N.B. Pixel 5 has a Qualcomm 765G chipset
> Net promoter score (NPS) is a way of measuring customer satisfaction.

How easy/hard is it to fake an NPS score?
Is this somehow regulated?
Can the company only provide its most satisfied customers (which it knows beforehand) and only have them participate to get a good NPS?
Google TV was a predecessor to Android TV. Source I have one of each in the house, but also the wiki article in the post you replied to. Google TV may have run on top of Android, but it was its own Shell. The OS was still useful until a youtube update killed youtube on it. The TV came with a full keyboard on the remote.

The new Google TV is more akin to iPad OS and iOS splitting, where the TV and Phone variant can have their own identity, but from the looks of it, its starting out as just a single android app, and not a full on shell fork.
I have noticed similar simply because the Cisco AnyConnect client doesn't work with WSL2 and is a known issue [0]. But that seemed to be blocking traffic instead of just allowing all traffic over non-VPN. However, openconnect does work fine as does the UWP-based AnyConnect client. I wonder how those latter two are successful tunneling traffic (or if it's only if they are started before the wsl2 vm is).

0 - https://github.com/microsoft/WSL/issues/4277
The reason why I route all of my traffic through a VPN is simple - in the UK all ISPs have to keep the history of all your browsing for a year. I want to avoid that. That's it. I just don't like this requirement, especially since lots of agencies can access this data without any kind of warrant - so this is like my own little personal protest against this stupid law. Nothing more complex than that.
Don’t forget Google already abandoned Google TV once: https://en.m.wikipedia.org/wiki/Google_TV

I bought it as a gift for someone once and they cancelled it and deleted the SDK.
Ask HN: Why don't operating systems test RAM for corruptions?
See recent comments on ECC RAM like https://news.ycombinator.com/item?id=24589597

I recently had a RAM problem that took me a while to correctly diagnose from lack of compatible tooling on UEFI (memtest86 on Ubuntu doesn't work with this setup out of the box).

I was wondering, why are none of the popular operating systems making cheap "RAM sanity checks" every so often, to find out failing RAM before losing ridiculous amounts of time to random crashes and corruptions.

This could be similar to how ZFS does disk scrubbing, i.e. the OS could opportunistically or systematically mark certain RAM pages as unavailable while RAM testing is ongoing and every week/month do an hour or so of comprehensive testing with something low-level like memtest86 (e.g. during update windows or other downtime on desktop machines).

If I had my way, all machines would have ECC RAM but with the status quo there seems to be so much low-hanging fruit still.
I don't understand why we always have to find out the RAM has gone bad post mortem after an unknown amount of mayhem.

Could these ideas be implemented on Linux, or is there some reason why this sort of approach is unfeasible?

Similar question applies to pre-emptively diagnosing other possible hardware problems. I don't really see that happening anywhere, though I recall reading that Solaris was aiming to do something like that and automatically recovering from various problems.
For true positives, do you down-weight them?
Shoelace is awesome! Also it is built with Stencil, which is a tool that generates web components from a development experience React and Angular devs would find familiar.

One of the benefits of Stencil is that it can generate Angular, React, and Vue-specific bindings. This smooths over any issues React has in working with WC's and provides a first-class React experience.

Stencil was built to power Ionic Framework which is arguably one of the most popular web component UI libraries. Fun fact: there are many thousands of app store apps built with web components! (data: https://appfigures.com/top-sdks/development/apps). This underscores a fact about WCs: their proliferation is largely happening behind the scenes and unnoticed by many in the web world.
> Gmail, Slack, Drive all let you pull menus out of the left.

At least on iOS, this only works from the left edge of the screen. You can't "swipe the entire page right", only the left edge. But perhaps I'm misunderstanding what you meant there.

Safari on iOS uses swiping from the left edge to let you swipe back to the previous page, so websites couldn't reliably implement that feature this way.

I wonder if any of the popular Android browsers also use the left edge to let you swipe to previous pages?

Websites could certainly let you swipe left to right over any part of the page to pull out the menu, which is what I thought you were talking about, but that's not what mobile apps commonly do.
Online privacy loss: another Covid-19 aftershock
Do you have some citations that this is the recent policy of the city?

I agree that a decade or more ago, the city absolutely bungled their housing planning. The current city council has been, from what I've seen, trying to open up development through permitting more Accessory Dwelling Units in residential areas [1], increasing the zoning in many neighborhoods in Seattle [2].

[1] http://www.seattle.gov/opcd/ongoing-initiatives/encouraging-...

[2] https://mynorthwest.com/1311997/seattle-city-council-upzonin...
Stockholm is actually the only big, dense, international city in the Nordic countries. See: https://en.wikipedia.org/wiki/List_of_the_most_populated_mun...

The disease likes dense urban areas with a lot of poor immigrants working in big care homes. Comparing countries is not really "fair". In Canada, Montreal got hit hard. In the USA, NYC, Philadelphia and Boston got it hard. It's a urban centric disease. So yes it's fair to compare to Sweden to Germany, France, UK and Belgium.
> The comparatively higher death rate was mainly elderly in care homes.

The same was true in New York, which locked down.
Not that this is much better, but there is no iPhone SE 2. It is just the iPhone SE.
portable speakers are one of the worst things invented in this century.

I almost cannot take a walk or take a subway train without some youngsters blasting crappy music very loud at everyone.
> To me, it represents a huge failure on the part of the developer community not to make publishing web components the standard

The problem is that if you're writing a Vue app, and you import a web component that was written in Preact, you're now loading both Vue and Preact onto your page. That means your app will take twice as long to load. That is a huge downside to weigh against the inconvenience of having to find a version of that widget that's built specifically for your framework, or even just building one yourself. The compatibility layer doesn't matter if nobody's going to use it.

> To be frank, I think in large part this is due to React

I'm not sure. I think React saw that the web components model was broken and didn't waste the effort trying to stick to it, and built their own separate React world that wasn't broken and that's why they've been so successful. It's a shame and an indictment of the web platform, but I think from their perspective it was the right decision.

The real shame would be if React's mindshare is the thing now holding us back from finally solving this at a platform level. I can only speculate about that, but it doesn't seem out of the question.
This is my assumption as well.
> Pulling a menu out from the left certainly cannot be implemented on iOS Safari Mobile

Well HTML5 apps will never be a good experience on iOS then. On Android you can do almost anything UI-wise with Chrome, which paves the way to HTML5 installable apps.
Here is a link to the US store that works globally:
https://store.google.com/us/product/chromecast_google_tv

The current article link (https://store.google.com/product/chromecast_google_tv) just goes to Google Store homepage for me (Finland).
Pretty safe to say we're far enough along to be able to declare it a failure.
Oh, I don't doubt that bot activity is rampant. The question is what Cloudflare's false-positive and false-negative rates are; I know from personal experience that they sometimes are convinced that humans are bots, and I assume sometimes bots get by them and therefore get counted as humans. But between those, my personal conclusion is that CF's claims about bot activity should be read with error bars.
I've used Snowflake a fair amount. It's a decent product, probably on par with Redshift / BigQuery. Obviously theres a lot of hype and free money floating around but my take on why they are popular is that they are basically a replacement for large Hadoop installations that have become untenable to manage over the past decade. If a company is already using Redshift or BigQuery I'm not sure why they would switch.

I would be apprehensive in investing in Snowflake long term purely because their product is highly susceptible to being obsoleted in the next 5-10 years.
This looks like the Apple TV interface for people who don't live in the Apple device ecosystem.
In my opinion there's more than two kinds of native if you pay attention to the details.

Themes: Unstyled Win32, styled Win32, WinForms (which is part Win32 and part custom controls), WPF (which sorta imitates Win32 and doesn't quite look like it), and UWP.

Fonts: Microsoft Sans Serif, Tahoma, Segoe UI, and non-English fonts.
You seem to falsely assume that all the deaths Sweden has suffered so far would have happened at some point regardless. Given the development of better treatments already some of those who died would, if they had caught it later, have survived. Given three GDP hot is similar to their neighbours all they've done is needlessly kill some of their population.
> On average a college graduate will have one million dollars more of lifetime earnings than a high school graduate.

This does not scale. Adding more college degrees does not make that many more productive jobs exist. It just moves the education bar higher for the jobs that do.

College degrees quadrupled since the 1960s. Productive jobs haven't. We already have an oversupply of degree holders working at Starbucks.

The stark reality is that the human race doesn't and can't have enough aggregate demand to productively employ everybody. The necessities of life - food, housing, medical - really only take about 10% of the population to produce and supply. Maybe another 20% in productivity-adjacent areas like finance and government services and other administration. Everything else is leisure and service economy, and there isn't infinite demand for that.
Makes me think of "Fascism should more properly be called corporatism, since it is the merger of state and corporate power"
On a side note, anyone else get janky behavior trying to scroll on the homepage here? It feels like a janky/simpler version of what you see for the Apple product pages.
There are no points.
That’s a fairly ludicrous comparison and one I’m quite certain OP was not referencing.
This is fixable, using the form-associated custom elements feature that's specified in HTML. (Introduction: https://html.spec.whatwg.org/multipage/custom-elements.html#...)

However, that's only currently shipping in Chrome, despite the other browsers being positive on it.

Similar capability gaps that we're working to close are accessibility (https://html.spec.whatwg.org/multipage/custom-elements.html#..., same situation, everyone likes it, only Chrome ships so far) and focusability (https://github.com/w3c/webcomponents/issues/762, still figuring out what the solution should be).
I take it I'm supposed to know or care what "Snowflake" is...
This still in no way answers why Snowflake is so valuable, though. I completely understand our argument, and I agree with it; I just don’t think the article’s arguments are anything else than ex post facto rationalization. When they mentioned NPS I almost snorted my coffee, that metric can be gamified in any way you want it.
According to this article, it looks like another rebranding, which is exactly what happened 6 years ago when Google TV was rebranded to Android TV. Its a simple way to drop support for existing devices.

https://www.xda-developers.com/android-tv-rebrand-google-tv-...
>I want excitement, and adventure

Oh you can! But it sounds like you would be giving up something in exchange?
> stood out the most on this page was that they were using Quibi

Same and definitely paid.

Seems like a dumb move on Google's part to associate with a brand that is largely unknown and on (already) on life support.
We have those standards: properties, attributes, events, children, CSS custom properties and ::part(). It all works quite well already.
> That it's being framed as politics is way off the mark

No, it's not, at all.

> What's being discussed at the workplace isn't foreign policy

Well, I mean, it often is, but clearly that's not what you are centrally focussed on.

> it's authoritarianism vs democracy

That's still politics even when it isn't foreign policy, but it's not a mutually exclusive category with foreign policy.

> People are getting executed in the street by those supposed to serve and protect

Domestic racial and political repression is, very much, politics.

As is asking people to shut up about it.

> Asking employees to ignore an existential threat is like asking humans to not experience emotion,

No, it's asking workers to not act out on their emotion and behave as the industrial tools and consumables (“human resources”) which is their use in capitalism.
Most Asian countries did pretty well.
Social distancing and masks only slow the spread, so unless these measures prevent healthcare system overload, they have only delayed and not prevented deaths. So yeah, since Sweden's healthcare system has not been overwhelmed, their approach has not been a failure.
Wait, pardon my ignorance, but isn't a decompiler required for the kind of work they do at react?

Person A's Job:

- Decompile shit.

- Then write down the names of the functions with (1) input, (2) output, (3) a description of what person a think the code is doing (4) any side effect / preconditions / post conditions they can deduce.

Person B's Job:

- Take the spec created by person A and write code.

while(missingFunctionality.hasNext): goto Person A's Job
I think you mean "you can't install any software you want" and your parent means "you can install lots of pre-approved software" and you're both right.

At the same time I don't think installing arbitrary software is an essential feature of a laptop. These days most users rely on app stores or package managers.

Apple's iPad has been marketed as a laptop replacement and with its smart keyboard and the amount of apps it doesn't seem a long shot to me.
People aren’t wearing masks in Sweden, though.
What a silly comment. The comment about masks seems particularly misguided now that it should be obvious that it was indeed possible to flatten the curve without mask mandates (or even recommendations).

The travel restrictions that countries had enacted are, at least now, unnecessary and are a serious harm to the global community and trust between peoples. At least in Sweden the cases coming from travelers have been insignificant since well before the peak of the first wave. It is now clear that the Danish, Norwegian, and Finnish governments do not care much about the stability of the Nordic cooperation and anyone might hesitate when choosing a job across the border.
Summer of 1997 or 1998. Fresh college grad. Pre-release of some patch level of Tcl 8 (which introduced byte compilation, making it slightly more plausible there would be a compiler/interpreter/language bug).
I have heard of SDCC, but even on small programs such as int main() { return 4; } it generates quite a bit of code. Can it be more optimized?
I agree It's difficult to experimentally test using an RTC. Unfortunately the attitude you mention also results (in my observations) in undermining the trustworthiness of the CDC/Government (in the US) for many people who see there is no real data for it, nor do they really see cause effect. It reinforces "pop science" for media outlets. People see ineffective rules such as "wearing a mask walking to a table, but not at the table while dinning" and realize it's not consistent and result in many not trusting other policies that may actually be helfpul.

Extrapolating from small studies of reducing particles to being an effective countermeasure is a big unsubstantiated leap and may result in unintended consequences (e.g. say less healthy people exposed and gaining partial immunity during summer months that). Perhaps it's somewhat effective, but the big problem to me is undermining the credibility of the scientific process and institutions. In the future, it also may lead to less research on truly effective methods as many people (and governments) assume social distancing and masks are effective without backing data and research.

For example of research suggesting lack of effectiviness of masks and social distancing as anti-pandemic methods, there's a research article on my reading queue that by using a non-heterogeneous infection susceptibility over the classic very simplified SIR model shows that the number of US infections is essentially what would be expected of a natural infection based on current parameter estimations [1]. There are several other points of data indicating similar lack of effectiveness, form the considering raw graphs and timelines, to the much lower "soft-immunity" numbers of ~10-25% of the population, to Sweden's numbers being 15x lower than predicted by standard SIR models. I'd list more data but my lunch is over, and if you're interested it's not too difficult to find. There's a lot of research that is needed in other words, not "pop science" which is hard. Giving in to easy answers is an emotional palliative but not a good societal strategy in my mind. To quote the Royal Societies motto: " Nullius in verba".

From the linked preprint:

> Allowing for heterogeneity reduces the estimate of "counterfactual" deaths that would have occurred if there had been no interventions from 3.2 million to 262,000, implying that most of the slowing and reversal of COVID-19 mortality is explained by the build-up of herd immunity. The estimate of the herd immunity threshold depends on the value specified for the infection fatality ratio (IFR): a value of 0.3% for the IFR gives 15% for the average herd immunity threshold.

1: https://www.medrxiv.org/content/10.1101/2020.09.26.20202267v...
NPS can be gamified in any way you want it. If you want to use it as a real metric to improve your product, it’s a great metric. But if you want to use it to convince shareholders your company is very valuable, it’s extremely easy to do so by implementing certain biases.
> places where the local area is a highly desirable place but whose economy is flagging because of high taxes

The whole of Europe, pretty much. Only desirable to refugees and migrants dreaming of that sweet sweet social security, while bleeding talent, entrepreneurs and startups to USA in droves. Europe chose a while ago stagnation over innovation and evolution and today is paying the price.

> taxes I pay were never "my" money

That simply cannot be true, considering that if I move to a different place that money end up in my bank account, mine!