skysight-inc/HackerNews huggingface dataset:
The main question I have with tools like this is around safety.

The reason we typically don't directly edit production data like this is because of application level concerns or validation.

I think it's important that any tool like this allows a way to replicate that safety in some way, otherwise it's as risky as using a GUI client directly. Access control (which this does) addresses security and starts addressing safety, but there's a lot more necessary to get to the safety that is often enforced at the application level.

There's an argument that the validation should be in the database, and that's nice when it's possible, but it's often not. For any application using Rails/Django, anything else along those lines, anyone interacting with the database mostly via an ORM, will typically not be putting this sort of validation in the database in _all_ cases – thinking about enums, fixed slugs, relative dates, timezone support, etc.
They have a lot of experience designing ARM chips that they're not just gonna throw out. And obviously the major advantage of going ARM is that they can finally unify IOS and Mac app development. In fact as far as I know, all IOS apps will be natively executable on Apple Silicon for Mac on day one.

I think RISC-V will eventually come to consumer facing (rather than embedded) products, but it might take another 10 years.
Great guy who opposed expansion of American healthcare and accused of sexual harassment by many women.
or

async function getPeople() {
const membersPromise=fetch("/members");
const nonmembersPromise=fetch("/non-members");
return [].concat(await membersPromise, await nonmembersPromise);
}

edited to fix typo spotted by lhorie. thanks.
You can't buy food with a piece of paper that says you're supposed to get a tax deduction next year.
This. The federal apparatus will happily remove Trump from the White House, Jan 20. If they didn't, that would literally be justification for national protests and government toppling.
Again? I remember when zfs didn't init in time so grub found no root. It was fun panic when it's on a virtualization server..
First, nobody gave them ownership of those copies.

Then who are the 130 partner libraries they are talking about?

https://blog.archive.org/2020/07/22/libraries-have-been-brin...

Over 130 libraries endorsed lending books from our collections, and we used Controlled Digital Lending technology to do it in a controlled, respectful way. We lent books that we own—at the Internet Archive and also the other endorsing libraries. These books were purchased and we knew they were not circulating physically.
Too slow, probably. Either they'd need to do advanced dataflow analysis to not have them everywhere (slow/complicated) or just insert them everywhere (slow).
I have an analytics joke but it would take between 10-30 hours to develop
Hmm, if it's just by the order of succession, I thought that the Speaker of the House was 3rd?
The mistake is not getting the body of the response. Is it even meaningful to concat two response objects.

It's amazing what gets upvoted on HN.
The universal symbol for correcting misspellings is an asterisk and then the correct spelling, not quotes.
96% accuracy may be a problem...

Depends how many false positives and false negatives, but if there's 4% of false negatives and there's, say, 1% of the tested population that has the disease, then even a positive test may mean you have only 20% chances of being actually positive.

(someone double check my math, but the general idea stands, I think)
This is not wrong, it's just not parallel. That is, the second promise, inside `.concat()`, will only get created and scheduled after the `await members` will have resolved.

The point of `Promise.all` is to have every promise passed to it to start computing concurrently, likely in parallel if they e.g. start independent I/O operations.
That's not the only option. Some writers get by without being rich. Others have other jobs, and write because it's their passion.

The falsehood here is "no writer will be insane enough to write without a business model".
Most (road) cyclists I know use a combination of:

