skysight-inc/HackerNews huggingface dataset:
No question that there are cases where down migrations are a solution that works. In my experience though, these cases are more limited than you might think. There are a lot of presuppositions that need to hold for a down migration to "just work":

- The migration is reversible in the first place. It did not drop or irreversibly alter anything (table/column) the previous version of the application code was using.

- The up migration ran to the end, it did not fail at some step in the middle.

- The down migration actually works. Are your down migrations tested?

- You have a small enough data set that the rollback will not take hours/bring down your application by locking tables.

There are two major avenues for migration tools to be more helpful when a deployment fails:

- Give a short path to recovery that you can take without messing things up even more in a panic scenario

- Guide you towards patterns that can make deploying and recovering from bad deployment painless, i.e. forward-only thinking, expand-and-contract pattern, etc.

We're looking into how we can best help in these areas. It could very well mean we'll have down migrations (we're hearing users who want them, and we definitely want these concerns addressed).
I've never heard anyone claim that biological sex is irrelevant or not a valid concept. (I'm sure some people do, just as some people believe Barack Obama was born in Kenya. But I don't see any sign that it's a widespread belief.)

But in many contexts biological sex is irrelevant. There's room to debate exactly what contexts -- e.g., in professional sports that are segregated by sex so that women can have competitions in which they aren't obliterated by men who are just stronger, you might want to keep people with Y chromosomes out of the women's events, or maybe you should do that by measuring testosterone levels or something. But by and large, if you aren't (1) providing medical care to someone or (2) having sex with them, you get better outcomes for everyone by paying attention to how they prefer to live than to their chromosomes when those diverge.

"But people are getting cancelled just for saying that biological sex is real!" Eh, no. But to whatever degree anything like that is happening, a key part of the reason is that it turns out that people who make a big deal about how biological sex is real almost always actually have a bigger agenda that goes way beyond affirming that biological sex is real. If e.g. you want to keep trans women out of women's public bathrooms, or make sure gender-dysphoric teenagers aren't put on puberty blockers, or not have to call someone "he" if they look more like a "she" to you -- none of those things follow from "biological sex is real".
> So you'd need to be in physical proximity to the person, and what you're getting is details like your phone number which aren't especially private anyway

Once you know the phone number, you would then be able to track an iOS device's location if it's in "contacts only" discoverability mode for AirDrop, right?
It really strikes me that we've basically re-invented old-school landed aristocracy on a small scale in our big American cities.

anyone who was lucky enough to have bought a home 25+ years ago in a city like San Francisco or Seattle or Boston or NYC is a millionaire now, and home ownership is completely out of reach for the average inhabitant of a city. Buying a home is a pretty big reach even for very high earners, like the average audience of HN.

Ultimately, housing cannot be both A) an appreciating, scarce investment and B) equitably and humanely distributed.
I guess it’s just the premise.

Retiree transforms his life and solves all his problems by doing exactly what he was going before only... more carefully? And duel is certainly absurdist.

I enjoyed the film, but I think it’s intention is largely opposite what is being received here.
> but there was no way to bundle them together into one JS file you could include in your HTML and webpack takes a bit to setup

Maybe I am misunderstanding but this feels like it is provided via the `--bundle` flag in esbuild [1].

> It looks like esbuild doesn’t have websocket auto-reload magic so will need to refresh the web browser to see the recompiled changes.

I have also noticed that it does not seem to have the auto-reload part [2]. It does however have a server so that is at least something (e.g., `--servedir=dist`). Though that seems like a very new development.

[1] https://esbuild.github.io/getting-started/#your-first-bundle
[2] https://github.com/evanw/esbuild/issues/802
Are we running out of people with the incomes to support the higher monthly payments? That's what we have to be asking. A house across the street from me just sold in a couple of days for $555,000 ($20K over asking). Previously sold in 2018 for $424,000. The similarly sized house next to it sold for $149,000 in 2012. This is looking pretty bubbly to me.
In my admittedly limited interaction with human subjects research approval, I would guess that this would not have been considered a proper setup. For one thing, there was no informed consent from any of the test subjects.
Yes, your boss can read your Gmail drafts
That's the key difference between self-hosted and SaaS. If you self-host, you are responsible for setting up the required infrastructure, taking care of updates, backups etc.

