skysight-inc/HackerNews huggingface dataset:
"However, according to two large population surveys, the majority of gay men had similar numbers of unprotected sexual partners annually as straight men and women."
>tldr - we need to make faster software

Just use compiled, strongly typed languages.

No: Javascript, Python, PHP, Ruby
Yes: Java, C#, C, C++, Rust.
For a non-rust person's point of view, I assume a macro is something like a super-pre-processor that helps keep the code concise. In the example below, what portion is written ahead of time (by the person making the macro) and what portion is the macro usage?

macro_rules! mac_trait {
($i:item) => {
trait T { $i }
}
}

mac_trait! {
fn foo() {}
}

Is this making it easier to implement a trait? interface?
Definitely not. Consumers are best served when you have a bunch of relatively equal players competing for their business, and where success is rewarded financially. That gives everybody an incentive to focus on continuously getting better at serving the customer through R&D, etc.

But if the reward for success is just having Amazon come in and hoover up the money you would have gotten by launching a knockoff, then suddenly there's a lot less incentive to invest in novel products. That's true both for categories where Amazon is competing and ones where it isn't currently.

I wouldn't be surprised if Amazon's replacement product is sometimes modestly worse, because a) they don't have the kind of deep expertise in a product that the original creators do, and b) it doesn't have to be as good to get the money.

And then there's after-sale support. Amazon's customer support is atrocious. The one thing they're good at is taking things back. But anything more complex and it's a nightmare.
It's possible for both of these to be true at the same time.

Regulation can help prevent harmful economic behaviour.

It can also create anti-competitive environments that protect incumbents at the expense of new entrants, often by regulatory capture.
I would not throw someone at CTEs who is using SQL Server - just use temp tables for each component you would be CTE-ing, CTE's dont get any benefit from re-use except from a code perspective, whereas composing your sets into temp tables will often get you exactly what you want, individual sets that you can re-use throughout your code.
Oh god. I have met these people in real life on a job fair. I definitely would not want to work there.

Furthermore, this is without doubt not Hamburg's first Unicorn.
I don't know if that's true. GNOME 3 is just a dark enlightenment experiment, like an attempt at neomonarchy or the Empire from Elite. Instead of feature creep and user accommodation to Windows idioms, they slash and burn despotically to ease developer burden and try to flesh out their own vision. Do you use Dropbox? Too bad. :3 There's extensions that break but whatever we don't care fuck the tray.

I think it's an interesting and worthwhile experimental path; I just wish it wasn't the "default" as much as it is. But I also feel that way about Ubuntu. And Windows. xD
Minor or not, this:

> You can now use associated constants on floats and integers directly, rather than having to import the module. That is, you can now write u32::MAX or f32::NAN with no use std::u32; or use std::f32;.

is neat! Awesome! Thanks!
I wonder if this applies to something like performance reviews where measuring overall performance as something relative to 'average' inevitably doesn't make sense to anyone as perhaps there is no average there for a job with any level of complexity.
> Coronovirus has an rFactor of 2-3

It's recently been revised up to 5-6 [0], and mortality estimates reduced.

https://www.forbes.com/sites/tarahaelle/2020/04/07/the-covid...
This is a frequent trick in econ 101-style defenses of anarchic markets - play with the time horizon.

If you're hungry, a soda is "great for the consumer". For 15 minutes, it alleviates that feeling. Does it follow that everyone should consume only soda?
I'm reading those comments just as a sign that people feel strongly about climate.

There's a lot of talk about the need to do things for the environment, but not much visible work done.

This service is that kind of meta level service, which could in theory create a lot of possibilities for individual people to change the world for better on the grass root level [1].

I think these commenters just created their accounts because they wanted to take part in discussion, due to the subject being special enough for them to make the move from the stance of passive reading to contributing to the discussion.

I think there are valid points.

Then again, maybe I'm just naive.

[1] The change can only happen through the system, and for that, the right people need to be doing the right decisions. It's highly unlikely that we could just scrap the current work and go full tesla on all fields of life. (Not that tesla would be environmentally sound in itself.)
Important line from the article

> a practice at odds with the company’s stated policies...

> .. as stated to congress

(per the comment of user "so_tired" above)
A lot of coughing and high risk individuals at the symphony though, unfortunately.
Direct Multipixel Imaging and Spectroscopy of an Exoplanet
it sounds like you’re advocating for the use of logic. with the current administration this is a strong no-go.
The primary purpose of the fed is to ensure privatized gains and socialized losses.
There is a marketplace where you can sell those boards which more or less serves the same purpose, probably at a lower price point.
Here I was thinking Swappa for SBCs, not sure the market's big enough though.
i reported a lot of this to them during beta, too.

thank god they added back a button to group by repository. it was literally unusable otherwise - just a stream of disorganized crap.

