skysight-inc/HackerNews huggingface dataset:
> The common way I know is the access is given to a small number of trusted people who make the updates.

I think this was a common way of doing it 10+ years ago, but what I've seen work the best is to have your CI/CD process apply the updates. Assuming the migration scripts follow the same process as all your other code (code reviewed, tested, and are runnable), automatically applying these scripts is much less error prone than having a person apply them. Humans are pretty terrible at following a script, which is one of the things computers are great at.

Some objections I've seen to relying on automatic deployments:

- "But we should have a person run them to make sure they do they right thing!" Agreed, you should, but that should happen at test time, or maybe code review time, not right before you are about to apply something into production the Shift Left [1] principle applies to database changes as well as code changes

- "What if something goes wrong?" Well, what if something goes wrong with any of your deployments? Usually, you can roll back (either literally rolling back, or rolling forward, or rolling in some other direction that leaves your system in an ok state), look at the logs to see what went wrong, and try again.

- "But data can get messed up!" Data can get messed up by code changes. You should have a backup/disaster recovery process.

[1] https://en.wikipedia.org/wiki/Shift-left_testing
How are you getting Windows ARM on a mac? I thought it wasn't available yet because of some kind of exclusivity agreement.
Sounds like they are able to apply for religious exemptions so I’m not sure what the issue is here
In my country, there are places where everybody goes naked all the time. Not sure if people live their all year round, or if it is only for holidays.
That’s not how infectious diseases work. You can be getting other people sick. Vaccines aren’t 100% effective so prolonged exposure in indoor spaces increases chances. Some people also are immuno compromised and can’t be vaccinated so you’d be putting them at risk too. Are you going to start paying for their sick time too and signing away that you’re personally liable for deaths?
Looks great!

Dumb question: How does Weaviate know that "Scandinavian" is close to "Finnish" ? The source not having "Scandinavian" at all.
If their vectors are close, then the "vectorization" is quite standard for any text, and also per language?
Xcode 13.2 Issues Resolving Swift Packages
In my country (EU) COVID incidents get handled by public health system only. Which was not in great shape to begin with. Health insurers had bailed out since day zero on COVID.

There's lately though talk about unvaccinated COVID patients bearing the cost nonetheless. Note that public health system is for free.
There’s already a lot of nuclear and hydro built!
I would gladly give up software development for a medical or law degree. I would gladly study for a bar exam or do a medical internship instead of grinding Leetcode and throwing salt over my shoulder or some other good luck inducing act, in the hope of passing the often subjective, 'are you a fit', can you design and code Z in the next 38 minutes type interview.

The barrier of entry is way too low these days and therefore we have this hazing ritual for an interview process. It's absurd to think that after 12 years in the business, I won't be able to figure out what to do with those requirements. I'm sorry, we need 5 years of Java, not 4.

For those young developers, save up your money over a 10 year period and get out.
> and feel very smart.

Careful now, very smart person, this blade has two very sharp edges.
The primary reason for the sanctions is the economic war.
The US wants to hurt China financially.
When liberals loose, please don't burn the world and then only stop when you get your power back.

When liberals win, please don't spend 18 months gorging yourself. Then, when there's nothing left to steal from the spoils of your cut throat ambition, please don't wipe your butt with my country and throw it in the woods and then turn around and only badmouth me to the lawless barbaric animals of the world.

My proposal is if you are:

A male between the ages of 18 to 45

Your mother or father are divorced, separated, have an out of wedlock child, abusive, absent, drug addicted, unemployed, or mentally ill

You have a tattoo

You smoke cigarettes

Automatic two week commitment to a behavioral institution. Then halfway house, work release and probation. Mandatory employment. Mandatory education.
> Totally unprecedented

Au contraire [1]. For example:

> During the Revolutionary War, by contrast, George Washington immunized his troops against smallpox even against their will.

[1]: https://www.wsj.com/articles/the-long-history-of-vaccine-man...
(I needed to look it up:) flout (verb) - to openly disregard (a rule, law or convention).
"these same companies still flout basic ethical practices"

This definition and example of using it in a sentence were ironically provided by Google search.
Weight-related diseases are generally not communicable, and are certainly not airborne.

My risk of vehicular injury is not increased by being around you, even if you are a bad driver.
Any component library? Great work
The pro vaccination camp has been more annoying than the antivaxers - at least the nutjobs are easy to filter out, it takes soo long to wade through the bullshit when it's veiled as facts.
Except that you were just wrong and there was no attack. When people complained that this was over the line, Apple didn’t do it.
1. Early messaging was muddled. We all know now that the vaccine lessens health impacts.