If setting up a reverse proxy behind whatever monitoring you've got is too much, then yes, by all means use the SaaS offering -- but that's 100% the user responsibility, and there's no need to be snarky about it.
I wonder if the people involved in approving and conducting this research are aware of the ACM's Code of Ethics. I can see pretty clear links to at least two or three of the code's ethical principles. This seems to be a pretty serious breakdown of the researchers understanding their ethical responsibilities, but also the review and approval of research projects.
> That's a pretty simplistic view of how international politics and geostrategy is played.

It is pretty clear that Russia invaded another country, they are the country is doing the destabilization.

Additional info may be useful to get more detail, but it is not changing basic facts.

> ATO expansion is undesirable to Russia and counter to agreements made between Russia and NATO.

ATO expansion? Counter to which agreements?

(I guess this agreements are similar that Ukraine got about integrity of it territory)
> I would not lump all devs under 1 group.

Of course.

> ...the compatibility issues

Honestly, I've seen only one application crash on me due to using an M1 Mac. TBH, didn't try to port my scientific applications on M1 though (most of the time, they run on Linux servers, so no rush).

> Especially for the devs that use desktops on a regular basis...

In fact, I'm a desktop first user. Using M1 daily, since we're WFH. Maybe you can be this responsive on a desktop, but I'm talking on the mobile space. If we take out form factor considerations, I can get the same speed and responsiveness from 6-7 year old servers we use at the office.
It’s too much risk. It may work out, but unless you know something the rest don’t, it is just gambling.
There's value in having large dashboards that contain a bunch of non-prioritised graphs and gauges. I've managed to find a fair few problems by scrolling through such dashboards. Usually it's due to poorly configured monitors/alerts, but sometimes I'll spot things that you wouldn't reasonably expect an algorithm to pick up.

Plus it's good fun to look at a big dashboard and pretend you're Homer Simpson at the Springfield Nuclear Power Plant.
Hi there, I'm the creator of _hyperscript and htmx, happy to answer questions.

_hyperscript is much more speculative than htmx, but it is working out pretty nicely. One aspect of the language that HN readers might find interesting is that it is async-transparent: the distinction between synchronous and asynchronous code is largely hidden:

https://hyperscript.org/docs/#async

This allows for some pretty interesting programming techniques, such as event-driven control flow:

https://hyperscript.org/docs/#event-control-flow

One thing to be aware of with _hyperscript is that it is intended as a light weight, event oriented scripting language, I would not recommend a huge application being build out in it exclusively. It is designed to make it easy to plug into the event models of htmx and other libraries.

EDIT: I should also mention, it is still very early in development (0.0.9)
Open Source is not water proof if known committer, from well known faculty (in this case University of Minnesota) decides to send buggy patches. However, this was catched relatively quickly, but the behavior even after being caught is reprehensible:

> You, and your group, have publicly admitted to sending known-buggy patches to see how the kernel community would react to them, and published a paper based on that work.
>
> Now you submit a new series of obviously-incorrect patches again, so what am I supposed to think of such a thing?

If they kept doing it even after being caught, is beyond understandable.
I am excited to see how the infrastructure bill supports new electric tech like REGENT. This seems like one of the first applications of a WIG that has the potential to go mainstream and start a real paradigm shift in regional transportation. Coastal cities should be all over this!
softbank is not a chipmaker and they don't understand what they have. just look at wework.

NVIDIA however clearly know that ARM represent market domination and would be a national strategic asset.
Rechargeable batteries in the 2032 (20mm wide, 3.2mm deep) package are generally lithium ion chemistry.

