skysight-inc/HackerNews huggingface dataset:
Wow, this is epic scumbaggery.
I still stick to Chrome because of all the syncing features it has across many of the devices I use, PC, Mobile, Mac and my own laptop. I remember at sometime in the past they hid URL query parameters by default, until the user clicked on the address bar.

It's so obvious this move makes it harder for people to copy-paste links, which is a common practice, and moreover misleads people when they try to know what page they're on lol.

test.com/profile
or
test.com/dashboard/favorites

or many other pages that look like `home pages` of websites are now going to be misinterpreted as actual home pages themselves by users because of this witchery.

If Google thinks this is a good move in that they can get people to land on websites through Search and not directly, it's an undoubtable massive deal-breaker for people like me.
Google is dumbing down tech so new users don't understand the basics of the internet. Seems like a winning strategy and the culture they have built their company on.
> They absolutely do. How can you say the requirements of getting emergency response to a sparsely populated area over a much larger area is the same as a much smaller and more densely populated area? Getting a appropriate response times to cover the larger and more sparsely populated area is definitely going to be more costly and difficult.

You are describing density.

> Saying urban US doesn't have great healthcare doesn't disprove the point that rural areas have higher healthcare costs and worse outcomes.

Nor does rural areas having higher costs prove that European-style public healthcare won't scale to the US.
> So right now we are watching words change meaning.

On the Internet, TV, News and in OSS projects where the main developers report to their new corporate masters, sorry, leaders.

Meanwhile said leaders are laughing in their luxury locker rooms about useful idiots and are using the exact same terminologies as before with their old boys networks.

Truth is too much for HN. Enjoy your fairy tales, gurus, social constructs, webshit apps and continue to live in a dream world constructed by others.
Classy. Will anyone upset by this cancel their prime subscription?
Generally in C++ you shouldn't be nested your code so that you'd need six lines just for your brackets.
IMO, checks that can be automated, like linting or formatting, should happen before code review and have been fixed before the code is submitted for review.

That way the code review is not 'polluted' by potentially plenty of automated comments, and reviews can focus on actually review the code as it is proposed to be submitted to the code repository.
I have followed the discussion around this on the Swift forums, and I'm actually of the opinion that the debate around this topic amounts to little more than bikeshedding and the proposed syntax for multiple trailing closures is fine.

I'm a bit perplexed by the author's position that Swift should just be small-talk as though this is obviously better.

As far as the idea of getting rid of parens entirely as the author suggests, I'm not a big fan of this approach. In languages like ruby where parens are not used, I tend to find this makes things a lot less readable. That might be a matter of opinion, but at the very least I think it can be said that Swift's approach to arguments, where only closures can be moved out of the parentheses of a function call is a perfectly consistent and defensible approach. For instance I don't think that this:

foo(someArg: 42) {
// do something
}

Is less clear than this:

foo doSomething: {
do something
}
someArg: 42

In fact I think it's probably the opposite, and the only reason I can imagine to prefer the second example would be out of some appeal to purity/simplicity of the function call syntax over any level of pragmatism.

As far as the whole debate over the inconsistency of the first argument label being removed while the following argument labels are required in multiple-trailing-closure syntax, I just don't think it's that big a deal. I also understand the consistency argument, that it should be handled the same for all arguments (i.e. the author of the function signature should explicitly decide if the label is required or not), and it probably should work that way, but I also understand why it hasn't been proposed that way for the first iteration. It would break a lot of code given how prevalent trailing closures are in Swift.

However there are already proposals in the pipeline to introduce an argument label in the first trailing closure (provided the function author hasn't named it `_`). I suspect in the long term this will eventually make it into the language, and automatic migration tools will make it possible to resolve issues with existing code without much fuss.

So in short I think multiple trailing closures are a good and natural addition to the language which provide real value, and the proposed syntax is absolutely fine.
Scientists and their organizations have an obligation to identify and mitigate conflicts of interest. If scientists are receiving funding off the books without disclosing, they're either actively or "accidentally" preventing that.

Further, they likely breached their ethics policy which is usually the part of their contract, employment agreement, etc

^ These apply regardless of the source.

Now considering the source, you have to investigate if they disclosed or were asked to disclose information on the policies, studies, etc they came in contact with.

Alternatively, did they adjust or were they asked to adjust their positions, policies, studies, etc that they were involved in?

^ Turns out those apply regardless of the source too.

In the most charitable explanation, they were incredibly sloppy multiple times in multiple ways. In the worst explanation, they committed espionage and/or damaged the entire process. The answer is likely somewhere in between.
But switching to another browser does nothing to challenge AMP, as these changes are mostly pushed on the server-end while changes to the browser end, like this one, serve to further obfuscate this consolidation of Google's dominance on the web.

In that context, it's a bit cynical to belittle the problem as you are doing there when this has been a very real issue for several years. As by now Google, Facebook, and Amazon control the vast majority of web traffic and have been doing so for years already [0].

This isn't some hypothetical scenario, it's something that's already very real.

[0] https://staltz.com/the-web-began-dying-in-2014-heres-how.htm...
If you scoop another researcher then you get the publication. Then the first thing you can do is ruin someone's year by publishing the fruits of their hard work before they do. They are screwed and you take the novel direction over.

But for real IP, in the US if you publish something you get a year to patent it. In many other places you have to patent it before you publish. So if you get their info before they have published it yet you can file the patent first.
killall SourceKitService
Nitpick (I think this is just a miswording rather than a misunderstanding): it's not optional. You can have unlabelled args, but that's enforced too: the label must be included or omitted at the call site according to the function declaration.
Show HN: My daughter and I made a site to explore the photos from the ISS
Random process creates a structured fractal pattern [video]
Not sure why you're downvoted, this is who he's talking about. It took 2 min of searching to confirm.
It's another thing that may be an issue, but is it? My smartphone runs these bloated players just fine.
1) Me neither to be honest, but would love to see it.