2. Not having an entire generation and their aggregated centuries of experience wiped out is probably beneficial for the future of a society.

3. I am vaccinated and am going to get a booster this week because I am very smart.
> created: 4 minutes ago

Funny since the entire joke about going to Somalia to live in a free country has been a thing for roughly 30 years
I think we are talking past each other a bit, as I completely agree with

> it is not necessarily true that something with a complex implementation has a complex interface.

In turn, my point is that as a language implementer you only have so much time available to work on the language and surrounding ecosystem. If your time is spent dealing with a complex spec, compiler and VM then you have less time to spend on the rest of the ecosystem. I think go has shown that spending tim on the surrounding ecosystem can be very valuable (e.g. go fmt, go vet and more recently go fuzz).
If nobody wants you around because you refuse to follow safety rules then sure, you’re gonna have a bad time.
> Only 28% of black people in New York are vaccinated […]

This is not what the article you’ve cited says.
Those international flags on 4chan are put there by shills to make you feel good about chatting with Europeans but behind the scenes its all internet research agency scumbags sitting in a call center at 55 savushinka, Moscow. US Congress has released mountains of information on this subject. You are trapped in a cult!
Is the Christian god (as portrayed by the bible) ethical?

Seemingly allowed or encouraged

Sex Slaves of young girls

Slaves in general, and beating/tormenting them

Killing women for having sex out of marriage

Killing children for being unruly

Killing people for believing other gods

Forcing rape victims to marry their rapists

Hatred of Gay people
The Serious and the Smirk – The Smile in Portraiture
Those places are not, for example, shopping malls.
Your earlier comment: "Part of the benefit of vaccination is that it prevents spread..."

This comment: "The fact it continues to spread..."

You can't have both. Which is it?
Pine64 and Radxa's new Pi CM4-compatible boards
Which just leads to employees coming while sick, which is a pretty bad non-solution.
When I miss work, it costs the company much more than my salary. Otherwise what would be the point of hiring me, if I cost exactly as much as what the value I bring to the company?

And that's not even accounting for the fact that if you get sick, you might infect others in your company.
I agree that the WHO is too big, but there are many intermediate organization like the health association of each country that can make a good report.
What if... we had the "best" parts of PHP or JavaScript development but for any traditionally statically-typed and precompiled language?

(sorry, I can't say that with a straight-face)

It could work though! And I don't just mean like Visual Studio's Edit-and-Continue feature...

Consider a language feature that lets you annotate a local/parameter/field's ("thing") type as "Hindley–Milner-esque" which tells the compiler to invert the thing's typing rules from prescriptive to descriptive (i.e. to mostly stop complaining and make the thing behave more like a JavaScript `object`, so the compiler only complains about 100% provably wrong usage of that thing).

Another "feature" of PHP/JS dev that I want to see in compiled projects is a way to run a project-with--build-errors by adding a toggle that instructs the compiler to stub-out all functions/members that contain build errors (even syntax errors!), this way we can do quick ad-hoc testing without needing the entire project to build. Think about the times when you your boss asks you to make 1 or 2 "minor" alterations for an unrelated feature and you don't think it's worth making a whole new git branch-andworktree for, but you can't test it right-away because of unrelated breaking changes you've already made.

Just some ideas...

---------------

Unrelated additional comment: I'm looking forward to when all programming languages fully support generalized ADTs. So many issues with data-modelling can be solved with ADTs and GADTs, but yet thanks to OOP's legacy from the 1990s we still have to shoehorn simple and clear models into inappropriate applications of inheritance. I want my intersection-types, damnit.
What religion would come handy? Does the Flying Spaghetti Monster say you should not be vaccinated?
I would expect them to require some proof of religious affiliation.
Don't forget about seat belts!
Whoops - It said young (whatever that means) as an adjective. I'll edit that in.
It hadn't occurred to me that this might lead a whole bunch of people, who didn't previously, to regard the employment relationship as fundamentally coercive. Hm. I'm now torn on this.
Show HN: Gitchain – chained Git patches for evolving verification and comparison
F# person here. Unfortunately I agree with you - the article doesn't really live up to the title. I'm going to assume that you're coming from C#. F# is unquestionably a superior language if you're doing LOB work. (Part of being an F# fan is knowing what it's bad at, and it's bad at game programming & perf compared to C#. This isn't to say F# is slow - but it's slow-er than C#.)

"Domain Modeling Made Functional" by Scott Wlaschin is excellent. It's in F#. His "railroad oriented programming" talk drove home the benefit of discriminated unions, which C# is... someday going to get. (It's been a WIP for years.) https://vimeo.com/113707214

