skysight-inc/HackerNews huggingface dataset:
I am going to be hated and downvoted for that but let's go...

Bazel, like Bucks and other, try to bring on table a build system / deployment system that is multi-language, multi-platform and developer oriented. A holy Graal that many developer ( like me ) looked for decade and that many (large) organizations more or less tried to do one day (and most failed)

It is a good idea. It is a required tool to improve productivity. However, if the idea is good on paper, in the implementation, Bazel is damn wrong.

- Bazel is centered around "mono-repo" culture, making it much harder to integrated with multi-source, multi-repo, multi-version projects like many of us have. If I have no doubt that it is great at Google, the external world is not google.

- Bazel is made in JAVA, requires the JVM and this is a problem. That make Bazel not a "light" tool easy to deploy in a fresh VM or in a container.

- Bazel mix the concepts Build System ( like Make, ant, co ) and Deployment System like ( rpm, pkgsrc, etc). That makes Bazel pretty hard to integrate with projects that have existing build system, and almost impossible to integrate INSIDE an other Deployment System (usual package manager, deployment pipeline). The problem that Bazel faces with some languages ( python, go ) is a cause of that.

- Bazel venerates and follows the cult of "DO NOT INSTALL": compile and execute in workspace, there is no "make install", not installation phase. If "convenient" in mono-repo, this is often a nightmare because the boundary between components can be easily violated... and you finish by having many project that use internal headers or interface.

- Bazel makes mandatory ( almost ) to have internet to compile. This is a problem, a major problem in many organization (like mine) where downloading random source and binary from the Web is not acceptable for security reasons. Try to run Bazel in a sandbox.... and cry.

- Related to what I said before, Bazel mixes Build system and Deployment system. Doing so, it makes the same mistake that many "language specific" package manager and make uselessly hard to depend on an already installed, local library / component.

- And finally, last but not least... The options.... Bazel throw away 30 years of conventions / naming from the ( GNU / BSD world ) to create its own.... That make the learning curve difficult... Specially with a (up to recently) very sparse and outdated documentation.

I have no doubt that inside Google or Facebook, Bazel or Bucks are amazing.But they have been released too late for the external world in my mind.

Nowadays platform independant package managers like spack (https://github.com/spack/spack), Nix (https://nixos.org/nix/), GUIX (http://guix.gnu.org/) gives 95% of the advantages of Bazel without the pains of it.
OP literally said he gets rundown and depressed by his healthy eating strategy.

He needs to learn to cook more things.
I'm not dismissing anything, I think you made a lot of assumptions based on me dropping a link. The post I responded to indicated that this issue has gotten much worse with the current administration, which isn't true. I think if we're going to fix the issue, we need to be honest about the issue.
It's not an absolute, but a contextual thing. For a clean build, on a single machine, under normal circumstances, gradle will often outperform bazel, because bazel pays a cost for isolation, parallelism infrastructure, and trying to max out your machine. OTOH, the abi-based compilation-avoidance, higher sensitivity to caching opportunities, and parallelism can make incremental builds much much faster on Bazel. Add in test-result-caching for non-flaky tests, and it's really a solid win for builds that don't invalidate most of the build graph.

So it depends on (a) the shape of your graph, and (b) the nature of the change being built (e.g., does it invalidate a core library and all its downstream, or is it close to the app?).

The other thing is remote build execution - the high focus on hermetic builds and parallelism makes building on a cluster of build workers extremely powerful, reducing build times, reducing load on developer machines, etc. And there are out-of-the-box solutions, initially from google on GCP to let you do this yourself.

So... is bazel faster? Hell yeah, in some situations. Kinda in others. Not in some others. You need to think through what your development model is, your scale, how you construct (or want to construct) your build graphs, isolation of components, etc.
"Think of her comfort!" is the lonely childless Bay Area man's version of "Think of the children!"
One of the biggest issues is that the long term capital gains rate is only 15% (or perhaps 20% in some cases). It's likely that most of the taxed income of people with high net worth is from capital gains, and not from ordinary income. I'm not sure, but I think he's only talking about people with high ordinary income. He could be including capital gains too. Not sure. He's definitely ignoring high net worth.

The author does not directly address the low rate for capital gains.

Also, there are two ideas which are easily confused:
1) Do the rich pay more in taxes? Yes. The number of dollars Warren Buffet pays in taxes each year is more than his secratary.
2) Do the rich pay taxes at a higher percentage of their income? This article indicates the answer to this question is also yes. However because capital gains are taxed at such a low rate, and because of other loopholes, Warren Buffet's percentage tax rate is lower than his secretary's percentage tax rate.

