skysight-inc/HackerNews huggingface dataset:
It's like the tax policy change a few years ago to reduce the mortgage interest deduction. This had a much bigger effect on expensive cities and suburbs which are more in Democratic-voting states (CA, NY, CT, NJ, MA, WA, MD, etc). The Republican party lost a few Representatives in those states but it was worth it to them to get the tax bill passed and stick it to the libs.
> You belong to a culture and a nation which already enforces strong opinions on how its members organize our family lives.

Can you explain?

(My understanding is that my nation cares less about how people organize their lives than it has done for at least 900 years.

People live together 3 generations, other live as single, others as unmarried couples, married couples and everything in between.)
One is not supposed to inquire about the existence of racial differences in intelligence to preserve social peace. But IQ does imperfectly predict earnings, the chance of being incarcerated, and other important outcomes. If all racial differences in outcomes are assumed to be due to incorrigible white racism, as is the current intellectual fashion, that is arguably more likely to cause unrest.
Indian! https://www.youtube.com/watch?v=hjWd9a8Ck8U
Good article but I disagree.

"Bowling is like Software" does a good job at pointing out a common problem(You can develop and get stuck using a style which has a lower ceiling than other styles).

I still think "Bowling is like Software" is a bad analogy though.

Bowling is a one-dimensional task: Its the same problem every time, so some styles will likely have much higher ceilings than others. Software is far more complex: some styles work well for some problems but poorly for others. If there is actually a generic fix-all style, its likely very abstract, difficult to grock, and probably involves a lot more math than we'd like to admit.

So I don't think theres anything wrong with getting good at one style, even if it has a low ceiling because even if you learn another style later, you will probably want to go back in your toolbox at some point in the future to mix in some of the original style.
Cluster API should hopefully obsolete that problem, sooner rather than later.
since this is for security: I'm quite uncomfortable with the way APIs are exposed to the browser instance that does the UI rendering. As far as I can see from the code, extremely sensitive functions such as 'execute' are attached directly to the window [1][4], then they are invoked by postMessaging into the topmost window [2][3]. This makes XSS in essence immediate remote code execution, but more pointedly it voids some of the security guarantees about iframes, which can assumedly use window.top.postMessage() to post the 'execute' call directly to the browser. If you're developing, e.g. a chat app, you might use iframes to support, for example OEMBED -- and then even codepen oembeds may well be able to execute code.

I like this direction for applications, but browser security protocols are a nightmare to replicate properly.

I recommend using pre-existing interfaces for launching apps like custom scheme URIs, or if really necessary writing individual handlers for the heavy lifting. I think the postMessage approach is great, too but it's vital that the caller `origin` is checked. The web app shouldn't need to run arbitrary commands on the computer.

[1]: https://github.com/tauri-apps/tauri/blob/2681ad361b4295756be...
[2]: https://github.com/tauri-apps/tauri/blob/015474657c955c7ad29...
[3]: https://github.com/tauri-apps/tauri/blob/c8f430297f95df16216...
[4]: https://github.com/tauri-apps/tauri/blob/c8f430297f95df16216...
I guess I don't know enough about how WMs work. :(

I'm curious how the WM could detect that the a portion of a window is playing video, and break that out into it's own movable window?

I'm not sure how you do that without the browser managing that.
> But surely even if the foreign students are forced to leave the US they'll stay enrolled in (and paying for) the classes. Isn't the education the point?

