skysight-inc/HackerNews huggingface dataset:
I just opened my copy of Gang of Four. Almost none of the patterns there are exclusively GUI focused ... I might even go so far as to say that none of them are, but that's probably a little too strong of a claim to make.

I was really asking about the design patterns used in native/desktop GUI applications like widgets (including a wide range of widgets almost none of which seem to be offered by any/most web frameworks), anonymous callbacks/closures, explicit event loops etc.

Also, last time MVC "evolved" in a native context was, to the best of my knowledge, Microsoft's introduction of M-VM-VC where "VM" is "View Model", a slimmed down GUI-centric version of the "real" model. This way you're describing a "presentation layer" ... I don't see where the distinction between that and a traditional "View" is (or "Controller" for that matter, since in most GUI contexts, the View and Controller are frequently occupying the same pixels on a display. My guess would be that the "View" in the design you're referring to is some particular aspect of the fundamental model, rather than an actual mechanism of making the model visible to the user.
I’m no biologist, just seems easier to “infect” blood with someone else’s DNA than to make it from scratch.
I don’t know about the US, I live in the UK which reports all testing including the at home self reported LF test results.

I don’t think that our world in data being a rubbish data source on its own is a new thing (any data source is rubbish without context), even in the beginning of the pandemic you had major discrepancies.

Perhaps other than for a short time when everyone was basically doing mass testing during the initial lockdown period around mid 2020 but pretty much since then and especially since the vaccine was rolled out every country has been doing their own thing.

Just to put things into perspective for the past month the UK averaged about 900K tests per day, Sweden averaged about 15,000… even if you account for Sweden having about 6.5 times fewer people it’s still a drastic difference. And whilst not everyone went as nuts as the UK, Italy is still doing about half a million tests a day.

https://ourworldindata.org/grapher/full-list-covid-19-tests-...
The second example in the article is HAL-like.

Leaving the relative poverty of HAL as a hypermedia aside, the crux of the issue in my opinion is that JSON is consumed by code, rather than humans, and thus the flexibility and discoverability of HATEOAS is largely wasted:

https://intercoolerjs.org/2016/05/08/hatoeas-is-for-humans.h...
> I don't equate the two

In response to this, I'd say that I do equate the two. a lot of people think that you can help homeless people. but for most homeless people being homeless is a symptom of a greater problem. the problem is usually drugs. and I'm sure that's not true for all 100% of the cases but I'd be willing to bet that it's true for about 80 to 90% of the cases. you can give a homeless person a million dollars, and a large percentage of those people will use that money to squander it on things like drugs and other things that degrade their behavior and not improve it so that's the only reason I'd say I equate the two. drug abuse is a direct affect of what causes someone to become homeless. homelessness like I said for most situations is a direct result of being a drug addict and having mental illness caused by drug abuse, specifically crystal methamphetamine. I have hundreds of rentals and I see this everyday, and I'd say it's getting worse because 20 years ago there was not as many mentally ill people caused by drug abuse as there is today and specifically crystal methamphetamine. crystal methamphetamine the way that it's produced the last 15 years it produces permanent psychosis and brain damage it literally turns your brain into Swiss cheese so to say that drug abuse isn't related to homelessness means that you're just not looking into the correlation as much as you should be and it might be just because of a lack of experience.
I would really love to know what Microsoft got out of this deal.
One of my first examples. That story was ironic in so many levels.
You got me to keep trying to scroll at the bottom of the page like an idiot hoping for easter eggs.
So far it's hard for me to differentiate this from Nuxt.js (Vue-based server-side rendered + client side rendered version of Next.js).

I'm digging into the demo vid to look for the selling points of this over Nuxt.
I tested in prod all the time. Except

a) I know how to fix 99% of issues I would cause

b) I explicitly call out that this is happening, indicate possible issues, and what to tell angry customers if they call

c) Take ownership for mistakes

