skysight-inc/HackerNews huggingface dataset:
> You seem to imply that these things just "happen" and that no one is in control or making decisions [...] Tojo and his warmongers sought out conflict in the region, dismissed counsel from wiser heads, and set Japan on a course to ruin [...] Hirohito made a choice to continue to allow the militarist factions in the Japanese government to hold sway.

Uh, no, I did not imply that in the least.

I think you're just on some rant against a strawman view that the Empire of Japan wasn't militaristic or an aggressor nation in Manchuria or Pearl Harbor / WWII.

I didn't suggest anything of the sort, I was merely replying to the narrow question of whether an admiral on Isoroku Yamamoto's staff could be considered irrational for going along with the Pearl Harbor attack.

I don't think that's the case for exactly the reasons you seem to agree with and are arguing for.

What options do you think an admiral who's not in a senior role has in the Empire of Japan at the time when, as you've noted, his boss's-boss's and boss's-boss's-boss's etc. are clearly in favor of that general strategy?

The idea that the Hull note was perceived as a casus belli isn't some fringe conspiracy theory. If you e.g. read the Wikipedia articles involved such as [1] and [2] they cite scholars who agree (and others who disagree) with that view.

1. https://en.wikipedia.org/wiki/Hull_note#Interpretations

2. https://en.wikipedia.org/wiki/Events_leading_to_the_attack_o...
It's more about education and a skeptical but not paranoid and nihilistic mind, than about "rich and powerful". You should be "this tall to ride". In this case, "this tall to broadcast your thoughts to millions of people".
Tried to draw Patrick Starr. Got a horrible, horrible monster [1]. 10/10, will definitely be drawing more.

[1] https://i.imgur.com/yBDW2gd.png
Well the OP said:

> We're seeing the teaming up of governments and giant corporations to control the narrative and tell people what's true and what isn't.

And then he said it's facism. To which I say, no, it's feudalism:

> Feudalism, also known as the feudal system, was a combination of the legal, economic, military, and cultural customs [...]. Broadly defined, it was a way of structuring society around relationships that were derived from the holding of land in exchange for service or labor. [0]

I don't get why people downvote me so much. It's basically a direct answer

[0] - https://en.wikipedia.org/wiki/Feudalism
Workstations are dead. With this kind of CapEx, nobody’s going to be buying N machines with these in them for their entire team, with one card per seat, going mostly unused. They’re going to build a farm of them, or they’re going to rent time on a cluster of them. Either way, that’d make them “server cards”, not “workstation cards.”
So Google Pay is now trying to be a Facebook Relationship Graph?

