skysight-inc/HackerNews huggingface dataset:
Doesn't exiting necessarily imply a change in leadership?
What they're meaning is that the total time is longer for the SPA if you don't go all out (and nobody does).

SPA:

1. get html from server (1 roundtrip)

2. get resources (js/jpg/movies/gifs/favicon/...) from server (1 roundtrip)

3. get ajax calls from server (1 roundtrip)

4. process answer from server + update page (not a roundtrip, but not zero)

Vs traditional:

1. get html from server (1 roundtrip)

2. get resources from server (1 roundtrip)

Also if there are sequential ajax calls required to build the page (like a list -> detail view), it goes up a lot without speed oriented (very bad code style) API design. For instance you need a separate "GetListOfUsersAndDetailsOfFirstUser()" (or more general "getEverythingForPageX" calls). You can't do "GetListOfUsers()" and "GetUserDetail()" separately.

So to match traditional webpage total load time you cannot do any ajax calls in your SPA until after the first user action. And even then, you only match traditional website performance, you don't exceed it.

Time until the first thing is on screen however, is faster in SPA's. So it's easy to present "a faster website" in management/client meetings, despite the SPA version actually being slower.

You can make SPAs faster than traditional websites ... but, for example, you cannot use javascript build tools. Since you need to do the first calls server-side and have javascript process them, and only send the result of the preprocessing, and the resulting dom to the client, after optimization and compression. After that you need to then do image inlining, style inlining, etc. I know react can do it, but does anyone other than facebook actually do that?
>Well..President Xi has himself openly declared that re-unification of Taiwan - along with all ancient Chinese domains will happen within his term of governance. And no (sane) leader declares more than one planned invasion at a time. So plans for annexation of India's eastern provinces are on hold presently.

Lets not forget Manchuria. Russia actively owns chinese land. If one china is so important to invade taiwan... giving up on manchuria seems backwards.

For all I know China invades everything soon and world war 3 triggers. Asia will probably be an absolute shit show. But from my point of view reading xi jinping. It seems more and more like he understands that war isn't good for anyone. The very low funding on military means he can invest so much more into themselves and that's how they grow so much more.

>Japan & South Korea are pretty impossible to annex without extreme mass casualties, especially with the extraordinarily heavy US military curtain and the eye-boggling dense build-up of weapon systems in place.

What I hope for, Sanctions against Russia work really well. War ends and the world tells the world that we are all united against territorial conquest. Our crippling sanctions can even stop a nuclear power.

Then everyone settles down knowing they aren't threatened like this again.
Previous HN discussion on this memo: https://news.ycombinator.com/item?id=30101411
How the Finns Deter Russian Invasion
Yeah, interesting.

I think that approach is fine if you have an application that's light on interactivity (like school curriculum or tutorial, in his case).

And I agree 100% on the service workers (Seriously, I'm right there with him - they're magic). I would also recommend leaning more heavily on persistent storage (localstorage/indexdb) but I'm also trying to handle offline only cases.

I think some of the advice falls down when you're genuinely trying to create an interactive experience. I probably won't expound much farther, since I really try to keep business out of HN, but... I write applications that have been used for following treatment programs in education environments - think speech therapy or ABA for autistic students, where the user is inputing data frequently - as often as once a second - and the UI is updating in response to calculations done client side, that influence the instructors program and plan in real time.

It's a lot of screens, often customized locally on the application, and removing JS (or even just writing pure js) hurts a lot. That's... hard to do with minimal js. Really, really hard.
Yes, but also no. Typically you might need a valid jwt on every request, but a refresh token request on a different (hot) path only every 5 minutes per user. And revalidation might easily query a whitelist (sql/db - is user valid for login/refresh) or a blacklist (is refresh token invalid?).

The jwt being valid 10 minutes (accounting for clock drift) might be a problem - but probably sufficient for many applications?
S/MIME could work well but the CA Cert situation doesn't allow it for normal people.
Thank God, nobody was inspired by Newton's occultism.

https://en.wikipedia.org/wiki/Isaac_Newton%27s_occult_studie...

Or, say, Jack Parson's for that matter.

https://en.wikipedia.org/wiki/Jack_Parsons_(rocket_engineer)