This means that, depending on the circuitry they are not always drop in compatible since the voltages and discharge curves differ
> It's reasonable to assume USD is losing 8-10% of its value every year from 2020 onwards, thanks to Fed policies.

Since dollar prices of final goods and services can be tracked, and don’t show that trend, its not reasonable at all; nominal price levels of goods and services haven’t generally increased by about ~2.5× over the past decade.

> I know about their bullshit CPI numbers,

CPI is BLS, not the Fed. And its a whole lot less bullshit than what you’re spreading right here.

> and anyone who is gullible enough to believe "there is no inflation" deserves what's coming.

The idea that inflation might be coming at some indefinite point in the future is, of course, unfalsifiable, and its been a constant refrain from the same segment of society for as long as I've been alive.

The claim that there has been massive inflation since 2010, OTOH, is both falsifiable and false.
Best Tips to Organize and Improve Your Social Media Images
You don't, but if the death rates are generally stable and predictable a huge increase during a COVID wave seems highly likely to be related.

There have been plenty of analysis of various countries mortality rates compared to normal years. In general, the trend seems to be that poorer countries have probably missed a lot of COVID deaths due to lack of testing infrastructure and heavily rural populations.

https://www.economist.com/graphic-detail/coronavirus-excess-...
You seem to have a very specific vision. Could you mock it somehow? HTML, Figma, Paint, Powerpoint, whatever? Quite curious about ideas.
Very cool project! Thanks for the pointer.
If it's a bubble how do you see it crashing? Would a move from asset prices to inflation of everyday goods do it?
> without an external agent performing these tasks.

What about an AGI running autonomously on a computer, then. Would that have subjective states like we do?
> is to show that the process could be subverted, the lessons are to be learned by someone else.

If you show up to a kernel developer's house, put a gun to their head and tell them to approve the PR, that process can also be subverted...
Maybe they have, but whoever does the work, there is a lot of ground to cover in the space of developer tool chains. It's going to be a minute to get to a point where devs don't feel like they have to make compromises.
This feels like the kind of thing that "white hat" hackers have been doing forever. UMN may have introduced useful knowledge into the world in the same way some random hacker is potentially "helping" a company by pointing out that they've left a security hole exposed in their system.

With that said, kernel developers and companies with servers on the internet are busy doing work that's important to them. This sort of thing is always an unwelcome distraction.

And, if my neighbors walks in my door at 3 a.m. to let me know I left it unlocked, I'm going to treat them the same way UMN is getting treated in this situation. Or worse.
Yes, there are. Will they find everything? No. Would I be pissed, if this caused silent corruption of my filesystem, or some such crap that's hard to test, due to this uni trying to push in memory misuse vulnerabilities into the kernel into some obscure driver that is not normally that much tested, but I use it on my SBC farm? Yes.

Maybe they had some plan for immediate revert when the bogus patch got into stable, but some people update stable quickly, for a good reason, and it's just not good to do this research this way.
I know nothing about the case, but surely "nothing has been proved" just means there hasn't been an outcome yet? Attorney generals tend not to file cases unless they believe something to be true, at the very least on the balance of probabilities.
> Wisconsin Governor Tony Evers said the new agreement will save Wisconsin taxpayers “a total of $2.77 billion compared to the previous contract, [...]

So now all of a sudden we need to look at NOT giving tax deductions as a win where as before giving tax deductions were a win because "we got so much jobs etc. in return"...
The UK changed culture around weddings and funerals see teh Late Prince Phillips funeral.
If something is determined not to be human research, that doesn't automatically make it ethical.
Excellent advice! Thank you for sharing
MUCHO TEXTO
Have you tried reaching out to therapists individually to sell them on the apps utility? That might be a better marketing strategy as they would be getting users for you directly.

Having it as a way to facilitate meetings in a specific therapy niche maybe where clients don’t want to/can’t drive to their meetings.
By this defintion any investment is a pyramid scheme. Even savings accounts give the greatest return to those who start early.
The problem with that is if people know the exact formula for quality, sites can work to game it. Basically, once the formula for quality is known, it no longer is a formula for quality.
I do agree the CPI vastly undercounts inflation but we loose credibility when we through out numbers so far off from reality. 8-10% is realistic for real estate over the last year or two. But, we need to look at longer term trends to establish inflation as a huge problem.