Avoiding side effects makes reasoning about code simpler. If you call a pure function, you know it doesn't effect anything else in the system. It doesn't mutate its arguments, it doesn't call a web service, etc. This means you can memoize it. What you see is exactly what you get. *In contrast, imagine writing code that must return `void`. The only way you can "return" a value is by mutating the arguments.* Now to be fair, eventually you must side effect in order to have any reasonable program (i.e. printing to the console is a side effect), but the goal of FP is to push side effects to the boundary of the system.

This also enhances testability. Your "core" is pure and easily testable, and your IO can have its own integration tests. My personal definition of "unit test" is a test of pure code. If it does IO, it's an integration test. F# is also wonderful in that it has FsCheck (and Hedgehog.Fsharp). Property based testing is a fantastic rabbithole to get into, and these days the majority of my unit tests are property based.

Where F# shines is when there's intrinsic, essential complexity in the domain. (Distinct from infrastructure complexity - F# doesn't have any real advantage if all your complexity is in IO). However, even something as simple as "user input validation" may count as domain complexity. For example in my domain, I have a discriminated union who's cases are `IdempotentError` and `UserInputError + string`. In the case of an IdempotentError, I just report things are groovy back to the user. For a `UserInputError`, I display the associated string. That string may/should be a type if you're starting to do internationalization. In C# you would need to do a ton of run-time if-checks or polymorphism to do the above. Yuck. In F#, these checks are enforced by the compiler. You literally can't forget to handle an error case.

Lastly, F# virtually eliminates all null errors. Its option type is wonderful, and C# only wishes its nullable reference was as simple.

I personally learned F# through Advent of Code. F# has a REPL which is ideal for these types of problems. Here's a blog and video about it: https://www.compositional-it.com/news-blog/a-brief-introduct... https://www.youtube.com/watch?v=_QnbV6CAWXc&t=1298s FYI F# notebooks is now out of preview, so you can use normal VS Code (and not the Insiders version).
Three Miles and $400 Apart: Hospital Prices Vary Widely Even in the Same City
I think you're arguing for HTTP/1.2 instead
Yes they're expensive. But how many HP/Dell/Lenovo etc laptops do you have from 2013 that still run like new? My 2013 MacBook Pro with an i7 and 16GB of ram still screams. The trackpad works, no keys fail, the screen is still good being retina. The amount of money paid divided by how long it has lasted me makes it a ~300 USD computer!*

*if replaced every year ... or a 900 usd computer if replaced every 3 years.
>Creating a "standardized experience" like Windows usually means that configurability goes right out the window. It's how you get abominations like dconf or the GNOME music player

I don't understand how you connected these dots and I'd suggest against calling things abominations. You don't have to use dconf or the GNOME music player, those aren't standardized. If someone does like them I think they're perfectly fine, they do exactly what they're advertised to do and nothing more than that. It's also fine if you don't like them, they're just two options from the many configuration databases and media players that you can choose from.

>But why shouldn't I be able to run xbindkeys or sxhkd or whatever hotkey dameon I want?

In some ways you actually can but it depends on the hotkey daemon and how it's implemented. The reason for that is technical, those are implemented with X grabs which are an X11-only API and they have a number of usability and security issues. There are a few key rebinding daemons that use evdev directly so they work with both X11 and Wayland, and also on the console:

https://github.com/samvel1024/kbct

https://github.com/snyball/Hawck

But these also do have similar security issues to X key grabs, in that they effectively operate as keyloggers. If you're looking for an API that works purely within Wayland and lets unprivileged clients request key rebinding, that doesn't exist yet. Somebody would need to specify what that API looks like and figure out a good way to make it secure. What would the end goal of the API be, and how could the system (and by extension, the user) tell the difference between a legitimate hotkey daemon and a malicious keylogger? And would it actually be any better than the approach of snooping evdev? I don't know the answer to these questions but you may have more experience with this than I do.
See this:
https://old.reddit.com/r/NormMacdonald/comments/q89bqa/im_no...
or
https://www.google.com/search?q=reddit+imnotnorm+philipino&o...
Here's the top few replies to the submission that comment is replying to:

- person saying they've only had a smooth experience with USB-C cables

- person acknowledging that this is complex and is grateful someone took the time to make the article

- someone lamenting that it's hard to know cable capabilities

- person asking for advice on some BIOS modes

- someone saying USB-C solved some problems but also created others

- someone annoyed about the amount of cables they have to have now

- someone wishing it was simpler to find out capabilities of cables