Oh, wait, there was Ron.
Not OP but I also looked into it and agree: https://www.frontiersin.org/articles/10.3389/fnint.2019.0001...
How likely is it to happen?
This observation makes me laugh ... so that I don't cry.
> The endgame for a business is not a binary choice between acquisition or taking over the entire market.

That's been the state of tech ever since Web 2.0 or so.
This institute is founded by some of the best people in their respective fields. I think probabilistic programming is one of the most underrated fields in AI. Have a look at this: https://www.youtube.com/watch?v=GYQrNfSmQ0M&t=1000s or this: https://www.youtube.com/watch?v=TFXcVlKqPlM for an intro. So I highly recommend getting in touch with them if you have the skills/interest.
http://perdu.com

"Perdu" means lost in french.
> Python -- you're already covered, just read the zipapp documentation;

pyinstaller --onefile will create a signle file executable with an embedded python runtime and libraries (no need to install python)
https://pyinstaller.readthedocs.io/en/stable/usage.html
Oh jeez yeah. I've been going through https://github.com/ArchiveBox/ArchiveBox/wiki/Web-Archiving-... the last few days and I've concluded that none of 'em are appropriate for someone with my level of software ineptitude.
The context is NameCheap's CEO gave Russians and Belarusians "one week to get off my platform, no refunds" a few days ago. This was of course a very crass and inappropriate emotionally-charged response to Putin's little war, and many customers are interested in finding a more responsible & reliable service provider that won't endanger them so needlessly.

I hope NameCheap grows from this experience. Communication is difficult at all levels, and it's become easier than ever for our emotions to govern how we act as individuals, companies, and governments. Slow down, communicate, and listen.
I think they really did. Especially with how they went in with basically no plans whatsoever for nation-building post-invasion. I mean, I think they wanted to invade Iraq for a lot of reasons, but then convinced themselves that the Iraqis wanted it too.
I wish browsers came standard, preconfigured with warning dialogs that triggered if assets attempting to load were beyond some threshold. That threshold could be decided by the browser vendors group based on some collection of network statistics and be adjusted on an annual basis or so.
IPOs are the alternative form of exit and they certainly don't.
Could you be thinking of Bread and Jam for Frances? I had completely forgotten about this book until I read your comment and it popped back into my head. Frances jumping rope and eating toast and jam. It’s weird the way our brains can remember random things from decades ago.

https://www.goodreads.com/book/show/911579.Bread_and_Jam_for...
I don’t think this is Java itself. Many Java apps are not designed with admin UX in mind. Those that have good UX usually don’t land on admin’s plate anyway and are managed by devs or devops.
You mean the Cuba to which the US has a constant trade emabargo/blockade? The one whose leader they tried for years to kill in the most bizarre ways? Yes sure the US let's them have their own foreign policy. Have a look at what happened in Panama or Nicaragua or Guatemala when people elected leaders which had policies that the US didn't like.

Edit: Just to make it clear, I actually do not believe that the Russian invasion of Ukraine is due to the expansion of Nato (and even if it was it would be completely unjustified) it is due to Putin's megalomania. That doesn't mean we should forget that the US has been extremely aggressive about protecting their interests even by force and by violating international law. There is a reason why they are the country which has been involved in the most wars since WWII
That would be awesome, do you think you could write that?
I have to wonder if Taylor agreed to custom-build McDonalds an ice cream machine specifically because they figured they had implied license to hose franchisees on service costs. Or, in other words, if McDonalds had said "make the machine reliable enough to serve ice cream 100% of the time with no service calls", then Taylor would have charged 10x or something. The fact that McDonalds is libeling Kytch sounds like Taylor is speaking through McDonalds' mouth.

Even if McDonalds had been more reserved, however; Kytch still has some industrial-espionage claims that might go somewhere.

Also, for those wondering exactly how controlled McDonalds' franchise relations are: McDonalds franchisees are required to rent their locations from McDonalds, because McDonalds front-runs their business partners and buys the most valuable land[0] from under them. Literally nothing about the business of being a McDonalds franchisee works the way capitalism or business ownership is "supposed" to work[1]. It's more like paying to work at a somewhat-lucrative job than actually owning a business. McDonalds is a richest-of-the-rich company that sells business opportunities to the poorest-of-the-rich crowd[2], who are looking for a way to park lots of wealth[3] in a safe asset.