Given that returning to, say, Beijing would mean your 3 PM Friday class at Harvard happens at 3:00 am Saturday, local (this isn't Coursera – most of these classes will be conducted online with real-time instruction, as they were for the remainder of last semester), I'd expect a lot of students would seek to transfer elsewhere.
> You can set it up so you renew up to 10 full years (from the remaining 9) every year. That way you have 9 chances to fail before it becomes an issue.

That's also a good idea because it gives you plenty of time to switch domains if you have to.

Consider the recent almost-sale of .org which had a lot of people worried about large price increases. If you want to move to a cheaper TLD after such a thing it could take a lot longer than a year. Remember, it's not just web stuff you need to address. There's also email. My primary email has been at my personal domain for over 20 years--getting everyone who has it updated with a new address at a different TLD would not be quick.

By keeping it 10 years out, I've got at least 9 years to deal with moving everything if I have to switch.
Blockchain: Making MongoDB look like a good idea in comparison since 2009.
Lab notebooks can be important for patent purposes. No surprise the chemists are meticulous.
I would argue that removing humans from all but oversight is a good goal, even though there may be growing pains along the way.

What we don’t have data for is how many accidents would have happened if not for the systems that prevented them. But we should be able to compare incidents of aircraft with and without such systems and get an idea of the (no pun) impact fly-by-wire has had on safety.

In other words, the answer is, show me the data.
>What's the matter with publishing to PyPI

This is a succinct guide to publishing a PIP package: https://medium.com/@joel.barmettler/how-to-upload-your-pytho...

An npm publish requires you to run `npm publish`, assuming your `package.json` points to the entrypoint of your code. Remember: `package.json` is pre-populated when you start your project with `npm init`.

Also, I was able to run my own NPM instance with a zero-config tool, I expect Python has parity there.

Anyways, pip... Just the other day, I went to use a Python project I had been regularly using, and without any changes to Python, my OS, pip, or the project, it completely started failing. Some errors that the `ssl` module wasn't available. How can a module not be available? There was no easy solution, all to something triggered by nothing. This install was literally done thru a source-controlled script too. It's a pretty awful situaton.

Anyways, NPM has never so wholly failed me, and in the worst cases where it fails it usually has helpful messages directing the user what to do.

That plus tools `npx` make it pretty clear to me, Python is literally version and dependency hell. NPM has had this all on lock for years now
i think a good first step would be to remove farming subsidies so that they don't make decisions based on the fact that growing corn and soy is profitable because of the subsidies.
A monthly reminder for a person is great. A monthly reminder within a business organization is what? A calendar event for everyone in IT? For the whole company? The nice thing about monthly billing is it comes from the outside and would get bounced around until it found the right desk.
If you've made a catastrophic and backwards-incompatible error, a common solution is to write "V2" fields and then reimplement the previous iteration's fields with the new resolvers. Old clients will then be able to continue to resolve fields they expect, while new clients will be able to take advantage of new features. This is generally pretty rare, because usually the usecase is that you're expanding the graph, and generally if you have followed the rules and best practices in writing the graph then expanding the graph should just work in a backwards-compatible way.

(aside: I agree that changing your graph / domain model is likely, and I take a dim view of tools that automatically generate APIs as a result.)

I've also seen https://github.com/ef-eng/graphql-query-rewriter and consider it an interesting thought, but have never seen it in production (and most people are rightly worried about doing such a thing).

GraphQL is our API for our frontend team, but it's also our API for end user devs. We just run it through an app that generates a REST API from a subset of our usual schema graph. (The decision was made not to expose the raw subset itself mostly just to cut down on docs duplication and avoid confusion for clients that don't know or need to know GraphQL.) This comes with advantages like allowing the use of `_expand` fields like you'd see on Stripe's API (https://stripe.com/docs/api/expanding_objects), without us having to break a sweat.
> I suspect this is intentional. What is contained in the article doesn't age out.

Then why does it have a day and month?
The trial and error of being injected with a Covid-19 vaccine
It wasn't even the out-of-range value that caused the failure--that would have been fine. The failure was caused by trapping the error, and dumping debug data onto the realtime control bus.
This is great!

Just for test I searched for "python read command output without check_output" and Runaroo has more relevant search than Google.

Runaroo: https://www.runnaroo.com/search?term=python+read+command+out...

Google: https://www.google.com/search?client=ubuntu&channel=fs&q=pyt...
> My impression of prominent criticism of the early iPhone was that it was shallow and self serving. The things competitors were saying about it, like implying it wouldn't be successful because people really wanted a real keyboard, seemed ridiculous as a serious rational.

That wasn't a ridiculous idea at all at the time. The lack of tactile feedback was (and is) a legitimate industrial design concern, and it had a learning curve that was difficult for many people.[1] I had many customers at the time who demanded continued support for their blackberries because of the difficulty they had with the iPhone keyboard. Heck, even I chose to go with an HTC device that had a hard keyboard, because I found it easier.

Everyone now finds modern on-screen keyboards to be intuitive, partially because they've improved and they're larger, but also because people understand how they work. At the time of the iPhone launch, people didn't understand auto-correct or how they didn't have to worry about how their thumbs were larger than the keys.

Even Jobs himself admitted there was a learning curve: "Once you learn to trust the keyboard, it’s a better keyboard."[0]

0: https://radarla.com/interview-steve-jobs/

1: https://discussions.apple.com/thread/1497367
How many people do you think are going to switch from Facebook to a new government platform with no content moderation and no incentive to increase engagement?
Geoengineering is the vague scientific euphemism better known colloquially as chemtrails, for anyone unaware.
I've also used this, combined with an agent job to keep data in sync between a primary system of record and a replica.

In my case I was moving account number information between iSeries db2 and an ArcGIS instance.
> Businesses claim that it makes it harder to do business (but they say that about any legislation).

To be fair, it tends to be true of any legislation. Even if all you're doing is passing a law ordering them to do what they were already doing, now they've got to pay lawyers to tell them that and auditors on a recurring basis to make sure it continues to be true even if it would have regardless.

And then the cost of that gets passed on to customers and employees, because laws apply to everybody which means raising prices due to compliance costs isn't a competitive disadvantage when everybody does it. (Or they don't apply to everybody and give advantage to foreign competitors.)