Also, people with a high net worth do not have to sell stocks which have gained every single year. Maybe they sold some stocks a few years ago, and they are spending the cash. In the author's analysis, a high net worth individual with no ordinary income and no capital gains for this year would not be included in this analysis at all, because they had almost no income last year (probabaly a little interest and dividends, but nothing else).
Er what?

The Soviet Union still existed in the mid 20th century. The United States was not the sole superpower and Americans lived under the threat of a mushroom cloud.

Socially down the toilet now? How exactly?

I can’t think of a single way life for the average American is worse in this century than it was in the 1960s.
Download Custom Slack Emojis
Duck Duck Go? Really?
Sorry for the confusion, I am asking from the employee perspective, i.e., would you want to work 4 days a week or do you like 5 days?

I've talked to some people who are in a period of their life where they wouldn't want to know what to fill it with and like being at work 5 days a week.
They were the original NeXTSTEP people. Most of them have probably retired, rightfully, but to detrimental effect to macOS...
People really hate to acknowledge that working for most corporations, especially big public tech giants, is not them being welcomed in to change the world and blaze trails but to write code for their boss.
Yeah, this is a big reason why I read hacker news. Laptop started bugging me about Catalina and after reading this article I changed my thought process from, “I guess I’ll do that this weekend” to, “I guess I am going to disable automatic updates in every way I can.”
not on the inside, but you can estimate air pollution levels by amount of lichen growth (if it isn't power-washed away, at least)
Both are correct: This original UTF-8 encoding can encode values up to 2^32. But because UTF-16 encoding limits possible values to 16 planes of 64K values, unicode has a hard limit of 2^20 codepoints.

This means UTF-8 encoded values of more than 4 bytes can never represent a valid unicode codepoint even if they produce a valid 32 bit numerical value.
> the app was being used maliciously to target individual officers for violence

How?
Of course, the real root cause of many subsequent troubles and years of war is that there was no reason to attack, even less invade, either Iraq or Afghanistan after 9/11. GWB just had to do something to show that he protects Americans and retaliates against enemies. So, he did that. And it was a big mistake on many levels.
Ask HN: Anyone here knows good liunx Tablet or Photo frame?
I want to build my own "smart display". But I do not want to use Android (because I do not want to learn a new set of tools). I want to use linux and its tools for programming.

Does anyone here know of a good linux based Tablet or a photo frame that can be modded/hacked for my purposes.
The brightness issue is pretty big at night. Some people get headaches from headlights and other bright lights at night. I don't see a bunch of glowing displays working for them.
I remember getting the Samsung S8 when it first came out. I left my charger at home and was at a conference all day. I called every computer store around and nobody had a cable.

I would say USB-C has come into its own when every corner store or uber car has a usb-c charging cable standard.
Sorry, but, that is bollocks. How is it useless?
Many "cube"s, whatever they are
> battery life isn’t quite as good

powertop --auto-tune is a good first start in my experience.
mini USB: octobrer 2000 to january 2007 (6 years, 3 months)

micro USB: january 2007 to august 2014 (7 years, 7 months)

USB-C: august 2014 - ? (5+ years)

I hope we keep increasing the lifespan of the "suggested" mobile-device USB form factor, to increase convenience and (slightly) reduce environmental impact.
Seems crazy to hire the best engineers and pay them top dollar only to put a bunch of organizational barriers in the way they have to try and navigate if they want to get anything done.
I just found sweet potato and chestnut flavored versions on Amazon.
I talk about Jax in the article. It's very cool, especially if you need higher order derivatives. However, it's not meant to be a full neural network library, and unless Google invests significantly into it, it won't take off significantly imo.
I personally dislike them for two reasons. The first is that they are inherently subjective; it assigns a motive to another person's actions, which the author almost certainly doesn't know. Maybe the motivations were sexist, maybe not.

The second is that those terms are untouchable in a sense. I skimmed it a bit and couldn't find anything more specific than using those terms. Unfortunately, that's generally acceptable today because questioning whether those terms actually apply gets an immediate response claiming that you are victim blaming. It cheapens the discourse to me, because the central premise of the article is held as unquestionable.

Then again, perhaps this category of writing just isn't for me. I don't disagree that her feelings are salient to her experience; but my interest isn't really in her experiences, it's in the knowledge that we can derive from her experiences. I.e. can her experiences reveal some insight into sexism amongst tech companies, or how victims are treated? However without a basis in objective facts, I fear there's not much knowledge to derive beyond her experiences in and of themselves.
Interesting question. Air is wntrained in microscopic (or larger) cavities. I would think the answer, as with anything, is "it depends". It depends on the permeability of the particular concrete recipe and on a related note - the thickness of the sample, how much air was entrained during production, as well as the environmental conditions it's been exposed to (e.g. submerged underground, underwater, or subjected to temperature fluctuations). For the latter, I know that air voids can fill with water as entrained water expands, which actually aids the self-healing properties of concrete, but I have no idea if the air is compressed or dissolved (in the waster) or displaced out of the concrete.

You may want to reach out to Dr. Tyler Let - a prof. with an surprisingly addictive youtube channel [1] about concrete (yes, I know, but I feel I'm in good company on HN).

Also, your question reminded me of an old article I read about researchers analysing air from exumed lead coffins which were air tight. This isn't that story [2], but it's similar.

1. https://en.m.wikipedia.org/wiki/Mudskipper

2. (PDF) https://www.google.com/url?sa=t&source=web&rct=j&url=https:/...
Where is he failing on this? I hate Trump, but even a faulty clock is right 2 times a day.

You do know what dumping means right? It's not inexpensive consumer goods ( which the Chinese have also benefitted from). It's about destroying foreign markets/industries by a state-sponsored pricing policy.

Oh yeah. And dumping policies actually costs domestic jobs. So counter-measures are appropriate.

And since this article you are commenting on, is a measure against dumping, it is not meaningless and a perfect explanation for your question: "What do you mean by "Chinese dumping"?

Oh boy... The reason why you are using a throwaway account is pretty obvious.

I hope you're getting paid for this.
For the Communist Party, it's not about HK, at least not exclusively. It's about everybody else in their sphere of influence, including Taiwan, who will be emboldened if HK prevails.

HK is basically an exercise in calling Xi's bluff. Everyone will now see his cards, whatever they are. The residents of HK have judged that now is the time to do that, for better or worse, and they deserve our support.
Ask HN: Why is Groovy rising in popularity?
In October 2017, Groovy wasn't even in the TIOBE top 50. Last October, Groovy was at #28. It was #16 in March, and it is #11 now. What is driving its dramatic rise in the rankings?

As far as I can tell, Groovy is used mostly as a scripting DSL in Gradle (build management for Java projects) and Jenkins (CI/CD). Neither of these use cases is new. Moreover, since v5.0, released in November of last year, Gradle has started offering Kotlin as a DSL option. Other Groovy projects (Grails, etc.) are barely worth mentioning.

What's behind Groovy's recent rapid growth?
While water attracts everything around it and holds it nearby when frozen, I don't believe concrete has similar characteristics. More knowledgeable HNers will have a more thorough comments, I'm sure.
*entrained
The Ticket
> I've never had an Android phone I couldn't unlock and flash. From the original Evo to Pixel 2.

Until you stray away from a handful of manufacturers that are nice enough to let you do this.

> I can't even download an mp3 on Safari or Chrome.

Safari has a download manager in iOS 13.
Except that I can not open "Windows Search settings", since it crashes after loading a few seconds. And all the other shit. It might not be as bad as this Mac update, I don't feel confident doing a comparison. But certainly take issue with "Windows is in a really good place at the moment"
I main Linux on virtually every one of my computers, and I love it. I wouldn't switch off Linux if you paid me. But this complaint is spot on. It drives me crazy that we still don't have good support for higher resolutions.

And there's nobody else to blame for that -- we've known for ages that 4K and fractional scaling was going to be a thing, just like we've known for ages that touchscreens were going to be a thing.

But nope, let's just measure everything in pixels. It's like the majority of native developers on Linux all looked at responsive design on the web and thought, "I'm pretty sure that's just a fad." Everybody just dug in their heels almost on principle or something and refused to make it a priority, and now we're behind both Windows and Mac when it comes to high-resolution touch devices.

And I still run into people who argue that what we should just scale the physical size of a pixel for the entire desktop by a percentage, just so we can keep building fixed layouts that absolute position all of their elements. At a certain point, it feels more like a cultural problem than a technical one.

Everybody else is doing responsive design. QT already supports `em` units (well, sort of[0]). We could be using them on Linux.

[0]: https://doc.qt.io/qt-5/stylesheet-reference.html#length
And in fact ISIS actually specifically targeted many of those sites either for plundering for artifacts to sell to fund their operations, or for demolition. It really is a shame, some of the sites are thousands of years old... gone in an instant.
Being a little slower to release allows you to learn from other's mistakes. Python tends to follow this philosophy when adopting language features, they're usually not the first to introduce something, but when they do introduce it it tends to be very polished. For long term maintainability, and adoption this matters tremendously.
Ask HN: Is anyone using spaced repetition with LeetCode?
I started using LeetCode a couple of months ago to prepare for my upcoming university internships and I found myself using Trello or similar apps in order to organize my learning.

Eventually, I made a chrome extension for reviewing old LeetCode questions using spaced repetition. The goal is, of course, not memorizing the question but rather making sure that the question's pattern "sticks" in my memory.

So I'm wondering if any of you have used this method while preparing for interviews and whether you found it helpful or not.
Most of the stuff that ships on the average Android device is closed-source and written by Google.
UDFs are throttled, so to get max perf out of BQ one would need to make sure it was pure sql.
Iraq? Perhaps not. But Afghanistan was sheltering Osama Bin Laden, and would not hand him over (or even expel him). Leaving him free to operate after 9/11 did not look like a good option.
Fengcai is the app your original article talked about, which the police install when you enter Xinjiang. It does not try to get root access.

MFsocket is a separate app that has both an iPhone and Android version that police in Beijing use that does attempt to gain root on both platforms. It is unlikely to actually get root on an Android phone that a technologist would use.
I will try to do the same tomorrow.
Ok so now I am curious if it could be done in other engines Cassandra,SPARQL ...
Terraform Plugin SDK, a Go Module for Developing Terraform Providers
Until you get new hardware and have to do the whole dance again.

Now that I'm older, it's just a waste of time.
har har Godwins law and all that, but this comparison is pertinent

The Nazi's didn't seek to destroy Civilization (at least not in the sense that a Primitivist would), but they absolutely affirmed the ideology of "we should not protect the weak" [1] while attempting to preserve some form of "Civilized Society".

[1] https://en.wikipedia.org/wiki/Aktion_T4
Dunno if it was a link when you looked, but "Nature Physics" in the third paragraph links directly to the paper and bypasses the Nature paywall with some sort of referer link.

[0]: https://www.nature.com/articles/s41567-019-0663-9
I was thinking on this the other day, and I think what ultimately boils down to is this: there’s no “why” anymore at Apple.

Go back and watch old keynotes with Steve. Almost always, whenever he’s talking about a new feature or piece of hardware, he starts with the “why.” Not everyone will agree with the “why,” of course, but it’s still given.

Why do we want to get rid of the CD drive on MacBook Airs? (We see OTA software updates and media downloads as the way of the future and it wastes space.)

Why do we want to migrate from PowerPC to Intel? (We need better performance-per-watt so we can build MacBooks that have better battery life and don’t overheat.)

Why do we want to not have a physical keyboard on the iPhone? (Because the buttons and controls can’t self-specialize for each application.)

There are obviously exceptions to this rule, but by and large it’s fairly accurate. Now, watch the most recent keynotes. Has there been even a single second dedicated to WHY we need Apple TV+? Apple News+? Apple Arcade? Thinner keyboard mechanisms?

No, and it’s because we all know what the answer is.
> legitimate researchers go to extensive lengths to demonstrate that the procedure they did did what they said they thought it was going to do and then it didn't have side effects. none of the self biohackers have done that.

I trust you (haven't checked biohackers much myself), but as with any field of knowledge/research, the opposition you suggest has nothing to do with credentials and everything to do with intellectual honesty, integrity of the researcher.

I mean, let's take programming since it's HN. Say you compare two programs. You could follow the scientific method (hypothesis -> experiment(s) -> conclusion -> new hypothesis -> etc) like any decent engineer or scientist would... or you could just randomly "feel" which is better "in your opinion" — basically being a charlatan with your own topic.

Unless you're doing marketing, you should be selfishly attracted to the truth — which is really better / faster / etc — because you need the tool for yourself, not to sell it to someone else. I'll never understand charlatanism in research, I won't; but even toy benchmarks for lulz or journaling can be made scientific, easily. It's just a logical framework, which I'd think any self-proclaimed 'reasearcher' knows in and out...

This is isn't to say that you can control all variables in real-world experiments — biological and social research are the hardest in that regard. Sometimes you gotta take a leap because you won't ever be able to "prove" anything beforehand, it's only retrospectively in statistics that you'll know (at the level of metastudies). We've taken many such a bets with public health, family health, our own; whenever the `estimated risks / perceived benefit` ratio makes sense.

I do agree it's wrong to categorize beyond these facts, e.g. credentials of the author of a good idea, or lack of "proof" thereof, have little to no meaning historically — can't stop an idea/solution whose time has come. I mean, Js is the most popular language with Python, let that sink in for a minute. (lol)
That first graph is super-confusing. The Y axis says "Percentage of unique mentions" but it only goes up to 0.7%? Was it meant to be "Fraction of unique mentions".

And then the title is "PyTorch vs Tensorflow", but it never says whether the Y axis is unique mentions of PyTorch or Tensorflow? From the context I guess PyTorch, but come on!

The Y axis should be "Fraction mentioning PyTorch", and the title should be "Papers that only mention PyTorch or Tensorflow" (assuming I have understood this correctly).

Shame it was labelled so badly because it's an amazing graph otherwise!
I know what you mean, the appeal of this total dedication. For myself, I've come to the conclusion that I could not do it for long, not as long as I'd have to. I think for those types like Jobs, Musk, it wasn't even a conscious choice they made to put all they had into their work, they are/were just driven. You'd know it if you were, too. They could never have done a four-day work week with zero overtime, it was never an option for them. So, enjoy your life as it is, this is yours, theirs is different, and don't think you're missing out on anything.
In my small SUV, looking out the rear window at night is useless -- literally nothing you want to see is illuminated with the rear lights in a way that's visible out the rear window.

With the camera, on the other hand, the view is great.
Same, it worked perfectly first try for me.
install linux on the MBA? Its kept my 2011 13" alive and kicking
Given that they also sent a claim regarding a map feature on the .com site that wasn't provided by that site, I'm not sure if any of the claims they throw at ISPs (DMCA or not) are even legit.

The main issue is that the "free" team can't counter-claim without losing anonymity, so as far as bogus DMCA claims go, they're quite powerless.

That's why I went for the WIPO dispute, which is based on their trademark and IMHO has the most leg to stand on, instead of relying on the unwillingness of the counterparty (whatfreewords) to defend themselves.