This trust breaks down when people don't do any of these and just yeet whatever without knowing the consequences
Ask HN: What (preassembled) split keyboards are in stock?
There are lots of split keyboards and I'm dying to try one

but most of them seems to come in parts where you have to assemble them yourself which I don't want

and even those that are preassembled appear to be sold out

source: I went through A LOT of https://aposymbiont.github.io/split-keyboards

So: what (preassembled) split keyboards are actually in stock and avaiable for purchase right now?
It’s rather opaque at least to me who the ‘rightful owners’ are: willing buyer and willing seller might suggest indigenous Cubans, but I doubt that would do much about the blockade, and might makes right would presumably suggest that the party is right.

Moreover even if the ‘rightful owners’ of property were found, it’s far from obvious how that would solve geopolitical difficulties with the US; after all, all sorts of governments which violate most Americans’ notions of property rights are on very good terms with it.

As for the possibility of spontaneously choosing ‘democracy over the support of the Castro family’, at best this is an almost vacuous statement akin to ‘if nobody were to litter there would be no more additional litter’. Even quite praiseworthy and courageous peoples have some difficulty overthrowing their governments (e.g. in Sudan, Myanmar, Hong Kong…); the ‘patriots at the Boston tea party’ made similar choices, but merely choosing revolt does not guarantee success.

Finally, on the embargo: the medicines exception of course exists, but US sanctions can, if desired, affect trade with most of the world economy, since most companies have some connexion e.g. to the US financial system. To the extent that is not the case in Cuba, that is because the implicit suggestion of the original quote, viz., that were sanctions loosened certain economic benefits would accrue in Cuba, has itself either been implemented or not been contradicted by some contrary policy.
many musicians use a stack - I sure do. It's a bunch of tools I somehow make work together.