The costs also disproportionately impact small businesses, because the compliance cost is a fixed amount whether you have a million dollars in revenue or a billion, so regulation is effectively the most regressive form of taxation. (Compare this to taxing Facebook and using the money to fund privacy-protecting open source technologies.)
Check out https://open-rpc.org/ if you haven't seen it. Brings GraphQL-like tooling to JSON-RPC.
I got into an Ivy on merit. White male, not legacy, not an athlete, not rich. Just good grades, good SAT score, and luck. I promise you the _vast_ majority of students I met who didn’t deserve to be at my school (academically speaking) were domestic legacies or athletes.

Can’t imagine my undergrad, first job out, or grad school without the many international students I made friends and worked with. Part of educating a successful workforce is teaching us how to work and collaborate with people from other backgrounds. Hard to do that if everyone’s from Newton or Westchester
Okay, and? What about the smaller universities that rely on foreign tuition? This is a policy that goes beyond affecting MIT and Harvard. You're right these international students are not poor and that's the point, they subsidize the poorer students. University admissions are not a zero sum game.
Looking at the map of results from the 2016 election in Indiana (where I went to college), the state was solidly pro-Trump but you can easily spot the blue counties where IU Bloomington (Monroe) and Notre Dame (St Joseph) are located. The only other counties where Hillary won are Marion (Indianapolis) and Lake (basically a suburb of Chicago). Tippecanoe county (Purdue Univ) is pink and went for Trump with 49%.

This indicates that even in a "red state", the university towns with lots of international students are already voting left and hurting them with this policy probably wouldn't affect the outcome of the next election.

https://en.wikipedia.org/wiki/2016_United_States_presidentia...
(2017) but definitely topical given the overall political context. And the format Murray has chosen for his critique of the SPLC is quite compelling, as well.
I use this feature on a daily basis, in fact it's running right now. I have a few UI issues with it, the resize border is much too hard to hit, it would be nice to be able to click the video to pause, and I would like to see a progress bar and mute buttons. That said it has already been a "game changer" for how I view video every day.
Yes, I doubt federation will ever be added.
I love it. Please consider dark mode :)
> If that’s the case, then why not have teams draft from the region they represent? For example, maybe the Patriots should not have had a foreign Michigander as their QB for 20 years, that spot could have been given to some up and coming Boston College graduate.

In the sports analogy, I'm describing it from the point of a player, not a fan. A fan's role in this is closer to shareholder rather than employee. They primarily care about winning (presumably). Ultimately the team is beholden to their fans, not to their players.

>To address your point a bit more directly: can you show me studies where native born Americans have lost jobs to immigrants in the US? I know that many jobs got moved to China and Mexico, but that’s not what I am wondering about.

That's not my personal position, by the way, so I'm not going to bother looking up statistics for it. I'm only describing what anti-immigration's perceptions are. It's safe to say that there's a widely held belief (among immigration opponents, at least) that immigrants "steal" jobs from natives. eg. https://en.wikipedia.org/wiki/H-1B_visa#Criticisms_of_the_pr...
I can't compare to the US, but I'm in one of the more relaxed European countries and I definitely feel like I'm in the minority for pursuing some continuity with my current employer rather than jumping ship for a higher salary after two years.

(Fortunately, this is a good employer that realises what the reality looks like and is willing to offer me competitive raises to make it a doubly mutually beneficial arrangement.)
The Interview Advice No One Tells You About
Newer, More Dominant Covid-19 Variant Is More Infectious in the Lab
IIRC there was a firefox extention that popped out anything into a browser window with a simple header. You'd have a quarter inch of header, but it would be like a poor mans PiP and you'd end up with more controls at your disposal than the native firefox solution.
I've used it and liked it. I hope they continue to develop it and get it to be production-ready, but I'm not betting on it.
If you want to continuously move data, there's an open-source tool called SymmetricDS that does db replication that sounds like it might fit your use case.