[0] Typically, land immediately next to US Interstate off-ramps or equivalently high-traffic highways

[1] Unless you're a left-winger, in which case the McDonalds "strip our business partners of capital interest in the store" policy is how capitalism is "supposed" to work, and treating your business partners as equals is a historical aberration.

For the record I do find the left-wing critique of capitalism to be at least somewhat grounded in current business reality.

[2] Menial labors of the capitalist class. If you define "poor, middle-class, and rich" based on how people make their money (poor: unskilled labor, middle-class: skilled labor, rich: capitalism), then you can recursively subdivide that grouping further, with richest-of-the-rich being people whose wealth comes from owning other businesses through some means (usually trademark or copyright).

[3] McDonalds wants their franchisees to hold at least $750,000 of liquid capital and be able to invest between $1,000,000 and $2,200,000 into their stores.
Chris (CEO) here. I’m not aware of anyone that has created a model to fractionally insure a single person as you have described.

There are models and mechanisms for multiple smaller employer groups to band together. For example, association health plans are common with professional trade groups.

While an interesting thought experiment, no, we have never thought about multiple employers combining and contributing to insure a single individual.
This is my guess as well. Pretty much every Epic acquisition is for Unreal.
Spacecraft often use stars to orient themselves. The Voyager spacecraft have star trackers to keep the antenna pointing at Earth. They look for the Canopus star.
Russias military budget is only slightly higher than that of the UK (61.7 billion vs 59.2 billion), even though Russia has a bit more than twice the UK population.