3) All right. That was not my intend. I think they both do different stuff, some projects need both, some only need one or the other.
If China actually had the population of the US in a single city, they wouldn’t be selling cars. There wouldn’t be enough physical space. People would take the subway.

May be you’re not actually looking at things in a common sense way.
It’s a choice. You can choose which direction to push your career.

I do find it interesting that in one breath HN criticizes unions because they will add tenure based pay to the industry and in the other breath complain that if you do the same job for 30 years your income won’t rise.
I'm pretty sure that sentence should be parsed as:

> Of course [China] would have [had an ICBM program] anyways, but it would have likely taken longer.

rather than

> Of course [Qian Xuesen] would have [defected] anyways, but it would have likely taken longer.
You are obfuscating the point. This issue is not about researchers receiving funds from China. Its about failing to disclose that this funding has been received. The US is trying to ensure transparency in how the research that is being funded in part by the American tax payer is ultimately paid for. Should US citizens not know this? Does transparency in research funding not matter?
These are advantages in public sector recruitment. The public sector is never going to be able to compete with the private sector on pay, but for many people the promise of steady and reliable income and benefits combinded with a good retirement plan is very attractive.
A sufficiently smart editor could show names in front of positional arguments, even if named arguments are not part of the language.
Unenforceable , Amazon provides so many services across the internet a judge would laugh at any non-compete lawsuit against an employee.
Already There
> First - how do you know first hand that any of these people care?

Because I talked to them and they told me.

> Why would it be a 1:1 correspondence that simply being a certain ethnicity means you hold a certain opinion?

Where was that claimed? That's a strawman.

> you’re arguing for a set of actions and policies that infantilizes and victimizes ethnicities.

Source? Do you have some studies that show these specific actions and policies infantilizes, just for example, black people in the USA?

Here is a source that shows microagressions cause psychological damage [1].

https://journals.sagepub.com/doi/abs/10.1177/174569161982749...
Absolutely none of those items are primary conclusions from Steele. Nobody cares about "how many degrees of separation existed" between sources. That's just a bunch of Republican misdirection. This is really the best you can do? What about the actual relevant points in his report? Is there a reason you didn't even mention any of them?
It can't require too much processing, Postscript printers were a thing decades ago...
This is not about Trump and this is worst mis-direction tactic to derail the conversation and inquiry on this subject.
so they say that having little grey matter (like early birds) correlates with "empathy, agreeableness and cooperation."
But maybe early birds are only so empathatic and agreeable because their day/night cycle is not always disrupted by how the world is set up? Whereas us grumpy night owls having a case of a bad monday morning is maybe just because we have to stand up early and don't want to?
On a side note, the ancient Greek philosophers believed Mathematics was the language of the Gods. There were a bunch of mathematicians who formed the Pythagorean sect which was similar to a religion. They even punished those who preached the irrational numbers becuase irrational numbers were seen as "evil" because they defied the geometrical properties of triangles [0]. So in a way mathematics and science in general is the path to enlightement, to undestanding of the natural world.

[0] https://en.wikipedia.org/wiki/Hippasus#Irrational_numbers
You'd have to be pretty desperate to sign such a contract for anything less than 10 million usd a year.
>Nor does rural areas having higher costs prove that European-style public healthcare won't scale to the US.

No but now the burden of proof is to show how it does scale when the requirements and characteristics of the users are clearly very different. European population density is in general higher than US, and in general European countries are more homogeneous.
Setting aside the obvious differences in incentives between the U.S. government and the Chinese government.