- strava heatmaps (https://www.strava.com/heatmap)

- ridewithgps routes (https://ridewithgps.com/find)

- club routes posted on club websites (like sf2g routes for getting down the peninsula from SF https://sf2g.com/routes.html)

- google maps streetview to check quality of bike lanes

- city-specific cycling forums (ex: https://reddit.com/r/nycbike where the first decent routes using the new tappan zee / cuomo bridge bike lanes have popped up)

It's still a lot of work to plan a decent 50+ mile ride if it's through an area you're not familiar with. I really wish google maps could do more to show me traffic volume to help select between different routes... I'll take an empty wide road over a bike-lane running next to parked cars any day.
I manage the "support" (mostly DMCA) tickets for some small website we run as a hobby project without monetization whatsoever (aka "for fun"). People are free to use it, e.g for chat and to share content (i.e. DMCA magnet). It's maybe like 5-20 such tickets per day, most of which are DMCA and can be handled really quick, so it isn't that much of a time drag.

Not actually getting paid/having an employer there can be quite liberating...

Since nobody who ever writes me is a customer, and I am not getting paid anyway, I am more or less free in what level of politeness I apply. I usually try to model my response after the initial requests I receive - taking into account other factors like people who might be genuinely upset; or confuse me with the person who actually uploaded a piece of content.

We have users from all over the world, and it's rather interesting to see particular patterns/attitudes with certain types of locales.

For example, Americans - by and large - are too lazy to read the few lines of text on our contact page detailing what information we need to address what kind of problem, and often are rather rude from the get-go, and really like to threaten with their lawyers (plural!) in the initial email when it comes to copyright or related issues. This then leads to me asking for the missing details, followed by a lot of them demanding to talk to my supervisor, to which I then point out that they are not our customers and that being rude or even outright insulting the only person who could potentially help them (for free) isn't maybe the best idea they ever had... And if the supervisor demand came up, I point out that I do not have a supervisor, I demand to talk to their supervisor instead.

It would be unfair to only unload on Americans, tho. We got a lot of Portuguese users, and tickets from the Portuguese are even more rude on average and of course nobody bothers to read the instructions, tho nobody ever demands to talk to my supervisor. The French are polite but like to make outrageous demands, but seem to read the instructions. Germans are "professional"-polite but tend to write LOOONG emails, and when it comes to copyrights usually cite a lot of completely unrelated laws, but again read the instructions. Middle/South Americans are usually polite but constantly think the Subject line is where all their text is supposed to go, and do not read the instructions. I'd say the most pleasant people are the East European (mostly Polish and Russian) people who write me... I don't remember anybody outright rude from East Europe ever, tho the language barrier - our website is English only incl the instructions - is often rather obvious (but I will not fault anybody for that, of course).

Point being: the level of RTFM in my limited experience differs quite a bit depending on locale.
Ideally, it wouldn't.
Or when the first settler settled there and defended it, before which there may have been no persistent local community.

Are we not talking about modern society though?
Would this not also work?

async function getPeople() {
const members = fetch("/members");
const nonMembers = fetch("/non-members");

return (await members).concat(await nonMembers);
}
There doesn't need to be, if you expect the caller (or the top-level code) to handle errors.

Also, how should the function handle errors? It's not immediately obvious. An empty array is not the correct thing to return (an empty array could be a valid return value). Returning undefined/null would be another option, but that hides the error from the caller (which might be interested in the exact error message, to be able to properly deal with it).
Website Uses AI to scan poop photos for your digestive health
Doesn't stop people from trying to have the cake and eat it too. I think I remember reading about a FOSS project on GitHub that put a clause in the license that said something along the lines of "this software is free to use except for purposes we deem immoral in which case you can't use it" (sorry, I can't remember which project it was)
You're saying what everyone else is saying, it's a distraction, or they're also saying that he is setting up an excuse for losing.

What I don't see people saying that's a lot more scary - if he expects to win illicitly, getting his opponents to declare the election won't be corrupt is exactly how to make sure it sticks.
To achieve true black, some printers also mix cyan, yellow and magenta in.
> Anybody can explain why SQL database makes sense for large time series data?

Let's say, just to say, that you have effectively free licensing for Microsoft SQL Server (because you already own the licenses in question), and you have staff who know that platform well.

Sometimes it's easier to use the tools you already have rather than go acquire a new platform to achieve a goal.

As with anytime you choose a persistence layer, you're accumulating technical debt the instant you make the choice. Over time, if better persistence layers become available, you have to make a judgment call about when it makes sense to change the code, versus when it makes sense to do maintenance work on the persistence layer.
I mean why is there not a single mention of inflation in this article? I thought for sure, since this was so high up on HN, it would be the most obvious obstacle to UBI.

It's so insane this isn't mentioned because we are living in a time of basically UBI. The govt is giving unemployed people astronomical amounts of money.

I have friends in the restaurant industry, they lost their jobs from COVID. Then, when restaurants started offering curbside, delivery or togo, they needed people again. But my friends said 'No" to their old jobs because they were making $900/week from unemployment. Same thing for Uber Drivers, and many more industries.

And guess what happens when the economy adjusts to the trillion-dollar bailout? Hyper-inflation. So all that money is going to be worth a fraction of what it was before.

And with all this UBI happening right now, guess what they do in their spare time? They get drunk and high and riot. That's what we've created with UBI. And when the other show drops, who's going to be left with the bill? Not me, I invested all my bailout money.
...why? Please, please, don’t add syntax to “fix” semantics that can already be elegantly expressed using existing constructs (Promise.all). Minimal-ish syntax is one of the few areas JS gets things right.
If you don't want to tell them to F Off for this reason, you can contact their line manager, HR or customer service department and ask them to do it for you.

The kind of person to lay into you like this is not going to give you a glowing reference whatever you do.
Youtube is in fact a great example of the flexibility of the copyright program. You have millions of hours of professionally-produced work, and millions more hours of people commenting, analyzing, critiquing, or otherwise engaged in the marketplace of ideas with respect to those works...all within the framework of the copyright system. That doesn't include the billions of hours of non-professional content uploaded to the site.

That is not the goal nor desire of copyright law. profit is not the reason copyright was added as a constitutional power

In fact, providing creators with profits is exactly the reason copyright law was enshrined in the Constitution: to incentivize creators to do their creating in the US. (The copyright and patent system merely formalized and codified an exclusive monopoly system for inventions originally developed in Europe during the Middle Ages.)
so many people are fond of saying "porn launched all these different technologies" (I say it that way because I am not fond of saying it) that I think this post would better be summed up as "crypto is the new porn"

meaning, it more than doesn't matter if a technology finds a unsavory butlucrative market, precisely that lucre is what funds early stage development of the technology to the point where it can grow into commodity markets.

(and this is more "the elephant in the Haskell room" than any type of Haskell elephant)
> For some very strange reason, most Americans I have spoken to find it unreasonable to treat companies like, say, Github or Microsoft with the same level of vitriol that is currently being leveled at TikTok for being affiliated however tenuously with the CCP.

It's because this is the CCP: https://www.nytimes.com/2013/08/20/world/asia/chinas-new-lea...:

> Communist Party cadres have filled meeting halls around China to hear a somber, secretive warning issued by senior leaders. Power could escape their grip, they have been told, unless the party eradicates seven subversive currents coursing through Chinese society.

> These seven perils were enumerated in a memo, referred to as Document No. 9, that bears the unmistakable imprimatur of Xi Jinping, China’s new top leader. The first was “Western constitutional democracy”; others included promoting “universal values” of human rights, Western-inspired notions of media independence and civic participation, ardently pro-market “neo-liberalism,” and “nihilist” criticisms of the party’s traumatic past.

Add to that practices like the Xinjiang cultural destruction/forced labor camps, the dystopian nightmare of what's happening in Hong Kong, and a domestic surveillance apparatus that makes the people who complain about Stingrays look like whiny babies, which all show that it's not just talk.

The US and Western companies like Microsoft definitely have issues, but they don't hold a candle to the CCP's.

And I wouldn't count TikTok/ByteDance's affiliation with the CCP as "tenuous." How much power to say "no" do you think they have?
All the code in the UI should better be fast, else the UI drowns in annoying molasses real quick.

So no, performance does matter a lot here.
> there are significantly more pro-climate change press releases, than anti

This was my immediate thought. There have got to be at least twice as many "climate-change-is-happening"[1] articles as "climate-change-isn't-happening" articles, given the current indications that climate change has, in fact, happened and continues to do so.

[1] I can't bring myself to call it 'pro climate change' or 'anti climate change' because it's about whether it's happening, not whether I think it should.
Agreed. I’m glad you left that comment.

Even though the working class in rich countries like Iceland is constantly cheated out of their fair compensations for a (relatively) shitty job. One must not forget that in the grand scheme of things, we still have considerable privilege by the nature of our birthplace.

We can—and should—complain about how we get the shorter end of the stick in the current economic system. But we must not forget that globally we constantly are the beneficiaries of much worse cheating of the foreign working class.

As I write this we are still calling for the arrest of Icelandic business owners who were guilty of bribing Namibian government officials in exchange for a privileged and unfair access to common Namibian fisheries in a scandal known as Fishrot. We are also waiting for the justice system to act on a slumlord who took advantage of imported labor, and left a house he rented them with inadequate fire escapes. The house burned down with three people (all foreign laborers) still in it unable to escape. The Icelandic justice system seem to be unwilling to pursue justice in either of these scandals, demonstrating how Icelanders are criminally benefiting in the international context.
Yes - I thought that perhaps "await" did something different in JS than C#, but that is literally its entire purpose: to synchronously wait for a call within an asynchronous method.

Even Wikipedia says the async/await pattern "allows an asynchronous, non-blocking function to be structured in a way similar to an ordinary synchronous function."

Honestly not sure how this made it to even 20 points.
I realize the article is very vaguely written, but I don't think the argument is "Haskell has been used for cryptocurrency and that taints it forever."

I read it as "A significant portion of jobs and funding in the Haskell ecosystem come from cryptocurrency organizations, giving them a lot of influence over the future of the language and the community." It's about who controls development of the tool right now, not how the tool might be used, or who has been involved in the past.
Does anyone have a good detailed article on the crypto behind iCVV/dynamic CVV? This article summarizes how it works, but I haven't found a good detailed article after much googling
I expect that will execute sequentially though as opposed to the solution above it.
Having system in place (90% of libraries do) doesn't mean all or even most of the books they have physical copies of are available in digital form. The question isn't whether libraries can lend digital books but if they are able to lend the same ones IA did. Just because 90% of people are capable of running doesn't mean that they can run as fast as Usain Bolt.
Simple!

try {
...
} catch (e) {
throw “an unknown error occurred”
}

;)
When I get a promotion, does everyone in the country get a promotion? A promotion is also private to everyone but the IRS, who does increase costs through tax, especially for the lower and middle class. The analogy you present doesn't make sense.

I mentioned this in another comment, but I fear UBI will be an excuse for those in power to have even less incentive to care about other problems like education, healthcare, the credit system, consumerism, etc. I fear it will be the case of "we're giving you free money, what more do you want?" from the government and wealthy.
Covid, Open Source, Industrial Policy
What I disagreed with was when you said centralized control is always worse, not a command economy. I asked for any evidence you have for that claim and you don't seem to have any.

I'm aware of the market reforms in China over the last half century. They've moved the country closer to something like capitalism, but it's still incredibly far from anything in the West.

You seem to be unaware that ~30% of the Chinese economy is owned by state owned enterprises, and China in general, or you wouldn't say something as incorrect as "Compared to other countries, China is around the median in terms of how much control the government has over their economy."

But again, you're dodging the question of why you believe, in the US, widespread hunger is an unfortunate necessity, but in communist countries, it was the result of the economic structure. I'd encourage you to consider why you believe that, and whether it's reasonable.
I've used Google Maps in London, Berlin, Washington DC, Chicago, New York, SF, Austin, and a few other places. Berlin and DC were probably the worst, but it still worked. New York (where I live now) it sometimes chooses the "wrong" bike path. For instance, it'll choose a non-protected lane and insist on it even though there's a protected, 2-way bike lane a block over that's much much faster and safer.

Then again, this is a really really hard problem to solve for, and Google probably has it the best no matter where I am, so that's what my default is. I'm excited to see how Apple's will work in iOS 14 though.
Am I reading this correctly that "yum update" is all I have to do to screw up an 8.2 minimal install?
Unfortunately, I think this move would receive quite a lot of flack due to it being systemd. I totally agree though.
Siri Defines “Demon” as “A Police Officer”
The Essence of Quantum Mechanics
Very much this. New hires must always be tasked to improve onboarding documentation. At a previous place I worked, I went from expecting it to take a new hire several months to be productive to less than a couple weeks and a big reason was continuing to have newbies tweak docs and fill in details that might be easy to gloss over by soneone who already knows the tech.

As for containers, I’m not sure I follow. We ended up using vagrant and then test kitchen for our VMs, which really helped with on boarding. The team had too many people who couldn’t be expected to troubleshoot much of the backend anyways. We had stayed away from containerization because it added complexity without any clear benefits for our use cases. But test kitchen definitely papered over the need to get a local environment running with all the dependencies, which might change with different services, and that seemed like a good thing.
Am I the only one getting itchy fingers from the lack of normalization? This:

async function getPeople() {
return fetch('/people')
}

just seems far more straightforward across the entire stack (where each entry has a `member: boolean` or `type: someEnum` field)
Google’s problems are bigger than just the antitrust case