https://www.symmetricds.org/
Right. It should send the stream to the system video player. If you then want no window decorations or whatever you go to the video player app developers.
Having read their statement on taking the aid (https://newideal.aynrand.org/to-take-or-not-to-take/) their argument boils down to:

"we would be foolish not apply for and take a government handout and that it is OK for us to do so as we are pro-capitalists but bad for everyone else to do so."

Rand's personal argument for this behavior and why she took government handouts including social security and medicare was:

"Those who support such government handouts, have no right to them; those who oppose them have"

I personally find the hypocrisy of this stunning.
And this is why HN should't have implemented angry-vote.
Can you overestimate your story points a little?
Largest TensorFlow Datasets for Machine Learning
I'm pretty disorganized by nature, so I need something to help me stay on track. The simple act of reading through that todo list first thing in the morning helps a lot. "Oh yeah, I finished that, that needs a bit more work, that's half way done". Depending on what it is I'm working on, it can be as simple as 5 bullet points, or it can be headings and paragraphs.

I try not to be strict about the format, and it's certainly evolved over the years.

For instance, we have a weekly department meeting. There's now a section "Dept Meeting" in today's file with a few points I want to bring up. Maybe they'll get resolved by then, or maybe I'll add more points. The simple act of copying that file each day and removing what's no longer relevant means I have refreshed my memory, don't have to worry about stuff that's no longer relevant, and have a track record of what I thought was relevant.
The institutions are not primary there to educate our workforce; they exist to fill a variety of roles including policy development roles, collaborative research roles, and basic research roles that are essential to our nation's economic development. Please explain to me how we are going to fill legions of academic research roles normally held by foreign students and foreign graduates when no one can get a visa or after we boot foreigners out of the country as students and they no longer want to return. You honestly think undereducated Americans are going to rise up and fill those roles? Oh and guess where the well trained and intelligent foreigners who we kick out are going to bring their skills to: our competitors. Over 90% of my lab was foreigners and huge numbers of research lab positions are filled by foreigners. The policy is basically a self inflicted gunshot wound administered purely to get Trump reelected with absolutely no regard for the impact on the country long term.
SaaS pricing models: a comprehensive guide
Thanks! Appreciate the insight.
No, these are completely different, standalone code points, not variant forms of the same code point.

What's actually happening seems to be that the ch_tra model can recognize simplified too and output the corresponding traditional version if the character isn't in the traditional "alphabet"; it doesn't work so well in the other direction.

Example recognizing a partial screenshot of https://chinese.stackexchange.com/a/38707 (anyone can try this on Google Colab, no hardware required; remember to turn on GPU in Runtime -> Change runtime type):

import easyocr
import requests

zhs_reader = easyocr.Reader(['en', 'ch_sim'])
zht_reader = easyocr.Reader(['en', 'ch_tra'])
image = requests.get('https://i.imgur.com/HtrpZCZ.png').content
print('ch_sim:', ' '.join(text for _, text, _ in zhs_reader.readtext(image)))
print('ch_tra:', ' '.join(text for _, text, _ in zht_reader.readtext(image)))

Results:

ch_sim: One simplified character may mapping to multiple traditional ones: 皇后->皇后,後夭->后夭 豌鬟->头发,骏财->发财 As reversed, one traditional character may mapping to multiple simplified ones too: 乾燥->干燥, 乾隆->乾隆 嘹望->嘹望,嘹解->了解
ch_tra: One simplified character may mapping to multiple traditional ones: 皇后->皇后,後天->后天 頭髮->頭發,發財->發財 As reversed, one traditional character may mapping to multiple simplified ones too: 乾燥->干燥, 乾隆->乾隆 瞭望->瞭望, 瞭解->了解

Compare to the original text:

One simplified character may mapping to multiple traditional ones:

- 皇后 -> 皇后，後天 -> 后天
- 頭髮 -> 头发，發財 -> 发财

As reversed, one traditional character may mapping to multiple simplified ones too:

- 乾燥 -> 干燥，乾隆 -> 乾隆
- 瞭望 -> 瞭望，瞭解 -> 了解

Of course, automatic character-to-character conversion from simplified to traditional can be wrong due to ambiguities; excellent examples from above: 头发 => 頭發 (should be 頭髮), 了解 => 了解 (should be 瞭解).
No religious flamebait on HN, please.

https://news.ycombinator.com/newsguidelines.html
I don't have root on it. I didn't pick the hardware.
My main problem with BitWarden is its weird Folder UX model - I can't quite put my finger on it, but I keep running into things I want to do but that I can't quite do when sharing. 1Password's "Vault" model is so much clearer.

What's the advantage of BitWarden over sharing your Keepass database with a family member via Dropbox or something?
"the majority of Americans are alive to the dangers of COVID and believe we aren't doing enough"

Possibly a majority, but nowhere near all.
This.

If the web on iOS wasn't such a garbage fire, we could use React directly