skysight-inc/HackerNews huggingface dataset:
Hilarious.

> The former UK colony, with breathtaking natural beauty and richly endowed with natural resources and friendly people, but also riven by deep ethnic divisions, has suffered a series of political, humanitarian and economic crises which have killed nearly 250,000 people.

This is quite literally every newspaper in the UK describing any crisis in former british colonies.

> With millions of unemployed youth roaming the streets, many worry the political stalemate over who is the legitimate ruler of the strategically located north American country could easily trigger widespread violence and are calling for a quick resolution to the crisis

Could easily be said about Venezuela except the geographic location.
In general I do agree that it would be nicer if script (and style) tags weren't in-band; the Link header solves this for style, and I think could do similar if it were specified for scripts, it's just a pity Chrome never wanted to implement it.

However, this just moves the problem around. While it could be argued specifying JS out-of-band would make it less likely for XSS to occur, anywhere that JS is specified is still likely to be programmed dynamically, with external inputs (db values, etc.), so the risk remains.

For example, a lot of modern XSS leverages innerHTML rather than server-side markup insertion. e.g.:

element.innerHTML = fetchData(endpoint);

This code is XSS-able (especially in the case of things like jsonp payloads), and it's completely agnostic of where the JS is specified (in-band or out-of-band).

The proper solution, as a sibling commenter mentions, has already been specified: it's CSP and it works well if used.
Ask HN: How do I sell a library/plug-in?
I have built a python library for advanced timezone handling; essentially running cron jobs for users based on their local tz.

I would like to sell the library. It could be a saas but it would really run so much better as a local library/include.

How do I sell a library/plug-in and prevent my code from showing up for free? Has anyone used a commercial licensing solution? Does anything work, or do I need to model in a certain amount of theft?
Blatant corruption is why.
That sounds correct to me. In Old English, the word is spelled "scip," pronounced the same as "ship," and quite close to how "skip" is pronounced in Old Norse.

Old Norse and Old English were actually mutually intelligible, BTW, kind of like modern day Swedish and Norwegian.
I'm hugely conflicted on this. Apple has been a hands-off/benevolent steward of the podcast ecosystem for the really the entire lifetime of podcasts. If they make a play for "Apple Podcasts+" or similar I worry about the independence/distributed future of podcasts.

Personally I refuse to listen to podcasts on any "podcast platforms" (Note this is very different from a "podcast network") because they are all attempting to be "The Netflix of Podcasts" which I have no interest in, I want to use my own podcast player (Overcast).