Unless we can track down interviews with the people, I think all we have are educated guesses. It is true to say however, that these days, Amigas sell for thousands of dollars (such as https://ebay.com/itm/224602338650) because modern musicians want to use vintage tracker software in music production.

People are still putting out hardware on it. Here's something from 2020 https://cdm.link/2020/08/amiga-just-got-a-new-open-8-bit-har...
Parents' income level https://phys.org/news/2014-02-parental-income-strong-predict...

Organizational skills https://www.jstor.org/stable/23887095

Class size http://www.classsizematters.org/wp-content/uploads/2012/10/2... (PDF)

Home environment https://www.tandfonline.com/doi/abs/10.1080/09737189.2009.11...
I had the same objection to SQLite, and then I heard about Litestream, and it won me over.[0]

Litestream watches your SQLite database and then streams changes to a cloud storage provider (e.g., S3, Backblaze). You get the performance and simplicity of writing SQLite to the local filesystem, but it's syncing to the cloud. And the cool part is that you don't have to change any of your application code to do it - as far as your app is concerned, it's writing to a local SQLite file.

I wrote a little log uploading utility for my business that uses Litestream, and it's been fantastic.[1] It essentially carries around its data with it, so I can deploy my app to Heroku, blow away the instance and then launch it on fly.io, and it pops up with the exact same data.[2]

I'm currently in the process of rewriting an open-source AppEngine app to use SQLite + Litestream instead of Google Firestore.[2] It's such a relief to get away from all the complexity of GCP and Firestore and get back to simple SQLite.

[0] https://litestream.io/

[1] https://mtlynch.io/litestream/

[2] https://asciinema.org/a/I2HcYheYayeh7aHj23QSY9Vyf/embed?size...

[3] https://github.com/mtlynch/whatgotdone/pull/639
I don't mind vouching for this comment because it does further the discussion.

It's a lot more interesting that the "let's should be lets" comments.
Works just fine on my Android Firefox, even the examples.

My laptop's Chrome doesn't complain either.

Looks cool! I'd wait for a little bit until the author declares it safe for general consumption, but it does look like something I'd use.
They'd probably become a pretty big fab outside of just making smartphone sensors. The business of memory would abstract into the business of information in general.
You seem determined to think with analogies. If my attempt above didn’t help you understand why people are paying tons of money for these things, I’m afraid I’ve run out of ways to help.
it is interesting how websites will need to compute the user-friendly url themselves from the punycode as can be seen on the displayed url on the HN UI
You as a client have no say in the matter, beyond asking for particular representations which might be presented to you.

A REST-ful (in the true sense of the word) system exposes its API to you through hypermedia: links, forms and so forth. You, the human, may interact with it. But there is nothing outside the API provided by hypermedia, no matter how poorly implemented that hypermedia API might be.
Perhaps if you pay them for email already in some way? They sent me emails saying "We're retiring Workspace and moving your email to a new platform. For each of the following accounts you'll get a two-month free trial to test Microsoft 365 from GoDaddy. Asterisk Asterisk your free trial will expire at the end of two months, if you'd like to continue using the product after that you'll be billed at the current rate".

After the move, I had to update my email client to connect to Microsoft servers for POP3/SMTP, it didn't keep working pointing at GoDaddy's securemail address.

Then after two months, they sent me emails saying "Your free trial is expiring soon" and "Urgent: you'll lose access to your email; you'll need to move to a paid plan from your free trial, or you'll lose access to your emails." and when I logged in to the domain management page, a banner saying I'd lose access to my email unless I paid $28/year for a Microsoft Office 365 emails basics plan.

So, if it did actually keep working no change, I'll chalk this up to another GoDaddy dark pattern, and the push to finally move me away from them.
which of these come preassembled and are in stock?

pretty much all of them seem to be DIY, or, simply out of stock
>”…that rich conservative voter that emits more greenhouse gas than the F-150 ever can ever hope in a singe space visit for his own amusement.”

None of the space tourists so far have been particularly known for their conservative politics. Nor do I find space tourism to be some lauded thing in conservative circles.
> And most commonly-available salsas (even labeled "hot") tops out at not-actually-very-hot.

Yeah, that's what I always thought. Then I moved to New Mexico, and got my tongue, gums and throat handed to me on a plate.
There are a few more F-150 drivers than there are Shell board members or rich conservative space tourists.
No Paper Is Good Paper: A Critique of Long Titles

The Arxiv One Billion Paper Benchmark was released in 2011, and is commonly used as a benchmark to writing academic papers. Analysis of this dataset shows that it contains several examples of sarcastic papers, as well as outdated references to current events, such as Support Vectors Machines. We suggest that the temporal nature of science makes this benchmark poorly suited to writing academic papers, and discuss potential impact and considerations for researchers building language models and evaluation datasets.

Conclusions

Papers written on top of other papers snap-shotted in time will display the inherent social bias and structural issues of that time. Therefore, people creating and using benchmarks, should realize that such a thing as drift exists, and we suggest they find ways around this. We encourage other paper writers to actively avoid using benchmarks where the training samples are always the same. This is a poor way to measure perplexity of language models and science. For better comparison, we suggest the training samples always change to reflect the current anti-bias Zeitgeist and that you cite our paper when doing so.
In a multi-tenant SaaS application, it should be possible to have a predictable begin and end state for a test case. Once you get this, then it's not to hard to make some canary tests periodically check the most important corners of the system.
Both alignment and unalignment actually.

GPUs are weird. Prime numbers to 'unalign' data so that you minimize bank conflicts is a common optimization trick.

GPUs don't have one memory load/store unit. They are incredibly parallel and have like 32 load/store units that try to operate in parallel.

If all your data is aligned, then bank#0 gets more requests than bank#31. (Thread#0 accesses memory 800. Thread#1 accesses memory 832. Threas#2 accesses 864... Woops you just hammered one bank and now 31 of your memory banks are sitting around doing nothing, while bank#0 is doing all the work sequentially)

Unalignment means more read/writes are sent to bank#31, and fewer to bank#0, better balancing the load across your parallel load/store units.
> If its never, then it is probably pointless.

I disagree, because using an enum value as an index into an array or map (e.g. the scheduler-class example, or any other kind of grouping/routing) can still be useful even when there's no if/switch in sight. These patterns occur very frequently IMX. In many of these cases proper subranges would be even better and I wish more languages supported those, but an enum is still better than resorting to naked integers or (ick) strings to represent a small set of discrete values.
So you support the starvation of the Cuban people (your words) so long as the government doesn't change. What if it never does. You think starvation and collective punishment by the US is the way to go? Would love to hear your thoughts there as there are many countries on sanctions (especially poorer ones) and some politicians even brag on killing more than 500000 children like Bill Clinton's foreign secretary Albright did.

https://www.cato.org/commentary/madeleine-albright-back-she-...

Here is the opposite of current US policy of starving people in countries whose regimes we oppose:

https://nationalinterest.org/feature/herbert-hoover-ussr-gre...
The browser has a built in bit of software called "the rendering engine" which turns HTML strings into visual widgets surprisingly quickly. A javascript application will still need to render to HTML. The few additional attributes necessary for an href are round off errors in the overall scheme of things.

I would note that HATEOAS was simply a description of the world wide web. So, in as much as the web worked and continues to work, latency-free universe or not, it appears to be practical for building software systems.
Nobody here seems to know what a "mental model" means. Wikipedia has it as "an explanation of someone's thought process about how something works in the real world", which I think is a good and succinct definition. Anyway, the important part here is "how something works". I am reminded of being in the 4th grade (about 10 years old) when a student made a comment about being fat meaning that a person eats too much food and it just collects in their belly - such an idea makes sense of the idea of someone being fat, but it isn't accurate. The real science behind being overweight involves a lot more. In technology, inaccurate mental models abound because these days most people use technology while few are completely familiar with how the technology works

Browsing through the top comments though, it seems most here don't know or don't care what a mental model is. Or maybe they just followed OP's lead, which is more like a personal philosophy or a personal code of ethics, rather than a mental model. Ethics is a valuable pursuit in its own right, but I was rather disappointed to come in here expecting some interesting mental models of different technologies, just to be met with a discussion of ethics.
Yes, definitely different takes on the same problem! We could make a comprehensive list of all the differences, but the end result is that you can use all three (four if you include Next.js) to build any web app imaginable.

At the end of the day, you must try them each for yourself and find which one resonates most with you and your team.
It depends on the scale. I still like the idea of harvesting bog iron and smelting in a homemade bloomery.
> I looked at HATEOAS a few years ago and thought it would make sense in a latency-free universe.

It makes perfect sense in a latency-laden universe; see, e.g., the Web.

> Shouldn't we download the whole application "graph" schema upfront? How big could that be?

Arbitrarily large. And it can become stale arbitrarily quickly. But, anyway, HATEOAS is consistent with that if you need it (consider the case where the application data is in a single document and individual resources are accessed by fragment identifiers for one simple example.)
If you do ITAR work, there are also federal-level reporting regulations regarding boycotting Israel.
You are confused. At present, anybody with money can loft a satellite, and anybody with money can buy pictures from it, with no need to ask anybody's permission.

With Starlink terminals, local governments could make the right to place them depend on agreement not to deliver local pictures to those terminals. Since SpaceX controls both terminals and satellites, that would be trivial to implement. A government might even try to demand that SpaceX not deliver local pictures to anybody else, either. SpaceX might instead choose not to place terminals in such a country, thereby generating local opposition to those pols. But none of this could interfere with delivering other pictures to terminals not so governed, even right across the border.

Anyway, any such pictures would have much lower resolution than the ones already being sold today. So, the only places that would complain and maybe interfere would be those whose pols are equally confused. I do not claim there are no such pols.
I never "test" in prod. I "verify" in prod.
The tests generally choose markers that tend to differ between different people rather than the ones that tend to differ between people and animals.

But even then, people use percentages as if everyone's DNA was independent. Which it isn't. Blood relatives have similar DNA.

The one thing DNA is really good for is excluding people. If you have the rapist's DNA and you accurately test it against the suspect's DNA and it doesn't match, it's not them.
I'd expect the opposite, and from what I understand, this is particularly so for delta. Consistency is an issue though, as natural immunity is more variable in it's response.

> https://www.science.org/content/article/having-sars-cov-2-on...

This report on an Israeli study seems to imply that natural immunity was superior to the vaccine for protection against delta, though a combination of vaccination and infection provided the best response. This, to me is intuitive.

Note: 1, educated conjecture ahead

It seems intuitive to me that the natural immune response would provide greater protection against variants like delta, stemming from the nature of their targets. The vaccine is highly tuned for a specific target: the spike protein. Conversely, natural immunity performs multiple "training" runs in parallel, targeting a wider variety of antigens. If you'd take a ML perspective, this is somewhat analogous to an overfit model vs a more generalized model.

Note 2: Alas, you still have to get Covid to begin with to get natural immunity, so you probably don't want to go out of your way to get it if you haven't already.
Yeah but my point is that people point to relative efficacy when it is absolute reduction which matters. Delta being 2x worse means you need a stronger relative protection.

What do you mean by 4x: relative severe disease protection? That would be 75% efficacy, a marked drop from 95% efficacy (20x protection). I think most of the west still has higher severe disease efficacy than that, though Israel fell as low as 80% pre booster.
Medical Return Manga: A Comic Novel Every Medic Should Read
Who pays to have a car towed by a tow-trucking company? I'm thinking mainly of business parking. Does the business pay? I assume the vehicle owner has to pay?
While I'm here, does anyone know anyone at indie hackers? I'd love to get in touch with them...
Except that doesn't happen when you bury it.

Radioactive waste is a solved problem. Consumer waste largely is not, especially when considering places like India and China.
Yes, that might be true, I can't imagine how it should work without a human making decisions on the fly, but that's not a problem of the format.
Laptop Zen and desktop Zen are basically the same in single core. The big difference is you're not more than 8 fast cores. The M1 Max also has basically 8 fast cores.

It used to be different, but now frequency is so close to the absolute limits that adding more power doesn't help single core performance that much.
The Flux design pattern created by Facebook, and used by Redux and nearly every ReactJS app, is by definition a State Design Pattern as described in Gang of Four lol.
Can Doctors Have Tattoos? Interesting Facts You Should Know
Next.js has had nested routes since version 6. Not sure I see the difference in what Remix is offering?

https://nextjs.org/docs/routing/introduction#nested-routes
Herbert Hoover in the USSR: The Greatest Humanitarian Campaign in History
Nov 16 GCP Load Balancing Incident Report
Saw this movie at the theater. It was _WAY_ better than I was expecting. One of the best movie's I've seen in the past year. Sad to see it didn't do well.
The headline could be clearer. This is about a newspaper being told by a state sponsored advertiser that they must "pledge" not to boycott Israel. It's much more specific than the current headline, which is confusing. Specifically "telling" - like an ad campaign or something is not an infringement of rights vs. "compelling" - which is my read of what is happening in the article.
But is there a biological mechanism for "building up a tolerance"? Seems possible that building up a tolerance is merely a mental exercise as well. Perhaps in the subconscious part of the brain at least.
> and the things I do care about can be improved in other ways so its incorrect to say perf/watt is everything.

Okay, noise, _maybe_, but how are you proposing to improve heat and battery life without improving perf/watt? Your options for battery life are either to reduce performance, or to increase battery size (but, well, good luck with that; the 16" MBP is already as big as a laptop battery can practically be, as if it was any bigger you wouldn't be allowed take it on a plane). Your only option to reduce heat without improving perf/watt would be to reduce performance.
AirTag Competitor Tile Getting Acquired by Location Sharing App Life360