the repo name is still uselessly duplicated in every issue line despite the common heading when grouped. you can no longer "mark all as read" in a repo without going elsewhere to see the hidden notifs, pressing "select all" and clicking "done"...so next time you refresh the page without doing that, it all floats to the surface again. etc etc.

ugh.
What's your evidence that we get better outcomes for consumers?
Comprehensive Comparison of Zoom Alternatives Jitsi Meet and Whereby
I can't think of any point when I've needed water resistance.

Then it's not for you. But given that phone manufacturers go to the expense of putting water-sensing strips inside phones, someone is going to put that water resistance to use.
Disagree, what I do think we need is any retailer who has their own product lines in store must clearly identify that they are store brands.
You might enjoy https://news.ycombinator.com/item?id=18664979 .
I recommend using yadm. It's basically just git under the hood, but it has some nice features that allow you to e.g. encrypt sensitive files, use different files depending on the OS/host, etc.
If we're talking something other than eBay, I'm curious where the marketplace is.
The first block defines a macro; the second block is the macro usage.

The goal of macros is to deduplicate code; either inside a function or to implement traits (eg. the Debug trait, that allows printing a structure/enumeration/... recursively; this would be very boring to implement yourself every time)
You're focused to much on Amazon. Every company does this just go to your local Walmart, everything is white-label. A law like this would have to be applied to them as well.
Impact of Recession on Salaries Across the Analytics Domain
Well, you can patent or trademark designs. And our legal system protects the holder of those patents and trademarks for good reason. Amazon is able to leverage their position in the market to abuse suppliers and get away with illegal behavior because the suppliers lack the resources to fight Amazon.

There's a difference between a clean room design that takes inspiration from a product and an identical copy. I can write and perform a song in the style of The Beatles, but I cannot write and perform "Hey Jude" without paying royalties.
What really is the issue? That Amazon is leveraging its success to be successful? It's unfair that Amazon is able to see that a product category is doing well so it invests its own money into manufacturing a product to sell through its site?

Do you really think that if Amazon couldn't use the data from its own site that it wouldn't procure it elsewhere? Before any product is developed there is extensive market research done to get an idea of how much money this product could make.

Anyone can and does do this, why should Amazon be punished that its data collection mechanism is cheaper than others?
This is a great piece by Orhan Pamuk. Broad similarities in how authorities and populations react to pandemics. Also interesting to note the Orientalism that colors how the West thinks of new infectious diseases.
Moonjs – minimal and fast library for functional user interfaces
Another approach ... they could also identify which products either have wide-supplier diversity for the same thing (commodities) or narrow supplier density with many branded variants (OEM suppliers). In either case, they can go direct to the manufacturer without ANY innovation, slap the label on, and cut out the middle-man/sub-retailer costs. I think Amazon, in particular, has a team analyzing these factors as input into their sourcing (on top of general considerations like margin).
It’s about separation of concerns. The courts use precedent to ensure fairness through uniform interpretation of the law. It’s the legislature’s job to update the law to reflect what’s best for a changing society: when the text of a law changes, the courts obviously need to take those changes into account.

Precedent isn’t really about outcomes, it’s about lines of reasoning. If the law says that something has to be purple, the courts may need to decide what standard to use for purpleness. If another case then comes along that requires something to be green, the courts will try to make their greenness test work the same as the earlier purpleness test as much as possible. That way, everyone can get an understanding about how the courts reason about color. If the legislature disagrees with the court, they can amend the law to specify more precisely which color they wanted.

There’s a little bit of extra subtlety in that the US court system is hierarchical, and precedent is only controlling if it came from a court in your part of the tree. Different circuits may apply different reasoning for the same issue, and that’s probably the most common kind of case for the Supreme Court to take: two competing standards are in use, and they need to decide which one the whole country should use.
>You're either a platform/retailer or you're a manufacturer. You don't get to be both

Ok, done.

Now what are manufacturers supposed to do when Amazon and Walmart start bullying them some other way? You just made shipping their product directly to the customer against the law.
Three Years of Hell
I'm willing to give Amazon a pass on this one for the moment. I haven't been able to use any grocery delivery services in weeks. If there are time slots available they are getting filled pretty much immediately when they open up, and I've not been lucky enough to catch it.
What perverse incentive? Competition?
It's not even "faster software" so much as eliminating the culture of Developer Convenience at the expense of User Experience. That's what got us Electron. I've actually seen comments on HN unironically describing the web as "the perfect app platform".

Unfortunately, the majority of users seem conditioned to accept software with awful performance, so there's no impetus for developers to upgrade their skills.
The alternative to introducing this regulation is not going to a system with no regulation, it's continuing with the current framework where Amazon is actively driving competition out of the market. Opposing this regulation without an actual alternative is just defending the status quo.
Not necessarily.