I'm open to paying for podcasts (I spend about $20-25 or so a month on podcasts currently) but I don't like being locked into client (as in I don't like "Oh this I listen to on Spotify, this I listen to on Stitcher, etc").
I do not think he 'deserves' to get paid. It is nice if he gets paid, but I dont even see a moral obligation (not speaking of legal). I mean the idea of gpl2 (at least from linus and my perspective) is nicely laid out here:https://www.youtube.com/watch?v=PaKIZ7gJlRU
Paraphrasing:'I give you my sourcecode and if you change it and give the software away, please give me the changes'.
For MIT license (which Marak choose) (this is not in the video link), it is more like: 'please use this for whichever cause you like, I dont even expect software changes back'.
Twitter suspending accounts tweeting about Benford's Law and election results
The hardest part for me was the initial push to pack up and leave. Our general strategy is to stay in Airbnbs for at least one month at a time, triggering a discounted rate. All fees included, the monthly rate for the 2br/3br places we're renting is roughly the same as the monthly rate for a 1 year lease of a 1br or small 2br in a San Francisco. I've found people to be really friendly, including after they find out what we're doing. We don't lead an extravagant lifestyle, drive a fancy car, or generally rub people's faces in our nomadism.

I personally enjoy the forced minimalism of having to fit my whole life in a car, but I could see that being tough with a family.

I miss seeing my friends in person, but I wasn't able to that very much before leaving, anyway. And several of them are out doing the same thing, so there are opportunities to meet up.

Overall, it's not that different from living in a city long term, so the same things are important: choose your housemates wisely, optimize for the common usage (work, sleep, exercise), and don't pay too much attention to what the internet thinks.
> I call BS on dogmatic rules like that. Good architecture is analysing the requirements at hand and explicitly articulating and weighting the trade-offs.

I particularly like your point above. I apply that same perspective to several other domains. For example, purchasing a new phone, choosing a new tool for work or personal use, purchasing a car.

It's easy to make decisions based on personal preference or, like you mentioned, dogmatic rules and call them "the right way of doing things".
Homeless people can say whatever they want without repercussion too.
We as engineers are making choices that will certain incur maintenance costs choosing any third party solution. And the taller the dependency tree the more fragile everything becomes.

I dropped Drupal years ago because upgrading was such a nightmare. More component-ized solutions can still have the same problem.

Ultimately businesses are making the choices and tradeoffs whether they realize it right away or not. It'd be great if there were a lower friction way to consume and contribute without burying the real costs.
They don't mean make sure everyone is comfortable with it. They mean by force via executive order and penalty of fines or imprisonment. If people don't want to obey they will make you obey and a large part of the country thinks this is a great idea.
Plum, peach, and grape are all color-names, and naming colors after a natural item was and remains common. Orange was derived the same way -- from the fruit. Prior to the 1500s, when the fruit was introduced to England, things were described as "saffron-red", "yellow-red", or simply "red" when we would today call them orange. (There's a really interesting perceptual thing going on here -- if you don't have a word for a color, you don't perceive the color: http://clarkesworldmagazine.com/hoffman_01_13/ )

As for non-English: you can trace the spread of the fruit across the Mediterranean by tracking the word appearance. But this only works for European languages... Because Asian languages have a word for orange unrelated to the fruit! In Chinese, the word remains "saffron".
Netflix Scales Its API with GraphQL Federation (Part 1)
This Gamified Hacking Platform Will Make You a Better Cryptographer
Rather "comically useless" than "pious".
Illinois state did have a ballot measure to amend the state constitution to replace the flat tax. Voters rejected it: https://news.wttw.com/2020/11/04/illinois-voters-reject-fair...
Interesting. I built https://siteoly.com - Build websites from Google sheets and it got good traction with happy paying customers.

In fact I used Siteoly to build this page.

Would be happy to help if you need. You may reach me on Twitter too at https://twitter.com/upen946
You have no visibility to your courses' students or their contact info.

You can send a couple of "marketing emails" per month for each course. Inside those emails you may only have links that go back to Udemy, so they are used primarily to market your other courses on Udemy. If you try to include a non-Udemy URL, the system detects it and won't let you send.

Plus, someone on Twitter just pointed out that every one of my Udemy courses is available on multiple pirate sites. So, at this point, I think I'm just going to shut those courses down. I certainly won't be expanding them anymore.
CERN is offering a free quantum computing course online
For most people, the funding mechanisms on the Internet pretty much all carry an expectation that they're to support ongoing work that will be used to either explicitly deliver a product, as with Kickstarter, or is to fund an artist's/coder's/etc. ongoing work. Not many people are making donations based on past effort.

I sold a (non-open source) shareware product way back when. Money definitely provided the incentive to put more work into it than I otherwise would have. On the other hand, it made me treat it as a business, albeit a part-time one.
Most municipal broadband projects I've heard about have either ended up quite a bit cheaper/faster than the commercial broadband that was already in the area, or have been in smaller towns or rural areas where there wasn't any commercial broadband.
If you think how games are similar to music and movies, you can see a similar pattern on Steam. Money can to an extend guarantee top quality production but you still need "entertainment/wow" factor from the movie/game/music.
the people in the trial are the first batch. these vaccines are following all the standards we have set for vaccines just at an accelerated pace and with accelerated funding. i know a lot of people who are hesitant about this shot, but it does sound antivax to say you aren’t sure it’s safe

id get this today if i could
Then he shouldn't take the money.
Not ads, but I'd pay not to have ads. I don't mind paying for apps.

I also want a one-recipient-only chat app. I don't want to open Messages and 1) have to choose the recipient, 2) risk sending something to the wrong recipient.

I'd pay for that. (Anyone want to work on a feature-opt-in [no images unless both parties opt-in to images], explicit/fixed recipient chat app?)
ESTA is tourism + business trip. Arguably a one time all-hands meeting is a business trip.

Though I agree sharing all of this in public after all of the struggle he's been through isn't the smartest idea :)!
I don't think they are outliers. I know quite a few people who have attempted the "covid digital nomad" lifestyle (and I myself have some experience as a nomad pre-covid), and although they haven't reported something as entertainingly cringey as posting up on a McDonald's sidewalk for conference calls, they're not too far off.

The logistical problems (working wifi, etc) are expected and avoidable to anyone with half a brain, but the bigger problem is the social divide. The story about the guy in Costa Rica seems to be the most accurate. There is a good amount of disdain for this type of lifestyle, especially during the pandemic. Among my "nomad" friends, the only ones that haven't come limping back home were the ones who successfully walled themselves off from external judgement and formed a "bubble" where they only associate with other nomads. Fun if that's what you want to do, but probably not what most people expect when they embark on this escapade.
The two genders people backlashed against the unlimited genders and there was then a war between them - the unlimited genders want references to the two genders to be removed as they seem to promote the viewpoint that two genders exist and not unlimited.

Companies and powerful organizations are wary of the unlimited genders people as there is a worry that they may control enough economic power to make things unpleasant, therefore any organization that is not strongly on the two genders team chooses no genders as the compromise in the war.
I think the point is that generating pretty fake data as opposed to bland fake data is a "nice to have" rather than a "must have" for 98% of companies. And by the time you get up to AirBnb and FB, etc., they have their own internal testing data and standards based on years of real-world false negatives and false positives.

It's really a content library, which is useful, but it's not in the mission-critical category where developers can get a rubber stamp budget approval from their boss. It's a great project to get your name out there as an open source developer, rather than a viable business model IMO.
I do a lot of JavaScript, maintaining older and newer apps. I have been of the opinion for a decade that most apps and even static sites are way more JavaScript-heavy than they need to be and that we depend far too much on frameworks, so much so that even very good developers don’t know much actual HTML and CSS. Yeah I know it’s the old “too much abstraction” argument, but I strongly believe it. It’s a breath of fresh air when people write articles like this because it brings us down to earth. Now, I’m not saying going JS-free is appropriate for all cases or even most cases. Sometimes the customer has complex requirements or the project you’re brought in on uses JS at its core (Rails, React, Angular, any of the SPA frameworks). Heck, I’ve even written my own SPA framework because reasons. Point is, there is absolutely nothing wrong with the “old fashioned” static page apps in many cases - using forms, letting the back-end handle business logic, not having to worry about routing, etc.
You're missing the important part. How did that person become subject to the UCMJ? They signed a contract for service.
Slightly tangential; I would love to use Mutt but the work email is on Exchange, which requires 2FA, and I haven't been able to figure out how to download the emails.
Covid-19 Vaccine by Pfizer More than 90% Effective
Maybe they could take some money from the police budget. I recall some protests to that effect.
Startup to Support Small Businesses and Manufacturers
We launched in July and would love to hear from other entrepreneurs on our product.

We are a Chrome extension, mobile app, and web search engine to find US manufactured products across the web. We're showing products directly from small business websites, not only Amazon and Walmart. We're in the midst of developing features to support local by city and state.

Thoughts and feedback are of course appreciated, we're just trying to get better on a daily basis.
I have a collection of results and links to relevant papers in this blog post: https://pron.github.io/posts/correctness-and-complexity
Contrary to popular mythology (mythology that is reinforced by the text of the citizenship oath but repeatedly rejected by US courts as representing the actual law), you don't (unless the foreign country requires it) have to give up foreign citizenship or nationality when becoming a US citizen, so generally people who become Americans retain whatever nationality they had before in a very real and legal sense as well as potentially retaining their former national identity.

So, no, “immigrated to the US” does not mean “stopped being Canadian”, in either the sense of identity or legal citizenship.
Fun and Bizarre eBook and Reader Giveaway
> 10Mb up 1Mb down

Do you mean the other way round? Because this way is fairly unusual.
There are different models. For example tools like social media automation or website builder, in a free plan they display the actual product url. So sometimes, free plan also bring in users and some of them can turn into paid customers.
Launcher, the rocket engine builder with just eight employees
Or it could just be that so many of them are fishing in the same pond?

A lot of them seem like run of the mill productivity software, it is a crowded market with big incumbents.

The ones with unique offerings may just be too marginal to garner a large enough customer base, business customers ultimately want full feature suite products.
> So a freedom naturally leads to a loss of freedom elsewhere.

No. It is willingness to abuse others when it is possible to get away with it. It is a matter of morality and conscience, nothing natural.
Merge via mandala.
If you don't print much, 12000 pages is the lifetime of the printer. I've had a cheap laser printer for about 6 years now, and I only think about it once or twice a year when I need to print something.

I don't do any maintenance, and I don't worry about the ink drying out.

I wouldn't take a one-time payment of $70 in exchange for having to do regular printer ink maintenance for 6 years, so it makes sense to pay an extra $70 to avoid that. Paying the extra $70 makes even more sense if you factor in the fact that I'd actually have saved $72 in monthly payments over that time period.
You get political parties because you are a minority of 1. In order to get anything done, you need allies.

Most people simply don't care about the things that matter to you. It's not that they're opposed, but that they are apathetic, and it's certainly not their top priority. Even if they roughly agree, they almost certainly prefer some other version of it.

A party is a way of trying to reach a majority by putting a selection of issues together that you can all at least agree to, if not favor. You hammer out one acceptable version of legislation: not anybody's favorite, but one nearly everybody in the group can at least tolerate. The less they like it, the more they will need some encouragement to vote for it -- which includes your promise to vote on their favorite thing.

Every proposal to change the system seems to be predicated on the idea that if only your idea could be presented in isolation, people would leap at the opportunity to pass it. That's simply not the case. Most people simply do not care, and any effort to make them care is going to be some variant on a political party.

Democracy is, at core, about getting large groups of people to compromise. No variant of democracy absolves you of the need to negotiate with people who at best don't care about you. There are many, many different ways to govern ourselves, but none of them will give you that sense of purity you seek, where you get to vote on your favorite issue and then ignore everybody else's.

It's fundamentally messy and will always, in the language familiar to HN readers, be full of "smells". Systems predicated on eliminating the smells, rather than living with them, are always going to be toys.
This kind of reinforces my opinion that I made the right decision by going completely paperless at home. All documents are electronic. Anything that needs signing gets signed digitally. I'll admit, it was a hard mental adjustment to make the shift and wasn't without some effort to figure out how to make it work, but now that I have, I'm happy I did. I did away with a printer more than a year ago now and every time I think of going back, I look at the price of ink cartridges and realize how much better for my wallet and the environment the switch has been.
Not just Iraq war- Vietnam war (pentagon papers), Wikileaks, Snowden revelations- boggles my mind just how many people still have unflinching trust in their government, specially when a comparison to other countries come in. I don't know if it's nationalism or a hidden desire to feel superior or something else.

But given how these western countries handled covid, and the fact that China has a history of fighting viruses like it- I'd rather trust a Chinese vaccine over an American one, all else being equal.
I was trying to figure out what to do with an old, but working Nook Color I found in my desk drawer. I decided to give it away, preloaded with some books. I'm hoping that someone might find it useful.
For me, it is clay tablet and stylus to really get rid of distractions. Even with pen and paper, I can find myself doodling. However, with a clay tablet I am focused. As a benefit, the process of going out and collecting the clay and forming it into a tablet gives me time to organize my thoughts. Then when I do put my thoughts down, I can bake it it the oven and know that it will last a few thousand years. Pen and paper seems so ethereal in comparison.
Students have to jump through absurd hoops to use exam monitoring software
China sends 13 new satellites for a new 6G constellation
Haha! That's so meta !
A friend elsewhere notes: this is literally how China controls its population - they turn off the payment apps in your phone if you have open traffic tickets or -say- they need everybody in a city off the streets.

It's very effective, since many services in China expect payment through those apps, so once your phone is blocked you will comply.
Just yesterday I was noting how we are moving into a subscription model world in the linux thread.

https://news.ycombinator.com/item?id=25029829

It isn't just software, but also hardware that is going to be subscription based.

How long before our stove, shower, can opener, etc are all subscription based. Image coming home from the supermarket and you can't open the can of tuna because you aren't current on your can opener subscription? Wake up and you can't brew coffee on your Keurig single serve coffee machine because you failed to pay the monthly subscription fee.

Every door can be subscription based. If you are short on funds, do you pay the bathroom door or bedroom door subscription?
The cartridge does really last a very long time. I just replaced mine after about a year of intermittent use. I thought that that was fine, but then my wife pointed out that we were replacing the half-capacity cartridge that came with the printer. I expect this cartridge to last a good two or three years.

The AirPrint abilities have been a little spotty at times, though that might just be my WiFi. I might hard-wire a raspberry pi to drive it though.

Also, I have no incentive for anyone to buy a brother printer. Just another happy user.
Very cool. I suppose these days tree-sitter would be one way to support a lot of languages at once ( https://tree-sitter.github.io/tree-sitter/#available-parsers )
Which seems shitty since I bet a lot of people just create a new account for their Oculus just to keep it separate. Does Facebook have a one account per person policy?

Honestly we need laws in many countries that say: if a provider bans your account, you need to be able to download all your data for 30 days and you need a 100% refund of all purchases. Period.
Election fraud is right there, the elimination of drop boxes and other actions to limit turnout or the ability to vote. That's real un-American, taking the right to vote away from people. I've been told that the second amendment exists to prevent such gross abuse of our rights but I haven't seen the NRA or GOP get too mad about it lately.
This is an interesting solution to a problem I hadn't given much thought to in the past.

On the one hand, it's demoralizing that we've reached this point where misinformation spreads at the same rate as good information. On the other, it does seem like a decent way to expose predatory journals.

Could this method be extended to other fields?
Canadian government pledges to connect 98% of Canadians via High-Speed Internet
Attending to competing priorities is a nightmare. They do more distraction if we do not prioritize further (finer grain) on already prioritized items. Mostly somewhat related to this is the context switch. Not only we need finer prioritization, but also grouping them to minimize context switch.
18th Century England Had No Police
Wide ranging podcast with David Friedman, on legal systems very different than our own, law in 18th Century England, technology, and more!