Even 4% actual inflation would be very very high, as that would be 2% per year over CPI, which would compound to 80% over the CPI in just 30 years or so.

Let's take a look at some actual values:
- the big mac index shows inflation at about 4% for the last 20 years.
- Cape shiller housing index for US has been showing inflation at about 4% over the last 20 years. This is a real problem that will affect rents as well because the rent to own ratio spread can't continue to increase forever.

- housing of course is now 10%+ over the last year.

And yes, those quality adjustments made by the boys in the labor department are very questionable: I don't know how they sleep at night.
It means they either lied to the IRB or the IRB is absolutely incompetent. Possibly actionably so. I've sat on an IRB. This experiment would have been punted on initial review. It wouldn't even have made the agenda for discussion and vote.
> The nation is seeing extreme increases in price, maybe that’s a bubble. HCOL areas like the Bay Area, LA, and Seattle I doubt are in a bubble.

I generally agree. The highly paid workers living in these regions continue to be highly paid, and the quantity of housing continues to be constrained.

I think a lot of small/medium cities will see corrections if lumber prices go back down. There will be a building boom, new subdivisions will flood the market and drive prices back down on the fundamental costs of producing housing. In larger cities, we're too space constrained (and building high density is illegal) so this feedback loop has been broken and will continue to be broken, thus prices are set by whatever can be afforded with a local wage.
You think the news is about 'takes'. It's not, real news is about scoops.
There have been numerous surveys in various Eastern European countries, even today a majority of people would prefer the political systems before '89.

The GDR was under constant attack from capitalist countries, I don't think it's that unusual for a country to track and imprison foreign spies and local collaborators and fascists. The current capitalist countries imprison lots of people for political reasons too.

The Marxist labour theory of value has been proven statistically in several ways, it's not disputed even by right-wing economists. Central planning also is used by capitalists to avoid the inefficiencies of markets. The major missing thing is that we live and work under the dictatorship of capitalists, with little to no democratic control for the workers.