There's a big halo effect on these sorts of things. When hotel rooms get booked, housekeepers get more hours, bartenders get more tips, restaurants get more covers, etc.

For the event itself you also have the carpenters who assemble the stages, security staff, garbage runs, etc.
"An expanded version of this report appears on WSJ.com"

Discussion of the WSJ article: https://news.ycombinator.com/item?id=22956182
Been noted here on HN: the average web form excludes lots of people. Lots of folks cant fill in: First/middle/last name; unique username/password; social security number; street address; bank account.

And not just folks in Micronesia or whatever. Heck my business partner hasn't got a deliverable street address - no mailbox at his house. He has a PO box. Is a nightmare getting Amazon deliveries that aren't lost, or left in the bushes, or returned undeliverable.

Anyway, yes, there is no average person.
every major retailer has store brands, and I fully expect they all use their sales data to inform their generic products business, and all of their suppliers expect that too. As a consumer, I like that Amazon is upfront about what products come from their brand. Good luck browsing through the plumbing and electrical fixtures at Home Depot or Lowes and figuring out what crappy store brand stuff and whats not.
Maybe. But I think the first step is that Shopify creates a means of unified discovery across its many merchants. Maybe not quite a unified store front like Amazon, but maybe a unified search listing, like Google Shopping. Probably also get into recommendations across stores as well. There is a lot of related opportunities here once Shopify starts to link data and search and recommendations (and eventually ads) across their various stores.
it’s not just the memory protection. it’s the scheduling, IPC, etc.

the eBPF vm uses the capabilities of the kernel, it is not the kernel. No kernel, no nothing.

also, following your train og thought I could say that containers make this a microkernel. it would be a claim that would get you laughed out of a room.
Will this API be opt-in, or can we expect another security disaster like with WebGL?

https://news.ycombinator.com/item?id=16457791 , https://www.contextis.com/en/blog/webgl-a-new-dimension-for-... , https://www.contextis.com/en/blog/webgl-more-webgl-security-...

Edit I should have given a quote from one of the articles covering the issue, so here's one:

> anyone running Firefox 4 with WebGL support is vulnerable to having malicious web pages capture screenshots of any window on their system
I would say the number of hospitalizations is reliable as well. Those are the only two numbers I've really been paying attention to, because the number of total cases is really just a factor of testing, and doesn't yet give us an accurate picture of the situation.
The Amazon Basics products I've purchased have been of acceptable quality - and at least I know they're not counterfeit.
What Home NAS Builders Should Understand About Silent Data Corruption
I'd say Poland is currently more at the fairly advanced stage of legal decomposition. The ruling group seized control over judiciary (the Constitutional Tribunal, controlling judges to the large extent). In the present crisis the legal foundations for everything that happens are very loose, with new ordinances interpreted ad hoc with the police's discretion or Prime Minister's Power Point presentations. The there's the controversy around organizing elections in May. The enduring legitimization of power can erode even further.

I would not call that totalitarianism, more like moving fast and breaking things, with no clear knowledge where they're going. The government is trying to avoid visibly mistreating anyone (aside from lots of verbal abuse on state media), they just want to do whatever they want. As to the longer term effects of such tendencies, I leave it to the reader's judgment.

As to surveillance, it was dug up by NGOs that provincial government offices are collecting cell network localization data on quarantined people. Apparently the emergency statute lets them do it even for everyone in an "anonymized" fashion.
"Well, unquestionably, housing prices are up quite a bit; I think it's important to note that fundamentals are also very strong. We've got a growing economy, jobs, incomes. We've got very low mortgage rates. We've got demographics supporting housing growth. We've got restricted supply in some places. So it's certainly understandable that prices would go up some. I don't know whether prices are exactly where they should be, but I think it's fair to say that much of what's happened is supported by the strength of the economy." - Ben Bernanke, Chairman of the Fed, in 2005.

https://mises.org/library/ben-bernanke-was-incredibly-uncann...

What I don't understand is how people find it very difficult to admit that economists can be wrong sometimes and that their word is not gospel.
FCC Widens Wi-Fi Airwaves Access in Win for Facebook, Google
Do you have any links to this? I know about the USB-PD issue which they fixed in v1.2, but that's about it.
Wow, lots of comments stating that it was common knowledge, but some fact doesn't become common knowledge simply because everyone knows it. Everyone should also know that everyone knows it and know that everyone knows that etc. which only becomes true after the article is published. The situation is materially different - this is illustrated e.g. by the famous 'island with a blue eyed population' puzzle: https://en.wikipedia.org/wiki/Common_knowledge_(logic)

In this case one of consequences could be that previously during negotiations with Amazon suppliers couldn't effectively use the fact that Amazon would scoop them (even if both parties knew that it was true), and now they can.
Calculating "scenic value" sounds like a very good idea indeed! Plus points for points of interest and greenery, minus points for busy roads. Again, I understand it's not easy to implement :)
This is the same situation that happens on most platform plays.