I like the day of grouping money exchange this way. My current banking app only allows to sort by time. You lose track which whom you most often exchange money, which can lead to better offers.
If merchants mostly pay the fee, how long before companies like Affirm becomes a commodity? (meaning won't the competition drive the fee down?)
Farming consumes most fresh water, not cities.

Upstate New York, along with most of the country, used to be wilderness, sometimes huge forests, and is now farms.

Most farms only exist because they are subsidized. It's a welfare program. Economically and environmentally it makes no sense, farms in upstate New York or Wyoming, when food grows so much better in Illinois and California.

Another good book: An Indigenous People's History of the United States. There were people everywhere when colonists arrived, it isn't even accurate to really call it wilderness.

Anyway, the celebration of the farmer is preposterous, the best thing that could happen to farming is if fewer people farmed, because prices would rise.
That sort of accounting has never worked. Countless internet companies have gone bankrupt because they thought the marginal cost of supporting customers was zero, multiplied that by their customer base and thought that meant their cost base was zero. Turns out that’s not a convincing argument to use to people you owe money to.

A coupe of years after the App Store launched I’m pretty sure one of Apples execs said it cost over a $billion a year to operate. That will only have gone up since then.
SQL Mindset for Programmers
I became much better in Sql over the recent two weeks. I learned a few important things that just blocked me from being able to write Sql before.

The main thing I needed to change mindset from programming in java style my brain just couldn't fit the Sql mindset.

Specifically:

1. Think of new columns as variables.

2. Think of new tables as variables.

3. Think of Sql as functions take some input transform put output in a new column (variable) or new table. And less like a magical big bulk of Sql to pull many data many tables join and output, no, split to functions, to smaller Sql just like functions.

4. When writing Sql try to think first as a sequence of functions, doThis, doThat, doThis, then transform each of them to a small Sql query, each result is in a new column, or a new table.

With the above steps I can start thinking about how to write Sql that I need, before getting the above concept I had a block, I just could not get how to approach Sql.
Well, my comment is against the against the grain (rusophobia is trendy in the contemporary world even among Russians). Also, it's a bit muddy. I said that government has nothing to do with censorship, but I contradict myself.

Although censorship in the US is some kind of internal struggle between parties that is hard to understand for an outsider like me, but promotion of rusophobia in social networks and YouTube is probably endorsed by US government. I doubt that ordinary engineers and managers at Facebook really care so much about Russia to boost rusophobic articles in the feed.
In the early 20th century, British children's educator Charlotte Mason emphasized the importance of air quality, outside air, and frequently changing one's inside air:

"Unchanged Air.––Parents of pale faced town children, think of these things! The gutter children who feed on the pickings of the streets are better off (and healthier looking) in this one respect than your cherished darlings, because they have more of the first essential of life––air. There is some circulation of air even in the slums of the city, and the child who spends its days in the streets is better supplied with oxygen than he who spends most of his hours in the unchanged air of a spacious apartment. But it is not the air of the streets the children want. It is the delicious life-giving air of the country. The outlay of the children in living is enormously in excess of the outlay of the adult. The endless activity of the child, while it develops muscle, is kept up at the expense of very great waste of tissue. It is the blood which carries material for the reparation of this loss. The child must grow, every part of him, and it is the blood which brings material for the building up new tissues. Again, we know the brain is, out of all proportion to its size, the great consumer of the blood supply, but the brain of the child, what with its eager activity, what with its twofold growth, is insatiable in its demands!" (Charlotte Mason, "Home Education, p. 31. Availible online,
https://www.amblesideonline.org/CM/vol1complete.html#031)
Don't self-signed apps expire after a week? You'd need to distribute a new build every week for people to continue to use your app. That's not a major hassle if you're just using your own code, but if you want to distribute something to other people it quickly becomes very problematic.
Fear of unintended long term consequences which can't be undone.
Yet another case of the NSA spying to give american companies an unfair advantage. Last time i checked, that wasn't their official mission.
It would be more interesting if in general it was impossible to downvote (any comment) without providing a reason.
Quick summary: Gilad Bracha introduces a new programming language called ShapeRank. It seems to be based on APL but introduces the concept of streams which are [vectors | tensors | arrays] of unbounded length.
It's not rude. The guy is just curious.
GraphQL Working Draft Prerelease Wed, Nov 18, 2020
No.if I understand correctly, Apples own article says that you pay 15% if eligible, and when you cross 1million, you pay 30% for the remainder of the year, ie no back payments.

That would be dangerous, because imagine being under 1million all year, and in December you make 1 dollar too much - suddenly you would have to pay Apple a lot of money you may have already spent. You never pay Apple though, they just keep their cut.
Good and compelling games do not even make my top100 when thinking about dystopia. Or is this some kind of "amusing ourselves to death while the world burns around us" comment?
Denmark is somewhat more reliant on the US than the average European country because of Greenland. Eastern countries like Poland are similarly beholden to NATO because Russia is an immediate threat for them. Everyone else is basically just lazy: relying on the Americans saves us a lot of money and effort that European public opinion is unwilling to spend. This allows e.g. France to play “Africa’s cop” to prop up their own economy and influence.

This laziness will probably bite us in the ass at some point. Trump was the first but won’t be the last US president pushing for disengagement from the Old World. You cannot build a superpower-sized army in a few months, and direct threats are only increasing (as well as Russia we now have Turkey, Lybia, Egypt, Algeria, Serbia - they could all go rogue at short notice and literally start firing shots at the continent).
If robinhood is a merchant, I would love to buy affirm through affirm.
Would only work if the network in question has solved the Sybil[1] identity problem, which is clearly not the case in any network today.

[1]: https://en.wikipedia.org/wiki/Sybil_attack
I think that geometric algebra makes describing rotations quite easy - pick two vectors in the plane you want to rotate, at a suitable angle you desire to rotate through - but makes computing them more difficult. In dimensions higher than 2, its always better (in terms of number of multiplications and additions) to use the GA rotor to generate a matrix which applies the rotation. This is the same way that one would use quaternions to track the orientation of an object in a scene, but when the pedal hits the metal you want your graphics card to be doing matrix-vector multiplications to rotate, not quaternion conjugations.

GA also makes proving properties about reflections and rotations quite nice, but that’s not usually useful for actual computation (except in a learning environment).
First of all this, but even in the very definition of feudalism it's feudalism:

> Feudalism, also known as the feudal system, was a combination of the legal, economic, military, and cultural customs [...]. Broadly defined, it was a way of structuring society around relationships that were derived from the holding of land in exchange for service or labor. [0]

Don't really get all the downvotes. I could extend more on it, and explain my reasoning, but I feel like HN is too caught in this "tech moguls are saviors" and even if they weren't and they wouldn't be where they are, somebody else would be a bad actor.

[0] - https://en.wikipedia.org/wiki/Feudalism
In the future GANs will replace all of human creativity so much so that humans will spend all of their creative outlets on training GANs and using GANs to do the creation for them.
The problem isn't the spying, it's their duty after all. The problem is the suspected strong arming that may or may not have occurred behind the scenes.

I remember a Dutch politician that was vehemently opposed to the F35 that died in mysterious circumstances. I would normally put this on coincidences but when the stakes are that high I won't go for Ockham razor first.
Topalias: Open-source Python utility: aliases generator from shell history
The tasks that the program solves:

* Parse the ~ / .bash_aliases, ~/.bash_history, ~/.zsh_history files with the history of command execution in the Linux terminal in the Bash/Zsh shell
* Suggest short abbreviations (acronyms) for long, long-typed and difficult to remember, but frequently used commands (although you might not even guess about this)
* Display some statistics
* Process control parameters

Install and run:
pip install topalias
python -m topalias

Any feedback will be welcome :)

If someone is interested project structure, please write. I make actually template for new Python projects with CI/CD (GitHub Actions, GitLab CI, Travis, git pre-commit hooks), lintered "fish" out of the box with documentation and you can run project as package/module/script. Some about project development: https://github.com/CSRedRat/topalias/wiki/Development
Isn’t battery a consumable and thus not covered by warranty by default? (Unless it has a manufacturing defect)
Actually the negative leap second is "more monotonic" than the regular one. Normally a leap second adds an extra second (58, 59, 60, 00), but a negative leap second skips one (58, 00).

Uniquely specifying the four times in the first sequence as UNIX timestamps isn't strictly possible, but it is possible with negative leap seconds.
> There are benefits to having a closed ecosystem

Which is why it is good that we simulate competition using legal battles against Apple, since otherwise they have no reason to improve things. Apple wouldn't had reduced their rates like this if not for Epic pressuring them, so the lawsuit against Apple made the world a better place since now Apple is a bit less rent seeking than before.
You're doing something wrong then. I'm using tailwind on an absolutely massive project and I have 4 lines of CSS.

What you need to do is heavily use the `extends` property of your tailwind.config.js so it applies the paddings and margins you seek to ALL properties.
The battery isn't good for the entire warranty term. Sure it's bad. Apple decided to lie to users about this, and that just happened to encourage expensive iPhone sales, rather than a cheap battery replacement.

I sure hope Apple isn't taking your approach to HW reliability across the board. After all, memory and disk eventually go bad too.
Not sure about Vue, but in React the simplest thing you could do is to use ReactDOMServer.renderToStaticMarkup(). You can develop your whole "app" in React and then create a JS-less HTML output. There's also Charge [1], a React static site generator with no client-side JavaScript.

[1] https://github.com/brandonweiss/charge
Last I tried, it was a bit tricky to set up but there are instructions for setting up an emulator here: https://developer.puri.sm/Librem5/Development_Environment/Bo...
EU and US block protections for nearly extinct shark
Timing it right Linux Servers
The problem is that, for many topics, there just isn't a reliable source to go to. Sure, if you want information on scientific topics, you have very good options - go to one of the celebrated journals and read some papers, or at least the press releases from those same journals. When it comes to current domestic affairs (has there been massive election fraud in the US? is ANTIFA terrorizing the US?) then the mainstream media is a trustworthy source.

However, if you want to know about the effects of NAFTA, or US policy on Venezuela and how useful it is, or Russian involvement in the US elections, or trickle-down economics, or the benefits of a stimulus package etc, then the NYT, the Economist, and Breitbart are about as likely to give you a trust-worthy picture. So where can you look to, as an average citizen without time to conduct your own research on each topic you potentially care about? I don't think there is any good answer.

Society absolutely needs a new independent, small-scale, un-elitist media. "Factory journals" and such - small organizations that are not owned by any powers that be, where a few people can spend the time to digest other sources and try to come up with a more accurate picture. Not multi-million dollar ad-based industrial media (NYT), and not activist propagandist media (Breitbart) - that is always going to be far too heavily biased to have any hope of being a trust-worthy source of information on most topics that they can feasibly ignore.

And in case you don't believe me that most US media is a horrible source of information on the outside world, please find one single article on the biggest worker's strike in world history, that happened in January of this year in India.

Edit: to be clear: I'm not in any way claiming that Breitbart is a credible news organization to any extent similar to the NYT or Economist. Breitbart are a disgusting organization whose aim is misinformation, and lying comes naturally to them; the NYT and Economist and others like them do have journalistic practices and actually care about the truth, and are excellent sources for some kinds of news - they just have massive biases in certain other areas, especially on foreign and economic policy, where they are not trustworthy, but even then I wouldn't expect outright lies.
Apple loves developers

Apple loves money, and realises that without developers they won't make as much. A subtle but important difference.
That most mutations are useless is a feature, not a bug. Changes that neither hurt nor benefit are a major stepping stone to adaptions. You can have hair that looks more and more like feathers without hurting its performance as an insulator. You can have a spine with a few more or a couple fewer vertebrae without having a use for a tail or super flexibility. Phenotypic diversity is how populations adapt.
Cool

Are they getting competitive results?
Agreed, this could have been briefly mentioned.
As someone that enjoyed the gardens of 8 and 16 bit computing, the accident was interesting, but I still would rather that Amiga and Atari gardens would have won over the PC.
On the podcast he brought up Craigslist. It is still a huge marketplace with extremely minimal ads and still one of the biggest local marketplaces.
I love that he does the thermal performance, a 5 C drop on idle temperature is exactly what I was hoping for. The previous gen intels were toasters.
Here is a post comparing the specs of Librem 5 and PinePhone:
https://forums.puri.sm/t/comparing-specs-of-upcoming-linux-p...
(with a link to a comparison of 12 phones).

Most notably, Librem 5 does not have a GPU designed in 2008, DDR4 Ram and likely has a faster eMMC, which is not too fast on the PinePhone either. However, the main issue with the PinePhone imho is that it does not have a larger battery that would help avoiding all the daily problems with deep sleep.

I am going to compare the two phones once I receive my October 2017 Librem 5 preorder on my blog (https://linmob.net) and my video channels.
> Steelmanning is realizing that you can write data oriented code in OOP projects.

It's going to be arguing about names and definition, but I can't accept that it's OOP, when that put qualifiers on all "4 tenets of OOP", etc. Something like:

- Abstraction(*)
- Encapsulation(*)
- Inheritance(*)
- Polymorphism(*)

(*) where useful, when necessary, but ... generally avoid.

If someone could tell me which book is "The BEST OOP out there, then I would be happy to read it and then argue with it" :D
Not really. It's hard in the "NP hard" sense, not the "calculus is hard" sense. We don't have answers and there probably aren't any.

The best you can do is cross-reference everything you know, take into account the degree to which you can verify each thing independently, and try and come up with some correlations between different sources to establish a web of credibility.

Unfortunately, experience has shown that regular humans just don't do this.
Covid Diary: Failure of Government
Don’t see anyone mention this here but it’s worth noting this company is a YC company
If you look past the propaganda, basically there are a bunch of countries in the world. One would assume that Russia/North Korea/China/the UK/Kazakhstan/Somalia etc want to invade other places about as much as America does.

So if you look at America's record for foreign 'Peacekeeping' it seems prudent to keep a sizeable army on hand to defend against the Russians. Places with strong armies invade places that aren't protected by strong armies.
> you embed that content moderator/salesperson/end user into your team

I did just that on my last project and it was great. Another team was developing a similar product, but they didn't have an 'in house real user' so theirs was much harder to use.
In 2014, I have written a just for fun plugin in about 2 hours (check out my write-up [1]). I've followed the "How to make an IntelliJ IDEA plugin in less than 30 minutes" [2] guide back then. Unfortunately, this guide seems to be outdated, but now there's an official guide [3].

[1] https://darekkay.com/blog/what-the-commit-plugin-for-intelli...

[2] https://www.cnblogs.com/meetrice/p/5184827.html

[3] https://jetbrains.org/intellij/sdk/docs/basics/getting_start...
You're on HN so you're probably aware of the costs and difficulty involved in staffing an organization large enough to tackle these issues in an effective time frame.

Nvidia has quite a head start. You're not just talking about some simple driver support either. You're talking about runtime compilation/JIT(to target various flavors of HW), tooling support, library optimizations, API stability and maintenance... AMD can catch up, but unless they come up with a new approach it's going to take a long time and a lot of smart people to do so.
Could you add a page with the list or a section on the site with the list?
If you think "commercial grade ML" means only big models, that's the wrong way to think already.

You don't have to throw the biggest model you can at any problem you have.
I have to agree. The illusion of gatekeeping is far worse than a complete absence of it.
Cool. So what happens when they change the APIs on that randomly? Ugh. Currently suffering from Google Drive pain.
This makes me wonder how Spotify continues to have dreadful search.
I'd bet a pretty significant number of current mobile apps would do just fine as PWAs, rendering this whole kerfuffle moot.

More developers should be pushing for improvements in web tech rather than just accepting whatever Apple decrees.
Very cool!
Is there some way to tell from the outside whether or not the LIDAR is rotating?
Is HIP continually evolving ala CUDA? For instance, every new version of CUDA seems to jam in new features to get things to launch faster, use less memory, be easier to use, etc.
German Chancellor Angela Merkel on Tuesday called for creating a European Union army, stressing that Europeans can no longer merely rely on the U.S. for their security.

It will never happen. There has been - on paper - a Franco-German brigade for decades, it’s never deployed anywhere. Meanwhile supposed arch-rivals UK and France have been doing joint operations all over the place and this is only set to increase.

Besides it was all triggered by Trump saying some NATO countries were failing to meet their commitments, and no one knows what Biden thinks about it
It can take me weeks if not months to fully comprehend a new paper. One paper will require that I look up a lot of new terms, watch a lot of videos explaining the terms and repeating the process for the cited references. It sounds like you need more structure so I would suggest you take notes, set goals, organize your materials and schedule time for focusing on particular topics, tasks or techniques.
Trouble reinstalling macOS (Don't erase your disk)
It's mentioned in the linked paper at the top of page 7. You must have missed it. Or perhaps you didn't read it completely ;-)