France and Germany aren't far behind - 52.8 billion and 52.7 billion respectively. I believe Germany recently pledged to raise it's military spending to 100 billion (a lot of flashy headlines but couldn't find details), so soon it will far outspend Russia.
> Giving free healthcare to all the illegal immigrants would cost $100 billion; switching the single payer would save Americans a trillion.

> Making up a nice story isn't really "thinking". Let's see your actual numbers.

Let's see yours. Trusting a politician's estimate for a bureaucrat's dream money pit is naivete at its peak.

According to this article: https://www.ucsf.edu/news/2020/01/416416/single-payer-system..., savings of 3.5% are likely in the first year of a single payer plan.

Edit: according to Bernie Sanders' plan, the total cost would be $32 trillion over 10 years. Here's a nice article debunking that claim: https://www.factcheck.org/2018/08/the-cost-of-medicare-for-a...
This is amazing! I love it! Actually needed this kind of thing right now to figure out a color scheme for a website.

If able, would it be possible to add Material-UI as a section similar to the Bootstrap section?
> Should every author write easier to comprehend versions of their works because of it?

The tradeoffs are much less clear for prose. That said, outside of fiction writers should absolutely be thinking about accessibility, and should pay attention that they are writing in a way that can be understood by their intended audience (which may include people with cognitive impairment).

Further, if someone who has difficulty with Crime and Punishment wants to read it, there are abridged versions, audiobooks, dramatizations, and other ways to enjoy it.
Thanks, this comment has explained to me what SWIFT is more than anything else I've read so far :)
"Spacewar blossoms spontaneously whenever a computer is attached to a bitmapped display."

This Alan Kay quote was, at its time (early 70s) one of the most succinct expressions of a general principle: that electronic computing and electronic gaming are inextricably linked and that where you found one the other soon followed. Apparently... even back in 1938.
Yuch. Reminds me of that YouTube video where a praying mantis impales a hummingbird at a feeder. It's enough to bring a tear to your eye.
Or we've been overestimating Putin for the past decade and his "crafty tough guy" persona was just successful marketing. My personal opinion on this changed when I saw pictures of him sitting at the end of that long table[1] when talking to his advisors/generals.

The fact that he's that scared of COVID shatters the tough guy persona. The fact that he was seemingly ok with these pictures going public shows that he has no sense of how silly and bad this looks.

[1] https://nz.news.yahoo.com/photos-putin-keeps-his-distance-du...
@here
Show HN: WAPM – WebAssembly Package Manager
Hi HN!

I’m Syrus, from the Wasmer team. We just released the new version of WAPM that is an order of magnitude better than the previous one (that we also announced here in HN two years ago! [0]), enabling an incredible experience for using and publishing WebAssembly packages.

The tech stack that we are using includes:

* Python and Django (for the backend) with Graphene (for the open GraphQL API [1]) and Django Channels with websockets over GraphQL [2] for subscriptions

* Next.js [3] with React-Relay [4] and Tailwind.css [5] for the frontend

* WebAssembly and Wasmer [6] (for the online shell)

Vercel for serving the frontend and GCP for serving the backend.

Please let me know if you have any questions, I’d be very happy to answer them!
My experience is, from watching some domains, and my own ones; almost every registrar now keeps the domain for 1 year. Some put a parking page, some just update the whois to reflect that domain can be bought.
I disagree, they have used their airforce extensively in Syria with precision guided bombs, and I'd be very surprised if that didn't help the pilots gain a lot of experience too. All those reasons might have explained a lower intensity air presence but not the outright absence of russian planes. I think it's mostly due to public perception because air strikes, no matter how precise, cause a lot of collateral damage, especially when used in cities.

Outside of cities, where alternatives to air strikes are viable, you can still see a lot of russian helicopter and artillery action.
They are limiting casualities. The bombing of civilians is on purpose, but the purpose is to get negotiating leverage and break will, not to kill as many civilians as possible.
Especially if there are good chances that the ones you have been ordered to shoot at could be relatives of you or some people close to you.
A lot of Ukrainians and Russians are connected, that's another important factor.
It's not just a meme, but trackable enough that someone built a website:

https://mcbroken.com/
Agreed. Many modern systems need only TLS 1.3 and nothing older. Unfortunately, TLS 1.3 is saddled with the baggage of backward compatibility. This is not something you might care if you're deploying it, but if you're studying how things work, it's still necessary to understand TLS 1.2 and earlier protocols. There are many places where, in the TLS 1.3 chapter, I had to say something along the lines "this design decision ties to this TLS 1.2 behaviour or problem".
I remember saving webpages in MHTML when I was using dial-up so that I could read them offline later.

I would also download entire websites using a software which name I forgot, to read them offline. Back when websites held in a single floppy disk.

Good times!
> overrepresentation of specific groups from India, within the US, so I am attuned to recognize that group as "Indian heritage"

the ambiguity is practically nonexistent in the US so the circumstance wouldn't come up

I acknowledged that

You’re not going to get more than that

(unless I’m wrong about how represented those other groups are, that could be an insightful conversation I’m willing to have)
One thing I remember is a Russian fighter operating in Northern West Syria accidentally strayed into Turkish airspace and the Turks shot it down immediately. Combine that with the Russians would have a lot of trouble replacing any losses.
> They are clearly pulling their punches, likely because of the ethnic/racial dynamics of this conflict.

The goals are different. It's not like they are trying to make Syria part of the new Russian Empire.
Qobuz is the best
I find it fun to write scripts to play games like this, here's my solution:

setInterval(() => {
function jump() {
function fireSpaceBarToDocumentElement(eventName) {
const SPACE_BAR = 32
const ev = new KeyboardEvent(eventName, { bubbles: true, keyCode: SPACE_BAR })
document.documentElement.dispatchEvent(ev)
}

fireSpaceBarToDocumentElement('keydown')
fireSpaceBarToDocumentElement('keyup')
}

function shouldJump() {
function goingLeft() { return ball.speedX < 0 }
function goingRight() { return ball.speedX > 0 }
function leftPaddleAboveBall() { return ball.y < paddle1.y }
function rightPaddleAboveBall() { return ball.y < paddle2.y }
if (goingLeft() && leftPaddleAboveBall()) return true
if (goingRight() && rightPaddleAboveBall()) return true
return false
}

if (shouldJump()) jump()
}, 1)
Having a lottery determine your future is scifi dystopia. Why even filter by top X% at this point? Just make everything a lottery.

People should have as much control over their destiny as possible. They should have the opportunity to better themselves through hard work.
I think it implies Ukrainian and Russian (and other!) people. It's very much not taking a stance and if anything agreeing that the war has to be done, people will unfortunately be hurt, and he plans on helping them all. But still supports the invasion.
Cloudflare Weirdly Quiet on Russian Invasion of Ukraine
Cloudflare's blog (https://blog.cloudflare.com/) has typically discussed the implications of major armed conflict on internet access in the affected countries. 7 days after Russia invaded Ukraine, their blog has been weirdly quiet, and they haven't made any public statements. What gives?
Surely you forgot Nietzsche, and also about 100+ years between Steiner and Schiffmann.
Almost off-topic, but I continue to be mildly surprised that there's so few "modern" blogging platform/site generators that use Movable Type's model: a full user-friendly publishing/admin back end, backed by a database rather than flat files, but still basically generating static files for output. The SSGs that Jekyll arguably led the rise of have still largely stayed in the realm of developer tooling -- edit a directory of flat files and do testing, building and deployment from the command line. There's a few PHP-based systems out there that buck this trend, but they seem to mostly be commercial products pitched at small web design firms (e.g., Kirby, Statamic, Craft).
I'm not sure which CPU you have specifically but the lowest-end model of the X1 Carbon Gen3 has an i5-5200U [1] that lists Intel Quick Sync Video support.

From the wiki page for Quick Sync [2]:

> Intel Quick Sync Video is Intel's brand for its dedicated video encoding and decoding hardware core. Quick Sync was introduced with the Sandy Bridge CPU microarchitecture on 9 January 2011 and has been found on the die of Intel CPUs ever since.

I can't confirm but I'd guess your performance issues lie elsewhere than in the h264 decoding specifically.

[1] - https://ark.intel.com/content/www/us/en/ark/products/85212/i...

[2] - https://en.wikipedia.org/wiki/Intel_Quick_Sync_Video
So that must be why he didn't mention microsft, windows, C# and .Net. Hard to take the article seriously when he ignored 95% of the actual desktop market.

Not to mention Sun's failure with their java based OS and its own eventual collapse.

https://www.wsj.com/articles/SB891383840659892000

Java is still a major language worth learning, but yeah, it never lived up to its hype. When I was young, I remember asking in one of the forums whether I should learn Java or C#, perl or python. The answers were overwhelmingly java and perl. So java and perl were the first two languages I learned on my own. No regrets, but man the internet at the turn of the century/millenia really got that spectacularly wrong.
>It doesn't appear to be casualties/morale, because Russia has suffered 500+ casualties in 3 days (its worst losses since Afghanistan), and is still invading.

Conservative western intelligence estimates actually have this number at over 2000 this morning (3/1) [0]. They are losing whole battalions by the day, and the real nasty urban warfare hasn't even begun. It's an absolute bloodbath that would never even conceivably be tolerated for a moment by any other modern military on earth.

[0] https://www.nytimes.com/2022/03/01/us/politics/russia-ukrain...
Would you kindly stop breaking the site guidelines? You've been doing it repeatedly, unfortunately, and we've had to ask you repeatedly not to.

In this case you broke this one: "Please don't comment on whether someone read an article. "Did you even read the article? It mentions that" can be shortened to "The article mentions that.""

More generally, you've been breaking this one: "Be kind. Don't be snarky."

If you wouldn't mind reviewing https://news.ycombinator.com/newsguidelines.html and taking the intended spirit of the site more to heart, we'd be grateful.
I'd also recommend "Print Edit WE" and "Save Page WE" [2] for Chrome type browsers, both by one author. First one allows for editing of the page before printing/saving (as a single page HTML or MHTML), second one allows for single-page save.

[1] https://chrome.google.com/webstore/detail/print-edit-we/olnb...
[2] https://chrome.google.com/webstore/detail/save-page-we/dhhpe...
Amazon to close all of its physical bookstores and '4-star' shops
This exactly.

The ABET mechanical and electrical engineering curricula combined would give you all the skills a team needed (perhaps with the aid of a physicist and chemist or two) to build this system.

That we have dissolved the word "engineer" to mean "ad salesman at scale" doesn't mean the traditional engineers aren't out there.