You can see this in how Salesforce and Shopify are leveraging their platforms to learn what is popular and produce/buy their own products to sell to their customers to capture 100% of the value, rather than 30% of the value of the solution to the customer.
I'm guessing that for most people it's one of the two following:

a. They're used to iOS/integrated into Apple's ecosystem, and this gives them a way to cheaply get a new phone that keeps them on that model.

b. This phone will probably shoot better photos than any Android at this price point, and even a decent chunk above it. Apple has been really focusing on their cameras the last few years, and the only examples of photography on an Android device that I've seen beat Apple's newer phones is from Google's Pixel devices.

All in all, it sounds like this is a case of other people liking different things than you, and that is a-OK :) (and most likely not astroturfing)
I’m wondering how Apple got to this position in first place. How does a company that doesn’t specialize in CPU design, beat a company who specializes in CPU design; Intel??
You’ll likely run into ‘likeness’ issues if you use actual celebrities’ voices, especially considering that it would cut into their own book sales. I imagine many authors have self-narrated their own audiobooks and don’t want others to undercut it.

I think this might be better suited for public domain books from the past. If I could have The Count of Monte Cristo read by a Frenchman (in English), or Sherlock Holmes read by a British man with a Victorian accent, that would be cool.

Also another idea: audio versions of movie scripts. Select a character type for each role in the story, then automatically generate an audio version of the entire thing.
Definitely! And as we see with WeWork, doing this scam right can lead the scammer to be a billionaire without ever turning a profit.
Want to Find a Misinformed Public? Facebook’s Already Done It
Hmm, I see a lot of people here mad and arguing for regulation to stop Amazon from making their own white label products, but it seems like selective outrage.

When the discussion is about censorship online (demonetizing, blocking people who they don’t like but have done nothing against explicitly stated rules, banning anyone critical of the WHO) the argument often becomes “They’re a private business, they can do whatever they like and you don’t need to use them”.

How is the solution if you don’t like what Amazon is doing with white label products (that almost all major retailer does) to just not use Amazon?

Even if you consider Amazon a monopoly, they don’t prevent the name brand product from being sold there. If they did it would be a similar issue.

This really seems like a Rorschach test for a political ideology.
How to Not Lose Control over Costs in Microsoft Azure
The added cargo env variable pointing to the path of generated binaries is a nice quality of life fix. I think that was one of the first annoyances I ran into with cargo and binaries. It was minor but was like a little splinter that stood out from cargo's otherwise nicely integrated build and test capabilities.
If the free market has overly concentrated power in a party, the solution is to create competition by dividing that party.
I don't know anything about them. But since all the binary operators (+, -, *, /, =, <, >, etc) are overloadable they could be implemented in Factor.
I don’t think so. OS/2 ran on x86 or PPC, but not 68k.

There was a Mac86 board with an 8086 processor that fit the SE/30’s PDS slot, but I’m pretty sure OS/2 1.x required a 286.

You might be able to install OS/2 on a Mac II with a Mac286 NuBus card, but it seems like a stretch. I can’t find evidence of anyone having done it.
Previous discussions about PM

2018 - Ask HN: How secure is Protonmail really?
https://news.ycombinator.com/item?id=18101090

2019 - Ask HN: FastMail vs. ProtonMail?
https://news.ycombinator.com/item?id=19372882

How secure would it be to use PM if the following conditions were met?

- you only used one of the open-source native PM apps

- you only emailed other PM users

- someone you trust audited the PM source code for the native apps

- you installed from F-Droid
Since many states cannot deficit spend, the strategy of 'leaving it to the states' is a deliberate strategy of abdicating responsibility at the federal executive level.

With a federal unitary executive disinterested in expanding testing, and no other backstop, we are left without a country-wide strategy.

I'm thinking that we won't get out from under this shroud until we get a new president.
Aside from the other great points that have been made already in other top comments, I have a little nitpick (or feedback for the author, if they're a reader): charts should have axis labels, units, and ticks. Otherwise you might as well not have them.

Take the second chart on the page for example, as soon as I saw it a little warning light turned on in my mind. That chart says incremental spend (y axis) vs time (x axis), but no values or ticks on either axis. A chart like this could literally mean _anything_ because you have no idea of the rate at which those lines are getting smaller. You have no idea how much more revenue to startups there is compared to incumbents, the difference that _looks_ big in the chart could even be 0.001%, just "zoomed in".
Plenty of vendors pay for shelf space
The first block (macro_rules!) the declaration is written by the macro author, the second block (mac_trait!) is the usage written by the user. Note that macro_rules is itself a macro.

`trait T {}` and `fn foo() {}` are used in the final code, which would be:

trait T { fn foo(){} }