No poor under-industrialised country has yet to achieve prosperity under capitalism. Yet the improvements with socialism are quite clear in the past (https://mobile.twitter.com/isgoodrum/status/1136693839526223...) and nowadays with China, Vietnam and Cuba.
I really need "Permanently Archive Chat" feature in whatsapp. There are some chats/groups that I never want to see any message in but don't want to leave.

I believe whatsapp knows how useful this feature is but it will lead to lower usage and they are not rolling out
I am excited to see how the infrastructure bill can help drive adoption of electric transportation solutions like REGENT.
Enforcing formal behavior makes the deviant behavior more noticeable.
How to resize a logical volume with 5 simple LVM commands
Show HN: Smartlock your Mac with any Bluetooth device, not only the Apple Watch
It's not greed. The chair of the Fed sat on national television and said they flooded the system with cash and will not stop until everybody gets it while ignoring any stretched valuations or inflation signals. All bubbles are policy decisions by the Fed to spark risk-taking and optimism, guided by the "less than honest" intermediaries on Wall St.
And initially he didn't even drop out. He took two leaves of absences and could practically return at his leisure. So he had a fallback.
> 74% effective (at preventing symptoms)

Preventing "moderate symptoms", which is enough symptoms that the typical person would stay home from work.

"mild symptoms" means people notice they were more tired than usual, but otherwise didn't feel like it was bad enough to stay home.

"Severe" symptoms, which means people went to a hospital to get treated.

-----------

The 74% and 95% numbers you quoted were against "moderate" symptoms in the Phase 3 trials. IIRC, all vaccines were 100% effective against "hospitalizations" and "death" (severe).

-------

With that being said, it seems like the asymptomatic effectiveness is something like 60% to 80% (depending on the vaccine). That is: if we constatly do COVID19 tests to check for ASYMPTOMATIC infection, we still see a major reduction in asymptomatic COVID19 in vaccinated individuals.
Serverless Vulnerable to Financial DOS like Attack
A simple botnet can cost a serverless based architecture a $40k bill.

Thoughts on guarding against this type of threat? A WAF can detect some of this but the rotating IPs would make that less effective.
That's because when it was corporatized, they intentionally took out the message. The Landlord's Game became Monopoly. The Poor House became Jail. References to wages and necessity taxes were removed. The anti-monopolist rules were removed entirely.
Some clubs are majority owned by the fans.
Isn't it just muscle memory? Like how it is difficult to switch back and forth between a Qwerty keyboard and a Dvorak keyboard, except with the addition of balance thrown in.
Funnily enough, this track is credited in the video description of the OP video under the "Music in this video" section, complete with an ad for YouTube premium...
Netflix Announces About Season 2 of ‘Dad Stop Embarrassing Me’
Not the person you're asking, but the book is over 80 years old and one of the best selling books of all time. Not exactly the same, but it's like asking where they heard about the Bible. It's everywhere.
Arsenal, Spurs, Liverpool are out of the Europe spots at the moment though. I want to see the best teams playing in the Champion's League, not the wealthiest.
Once anything ends petro-dollars the USD is toast.

Belt-and-Road has a decent chance of succeeding here, imo.
> I think there's an interesting argument to be made here that Google's "quality" ratings are entirely opaque and the public should be given better access to them.

It's a tricky problem, in principle I agree with you, but on the other hand more transparency also means more information for people who are gaming the system.

And there are many MANY people who (try to) game Google. Never underestimate the amount of ridiculous effort some people will go to to make a buck. Arguably Google's largest value is that it's actually reasonably good in preventing this.

So ... I don't know.
Making GraphQL Work in WordPress
New Carbon Market Pays Southern Pine-Growers Not to Cut
I just default to an x86-emulated terminal and everything I use on my M1 works exactly as it did on my Mid 2015 MBP, except faster. The only exception is virtualization, which only works if there’s an ARM image available (which there isn’t, mostly).
Using a python context manager to time your code is a very nice way to do this.

honestly, so, you do not go to rewrite the functions or pieces of code.

good example also in go.
> Is there a board game where one's advantage doesn't compound, though?

The thing is, it's not usually such a zero-sum game as it is in Monopoly.

In better designed games, there's more opportunity cost associated when you start optimizing for something. Individual players can pursue their own, different strategies. A player who optimizes for "strategy A" might be weak to "strategy B." Getting the resources for "strategy B" might become easier, since there's less competition for them.

The trick to Monopoly is that there is no alternate strategy. Opting to (or being unable to) buy land doesn't open up some other path through which you can win - it just means you're going to lose.
> Nobody has any idea how to connect the crypto economy to the real world economy.

How about stablecoins and exchanges? This already ties economies.
Hi all, author here.

On macOS (Mojave, Catalina, ...) you can lock/unlock the computer with an Apple Watch by proximity. But I don't want an Apple Watch...

So I made a program to replicate this feature. It connects to any (classic) Bluetooth device and keeps monitoring the intensity of their Bluetooth signal (rssi). When it is below a threshold (defined by the user) it locks the computer. When it is above it unlocks.

Unlike Apple's version, my program doesn't require WiFi and works even with older Macs that don't support Auto Unlock. However it doesn't handle admin login or does 2-factor authentication, yet. That might come later.

I posted here before a Windows version[0], but it only works with Android phones.

[0] https://news.ycombinator.com/item?id=16476882
It is ironic that you introduce plausible deniability here. No one as concerned about security as you profess to be should consider the presence of plausible deniability as being grounds for terminating a threat analysis. In the real world, where we cannot be sure of catching every error, identifying actual threats, and their capabilities and methods, is a security-enhancing analysis.
Another case in point: Cuba, pre-Castro.