- someone saying they were probably lucky but they only ever had one problem with USB-C

I've seen a couple of "works for me, maybe read the packaging on the cables?" replies but honestly my impression is not that HN commenters are dismissive of how USB cables are confusing, but that many are themselves irritated with the state of affairs. If you were personally treated badly after expressing this opinion here then that sucks and I'm sorry, but you can definitely count yourself among the majority of people (myself included) on this site who wish it was a little clearer.
> Apple's move is to try and maintain that bargain while moving to E2E encryption.

It could be. It makes sense as a precursor to it. However, unless I've missed something, at no point in the entire debacle did Apple say "Yes, we're going to be moving iCloud to E2EE, and this allows us to do it. If you opt into this, the gains are that you can enable full encryption for everything else, and we literally can't see it on the servers."

Apple, to the best of my knowledge, never said that, nor even implied it. It was, "We're adding this to what we can do now, take it."
You joke but this might have happened already
Early Adopter pricing: An experiment to boost early sales as an Indie Hacker
IR radiation, in a nutshell.
Any business doing work with the US government will have to mandate vaccines.
Have you been this upset all this while at the fact that international students have been required to take a bunch of different vaccines as a prerequisite for admission in US colleges ? You may have been, I don't know.
True .. and also you can bet that most obese people, if it would be a simple as taking a shot to get rid of that, most would likely do it at some point (similar for smokers).

Also haven't heard of just infecting others with obesity..
My point re: fungibility was rather that BTC's value does not come from the specific block assignment, whereas art's generally does (though I guess limited-series prints and similar might be a case where "any one of the series" has the same value).
The problem space may seem solved, but apparently it's still not as easy as it looks from the outside. You don't have to take my word for it, Cthulhu_ linked a comment by Russ Cox (a major contributor to Go) from a few years ago above: https://news.ycombinator.com/item?id=9622417

> We have spoken to a few true experts in Java generics and each of them has said roughly the same thing: be very careful, it's not as easy as it looks, and you're stuck with all the mistakes you make.
Please don't overuse the word racism. Yes, a smaller percentage of black people in both the US and Canada are vaccinated. Yes they have very good reasons to be distrustful of government and institutions in general. It doesn't mean the vaccine distribution or enforcement is racist.

I am very much against the forced vaccinations of people, and I very much abhor what is happening in Canada (where I live) with the vaccine passports and the making of the unvaccinated second class citizens. But don't make the term racism a worthless term by using it for everything. It's counterproductive.

I say all this as a black Trinidadian immigrant that lives in Canada. I am vaccinated myself, but many black people I know are not.
Don't agree and I feel like the hyperbole I see by people on both sides of "political" issues is out of hand. Yes, this issue has become political even though it shouldn't be.

Maybe the shortage of competent developers will end one day but until then, there is a very competitive labor market for all technical people not just developers. In this market, workers are not required to come into an office therefore vaccination is not an issue.

If they act on the threat, it's at their own peril and other businesses will gain. It's not the end of civil rights though.
You 100% can. It is continuing to spread, but more slowly, and less effectively thanks to vaccination. It's not binary. Vaccinations are 70-95% effective, which means that somewhere between 5 and 30 people in any group of 100 may still catch the disease. Those that do will be less sick.

We've had vaccines since 1798, this isn't rocket surgery.
Oh, FFS, vaccine mandates are not "totally unprecedented."

They are, in fact, extremely common. The first vaccine mandate in the US was in 1809.

Complain if you want, but don't base your complaints on blatant falsehoods.
> doing math homework every day

Sigh... if only there were a way I could get paid for actually doing math homework every day...
The right to do whatever I feel like because that’s what “freedom” means /s
Need wasnt the word I was really thinking, more about having more people predict the expected outcome accurately

there is fundamental knowledge involved here that colleges teach, and its good to know what the expected outcome is and how the studies conform to that expected outcome

the studies are conforming to the expected outcome, which is good
Reminds me of that scene from the movie The Outlaw Jose Wales:

- We got him now. We'll get these two first, then the others.

- What others? Wales and the kid are the last ones.

- Oh, no. Texas is full of rebels.

- Lots of work to do down in Texas.

- We get Josey Wales and it ends.

- Doing right ain't got no end.
In the US, I guess this is true, although non-voting/low voting shares are illegal in many parts of the world.
What if he clipped it to his belt?
I don't know how easy it is to build now, but Norman Ramsey's old Spidery WEB could be configured for different programming languages. I did Fortran and PostScript (NeWS) long ago. https://www.ctan.org/pkg/spiderweb