U.S. funding here is obvious and understood. It’s a government body. Calling conspiracy here is disingenuous. It’s effectively disclosed and can be evaluated.

The problem is that these foreign ties were not disclosed. They can’t be evaluated.
"My point being, do not be careless in applying ideals and ideologies to peoples (or governments in this case) that do not deserve them"

You're literally doing that but for the US. The families of countless people killed by the US in its illegal wars over just the past several decades would disagree with you, if they haven't been wiped out themselves. Same goes for the countless people that starved to death from US sanctions because their government refused to bow to the US empire.
Reading this brought back another memory - cinnamon! Now, I like cinnamon as much as anyone, but why the hell is it added to everything in the US!
At 3:04 in the video Froome takes a corner in his tuck.
Agree with you. I don't think the demise of rental companies is immediate or imminent, but I believe it is inevitable. The forces are indelible.

BTW, your calculation agrees with my statement. $37 for car including fees, $30-$40 in gas, plus unknown parking. I was spitballing $60-$70 for day, and it seems those things do indeed add up to that amount. Higher gas prices, more expensive parking, and longer commutes make those figures even moreso.

I agree with you that if the business foots the tab, the employee might not care and would just go for convenience. But the biggest factor impacting business travel is not the cost of rental cars, but the shift to virtual events and remote meetings. This is another indelible force for the rental industry.

As mentioned, I think the demise is not in these next few years, but by 2030 I believe we'll be writing the post-mortem on rental cars and how the industry has transitioned to something else.
Yes but the point is the solution to "copy EU" countries is extremely naive and doesn't address these significant differences in needs.
> What I am talking about is overriding styles by the user of the component.

Please take a look at theme spec where variants become part of your theme object. You use theme.js to provide custom variants to components. This is how you would let users to customize your components via well defined expressed API (typed with TS if you want) :-)

> One way to do it is through the ThemeProvider. But that does so globally.

You can have as many nested ThemeProviders as you want. This is not a hacky way but is the way if for some reason it's not enough for you to have 1 global theme object.

Material UI is great for what it does (implements said kind of design) but if material design is not what you want then using this library with its own layers of abstraction is a no go to me.
it should not be summed up as a comparison to a murder investigation, but rather as a a comparison to DNA evidence.
Do you need another boot or did you get enough protein from that last one?
Tools are great, but I'm not a fan of the idea of needing special tooling outside of the source code itself in order to be able to understand it.

Maybe it's just me, but I would hate to imagine living in a world where my projects might be incomprehensible if I ever lost my .vimrc
PNC says fears for US economy prompted sale of BlackRock stake
>Last week there was discussion either here or on reddit that Amazon has a hard cap for salary compensation at ~160k in the Seattle area.

I don't understand - are you saying that Amazon pays nobody in Seattle more than $160k? I can't believe that's true. How are they employing competent senior people for so little? Are they paying their corporate lawyers that low?
> some low-skilled, easily replaceable employee

It's very funny how the 'job creators' weren't able to do anything against coronavirus closing and everyone staying at home. If they're so damn good, why did their stocks crater during the COVID-19 quarantine?
How about testing and writing documentation? The tasks that any developer wants to forget about :D
This is part of why I try to have different OSes/versions on my main PCs.

It's also nice to have the option of booting into a pre-configured USB drive with a persistent Linux environment you know will work because it's a time capsule. [It's the pre-configuring part that's a pain, but it can be worth it; do a dd copy to another identical stick once you've got it tuned up and you always have a failsafe.]
Well, the etymology of the word “black” is traced back to reconstruction in Proto-Germanic “ blakaz” (“burned”), and proto-indo-European “, thought to mean "to burn, gleam, shine, flash".

And these of course are not based on the idea of “race” (which I think is a more recent idea).

But I was talking about the use of the word “black” as a negative thing, such as in “blacklist”.

Etymologyonline.com says “Meaning "fierce, terrible, wicked" is from late 14c. Figurative senses often come from the notion of "without light," moral or spiritual.”

I think this refutes the idea that the metaphorical associations of the word “black” come from associations with race.

You say “nothing to do with”. This phrasing seems open to interpretation. Some might say that everything has “something to do with” everything else. Supposing that you agree that the etymology of the word “black” “has nothing to do with” the idea of being a bad cook, then sure.
AFAIK it's only available through volume licensing, which means you can't buy a single copy (you need around 30 licenses minimum, I believe). However, I've heard stories of people bypassing this limit by buying 1 license for LTSC (~$300), and then 29 CAL licenses (a few dollars each) as a filler.

If you're not particularly concerned about licensing though, just pirate it.
https://learningmusic.ableton.com/
I've personally experienced cases where making a slight change to a query in a non-obvious way resulted in a 10x or more speedup.

My personal favorite is I was generating a query that pulled out a dozen different fields from a large JSONb column. Naturally, you would think Postgres would read the JSONb field once, then pull out the individual fields from it. Instead, Postgres was reading the JSONb column once per each field. I figured out this was the case because the number of blocks read from EXPLAIN (ANALYZE, BUFFERS) went up proportionally to the number of fields I extracted from the JSONb column. Reading the JSONb column was especially expensive because Postgres needed to deTOAST[0] the JSONb column.

The obvious fix is to write a subquery to read the entire JSONb column and then have the outer query extract the individual fields, but that doesn't work! Postgres will inline the subquery, basically undoing your attempt to prevent the unnecessary accesses. In the end, the solution wound up being to add OFFSET 0 to the end of the subquery. That doesn't change the semantics of the query, but it does prevent Postgres from inlining the JSONb column access.

[0] https://malisper.me/postgres-toast/
There are three terms that definitely make a noncompete unenforceable if any one of them is satisfied. If none of them are satisfied, then enforceability would be determined the same as it would have before this new law.

The first term is that it is unenforceable:

• Unless the employer discloses the terms of the covenant in writing to the prospective employee no later than the time of the acceptance of the offer of employment and, if the agreement becomes enforceable only at a later date due to changes in the employee's compensation, the employer specifically discloses that the agreement may be enforceable against the employee in the future

or

• If the covenant is entered into after the commencement of employment, unless the employer provides independent consideration for the covenant.

The second term is that it is unenforceable:

• Unless the employee's earnings from the party seeking enforcement, when annualized, exceed one hundred thousand dollars per year.

The third term is that it is unenforceable:

• If the employee is terminated as the result of a layoff, unless enforcement of the noncompetition covenant includes compensation equivalent to the employee's base salary at the time of termination for the period of enforcement minus compensation earned through subsequent employment during the period of enforcement.

So...if you earn more than $100k, and you were properly notified of it when hired (or paid to accept it if it was added on later), and you are not leaving due to a layoff or they aren't willing to keep paying you while the noncompete runs out, then it might be enforceable.
They are and they do, and this is what you get if your testing and QA plan is limited to that.
Show HN: A picture book written in C code
In this case it would be a pure value-add, because the fallback is the way everyone can evidently cope with anyway.
That's nice of you, and nice of the parent for not taking you up on it, but it could have been someone from the company asking you that.
Are you a trial lawyer with experience in this field, or is this a lay opinion?
I’m writing a unique beginner coding book- it’s a picture book written in the C programming language!

The code consists of simple C programs that represent situations in the story. The illustrations next to the code show the situations. The code is also explained below each program.

The purpose is to help beginners learn core programming concepts and C syntax through a fun illustrated story represented in code. I want to replace the Hello World program and other boring example programs with fun code examples (involving pizza).

I’d appreciate any feedback…thank you!
I don't know much about America's "Space Force", but as I understand it NASA is forbidden by federal law from collaborating with the PRC, which is why the PRC cannot participate in the ISS.
Technology Radar [pdf]
A beautiful illustration of the n-flakes [0].

[0] https://en.wikipedia.org/wiki/N-flake
Lol what? You can easily with to another FAANG from amazon
America's Shadow Democracy
From what I can tell, this is what is supplanting/replacing Google Cloud Print: IPP Everywhere

https://www.pwg.org/ipp/everywhere.html

via

https://support.google.com/chrome/a/answer/7225252
If Google disappeared tomorrow, Brave would continue to exist and would continue to get updates.

Brave does not depend on Google, directly or otherwise. They depend on an open source project called Chromium, which is largely developed by Google, but because it is open source anyone can build off of it.

Brave funds their development through the BAT token and through affiliate marketing, both of which are much better for user privacy and security, and much more resilient to Google than where Mozilla is getting its money.

No, I don't think Apple would integrate thorough ad-blocking by default, just as I don't think Mozilla will do this either. Brave has already done it. Brave's ad-blocker works better by default than any ad-blocker I've used, and I've tried them all.

HN's hate-boner for Brave is very strange. They clearly care more about user privacy than any other browser vendor (except maybe Safari, but again they have a conflict of interest), and it is built on a core that is arguably the best at handling the modern web (Chromium).
Actually there is evidence that these researches hid their ties to China/foreign governments, that's kinda what the article is about. Requiring disclosure of foreign ties is hardly a new or controversial procedure in democracies or dictatorships.

Calling it "racist" is baseless, nonintellectual deflection, as is "well dictatorships do it, so we shouldn't!". Dictatorships also collect taxes and fund their military, should we stop doing those things too?

If you're not part of the 50 cent army you certainly are taking pains to sound like it, because your arguments have ~50 cents of effort behind them.
Why in the world would the author lie to market for you when you weren’t an inspiration?