jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
> How did they conquer without leaving a standing army? If they were so brutal then those left behind would revolt, eventually.

Terror does wonders for obedience. Revolt all you want. We'll be here next summer. You better have the tribute ready, or we'll kill everyone.
I just spent an hour going through Nim related webpages by users who write in it. This is a good find, thanks.
Quoting maxerickson from below: https://news.ycombinator.com/item?id=8810250

This is not talking about Chrome's NativeClient.
What you're talking about is a problem of the political culture (that takes centuries to establish) and of the legitimacy of the core institutions and of the political system (democracy).

I don't see how a revolution instead of a peaceful transition would help in any sense.
I don't believe the second one works. Usually you'd define a method using:

def some_method
# do something
end

Usually you'll only use do after a method that's already defined, in order to pass a block of code to it.
Many people who don't know dogs think of crates as doggy jails-far from it. Our dog loved her crate; it was a nice, secure area where she could retreat when she was scared or overwhelmed, or when she just wanted a peaceful nap. We taught our kids that when she was in the crate, they had to absolutely ignore her and leave her totally alone.

Yes, we used the crate in order to speed up her housebreaking (working with her natural instincts), but she would also regularly use her crate (with the door open) on her own. Now, we've built her a little pseudo crate with a dog bed under a high-legged dresser. She goes there in any big thunderstorm still and will sometimes sleep there when the house is full of visitors.

I'm in favor of controlling dogs with appropriate use of crates/kennels, leashes, and fences. OTOH, I've never hit my kids, not because I think it's inherently wrong, but because I think it's a terribly slippery slope, especially given the inherent stresses in raising an infant through toddler.

My parents and my (private Christian K-5) school both used corporal punishment on me, and I have to say that I don't feel harmed nor scarred/scared by it. Looking back on the few instances that I specifically recall, it was done with positive intent and was basically effective.

I'm uncertain as to whether it's inherently wrong categorically, or whether it's just wrongly used by lazy parents in >99% of the instances. (There's no doubt that it has an immediate effect. A parent could be quite easily tempted to use that shortcut in an almost addictive fashion.)
Nigeria also fits that description. It's right on the equator, meaning there's very little seasonal variation in solar. This is in contrast to all of Europe, especially northern Europe like the UK and Germany.
Alexa is one way. TheDonald is the 419th most popular website in America for example.

https://www.alexa.com/siteinfo/thedonald.win
I really enjoy Codenames because it’s a word-meanings game instead of a word-spellings game.
`cat` will begin output immediately. `tac` buffers the entire input in order to reverse the line order before printing it. Piping through tac ensures EOF is reached, while piping through tac a second time puts the lines back in order
What if I never had facebook? Does the baby exist? Should I GET facebook now?
>Critics have criticized the idea of a "culture fit," arguing it sidelines people of color

Is there any room left in our society to acknowledge cultural clash? It feels like I'm being gaslit when the imperative is to "celebrate diversity" and simultaneously deny that positive differences between cultures mathematically implies negative differences, which among other things can hinder cooperation.
To be clear, we want to get the coins into the hands of users so they can buy things with them. Doing so in a legally compliant fashion is non-trivial. Looking at what happened with key base and stellar, a simple airdrop to users of the system doesn’t necessarily result in utilization or economic development.

There are multiple different things to consider here: 1) regulatory, 2) economic system design, 3) usability, and 4) user-first commerce.

In short, it’s much more important for us to be correct than it is to move quickly. When all is said and done, users of MobileCoin will have obtained coins many ways: through giveaways, sales, and commerce activities. Making sure we do these things correctly is the only way the ecosystem will be able to operate long term.
What is everyones favorite book on quantum mechanics (I would love understand more of the 3 generations of matter)?
The 3D BAG is an up-to-date data set containing 3D building models of the Netherlands. The 3D BAG is open data. It contains 3D models at multiple levels of detail, which are generated by combining two open data sets: the building data from the BAG and the height data from the AHN. The 3D BAG is updated regularly, keeping it up-to-date with the latest openly available building stock and elevation information.

This is the first open 3D building data set that is generated fully automatically and covers a whole country on this level of detail.
muting/unmuting gets very tedious.

This is a failure of meeting software. The #1 critical feature of the $$$$$ conferencing systems that get installed into e.g. boardrooms is a mute button that activates instantly, shows its state, is easy to reach, and never fails.

A push-to-talk shortcut can be a lot easier than switching apps back and forth and trying to click on the tiny microphone icon.
Well, that works well. The draw of Drobo is a RAID setup though - in some cases, RAID provides a significant performance boost, and, at higher levels, it'll survive more than one drive failure.
I believe you can just make another dataset/drive - not the best solution, but you can use that extra space - just in another logical drive.
I consider this ad to be the best that was ever produced, but watching it you can't help yourself to wonder how they have become the exact opposite of what they claimed to be. O the irony.

(This is so gonna get downvoted by the apple trolls who roam this place. I don't care.)
Read this: http://weblogtoolscollection.com/archives/2010/06/02/wordpre...

Then read this:
http://ottopress.com/2010/wordpress-3-0-multisite-domain-map...

I use this exact method (and a subdirectory, not a subdomain install) to run multiple domains off on a WP 3.0 installation on cheap, shared, GoDaddy hosting. No apache config editing whatsoever.
Do you have any evidence that it's coordinated?

Twitter banned some stuff temporarily the other day, now they upgrade those bans and add some more. Google removes parler from the Play Store today, a different action (not banning trump). Apple didn't ban anything, but is considering it.

These seem like different actions by different companies, responding to the same news.

Also, pedantic as it may be, it's not political action. These companies are not political entities. Just because groups of people communicate about politics on the platform doesn't make them political.

What we are seeing is major internet companies responding to and banning perpetrators of treason and sedition, of domestic terrorism.
Something really weird happened with Donald Trump.

He had a tendency to say things like "I got twice as many votes as Obama did when he was reelected." (I don't think he actually said that one, but it's hard to find a real example when... they deleted his twitter account.)

And then that isn't true. Trump got ~74M, in 2012 Obama got ~66M, that's not twice as much. But it's more. So if they run the story correcting it, they're running a story that tells people that Trump in 2020 got more votes than Obama did when he won in 2012.

At some point the media got tired of this, but what are they supposed to do about it? If they don't correct it, the claim stands unopposed. If they do, they're still running the story Trump really wanted, telling people he got more votes than Obama.

They eventually started omitting the context. So then the headline becomes "Trump lies that he got twice as many votes as Obama" and then that's the entire story. No mention of how many there actually were. But that didn't work, because then the first comment on the story is from some Trump supporter providing the actual numbers and you're back to having a story about Trump lying that still benefits Trump.

So then they want to do something about the Trump supporters because they keep providing the inconvenient context that Trump's controversy generator left there on purpose. So they censor them in some way. But then the supporters feel wronged -- being punished for saying something true -- so they support Trump even harder and it backfires.

The whole thing made them so angry that they're now willing to cross every line in order to destroy him. But the current strategy seems to be to censor him as much as possible so that nobody sees the rebuttal to the rebuttal because nobody sees the rebuttal because nobody sees the original claim.

Which might actually work to destroy Trump, but only by destroying a structural pillar of the democratic process at the same time. And anybody who thinks that such a weapon, once used, will only be used once, is delusional.
I’m not even going to pretend you’re attempting to make an argument in good faith.

One could argue tech companies have a monopoly problem but you’re just saying a private company should allow anyone to say anything on their platform and throwing a ridiculous slippery slope out in front of it.
That ayatollah died in 1989...

'ayatollah' is a title, not a name...
That was debunked by fact-checkers.
The time before the printing press was invented is certainly not an example of "taking away printed materials". Both the printing press and social media exist now. You wrote lots of stuff without including the example I requested.

Also, if you didn't hear racism in USA in the 1980s you've led a very sheltered life.
no. this is appreciated. you’d be surprised how many such gems i discover here on HN
Context is important - I was responding to someone asking for local experience(“go work at a polling place”). But examples seem all too easy to find. A better response is to consider what concessions in the control structure can be made to restore confidence.

You may have faith that everything is okay, but that does little to satisfy those with experience of fraud or hearing stories of fraud. One can see a local example and easily (and not irrationally) imagine that the systems work similarly in the neighboring city, county, or state.

Whether your intention or not, it’s easy for your attitude to come across as accepting of deficiency - and an endorsement that may run out when the tables turn (and in American politics, they always do). The unending cycle of dismissal by each side to the other’s sincerely held concerns is getting us nowhere but a bad place.
Even the heads of state for Canada, the UK, and Germany all attributed blame for Trump, which is diplomatically very unusual for allied nations.
> From a storage perspective, describing commits as snapshots seems like a bad mental model. Suppose I have a directory that is 100MB in size. If I take a snapshot of it, my snapshot would be 100MB in size. If I take a 2nd snapshot of it tomorrow, my 2nd snapshot would also be 100MB in size. My total storage needs would now be 300MB.

That's not what one would expect. Suppose I have a directory that is 100MB in size. If I take a snapshot of it ("btrfs subvolume snapshot"), my snapshot would be 100MB in size, but the storage needed for the original and the snapshot together would still be 100MB (plus a few kilobytes of overhead). If I take a second snapshot of it tomorrow ("btrfs subvolume snapshot" again), my second snapshot would also be 100MB in size, and my total storage needs would still be 100MB (plus a few kilobytes of overhead).

If I made a change to a small text file before each snapshot, my total storage size would still be barely larger than 100MB.

That is, when creating a snapshot, one would expect it to be copy-on-write. While not exactly what git does (it's a content-addressable storage instead of a copy-on-write storage), the end effect is similar enough for most purposes (the main difference being that undoing a change in git would not need extra storage, while a copy-on-write storage would store a new copy of the contents).
wow really nice
1. everyone generates n-bit random number.

2. all random numbers are XOR'ed together.

The result is as random as the most random number provided. XOR can be done in any order and any combination and it produces the same result. Complexity is log(n) XOR operations. No need for everyone to be connected to each other
I mean, it might not offer any improvement for you, but it certainly does for someone who uses a screen reader that doesn't default to English.
> Obviously both "diffs" and "snapshots" are leaky abstractions.....

Joel Spolsky wrote many great things, but "all abstractions leak" was not one of them (edit his but not good). I am very tired of programmers excusing their poor imagination with appeals to this nonsense.

------

Commits store snapshots. Full stop.

The "bad mental model" is not commits being snapshots, but things behind stored individually, i.e.

> Sum |things| = |Product things|

This comes up in many other contexts, especially when storage quotas are involved and it's unclear what to do when storage is deduped across quotas.

-----

git packfiles do use a delta encoding, but it's important to understand that there isn't any necessarily any correspondence between the history and the delta encodidng. In fact, commands like `git repack` exist precisely to avoid path dependency issues from the repacks matching the history too much.

Saying commits are diffs to explain the delta-encoding storage characteristics is wrong and confuses, not clarifies.

------

> And let's not forget commit messages. If a commit is a snapshot, I would expect the commit-message to be descriptive of the entire snapshot. Whereas if a commit is a diff, I would expect the commit message to be descriptive of the diff. Which is exactly how most people use commit messages.

It's git tree objects that are snapshots, commit objects have tree child and a prev commit child, so it is natural for them to describe the relationship between two states without appealing to hypothetical alternatives.

> Not to mention other features the article discussed, such as cherry-picking. What does it even mean to "cherry-pick a snapshot"? In comparison, cherry-picking a diff and applying it to your current state, is far more intuitive.

I might `git checkout somethingelse .` mid-rebase. What does that mean if commits are diffs? Nothing very clear. The better thing to teach people is about darcs and patch theory and those other modules. I think the git model and the patch theory model both have uses, and the fact that git makes people always work in the git model is a fundamental issue that cannot be fixed with analogies.

- Patch theory is good for the things are you still working on

- merkle dag of states is good for the things you've already done / agreed upon.
I've found this to be completely solved by using the strict mode provided by penlight.

It becomes a shallow runtime bug, so it isn't a compiler failure. But I've literally never had a misspelled global stick around for long enough to qualify as a "bug" rather than a mistake. I have polluted the global namespace once or twice by assigning to a new misspelled global in the outermost chunk, which is a little more bugesque, but very seldom.
We've never had an issue with git merge'ing all over. I've never looked at our git graph because I've never had to.

Maybe rebase is a tool to help poor software development practices? (and your colleagues letting branches go stale is one of those)
> ARM doesn't make anything either - it's 100% IP just like Redbull.

ARM develops the IP. Red Bull did not develop its drink.
For my money buffet > Dalio, this superficial framing of The Whole topic is a case in point.

Who challenges dalio on his submerged assumption that a gold-like store of value is really of any value to rank and file investors compared to the stock, bond and real estate markets?

He should be equally criticized for obsessing about gold as for being attracted to Bitcoin.
There have been a number of first-person interviews; fairly certain those weren't from Falun Gong members.
Sure, you have limited resources you can expend on legal services -- but you presumably also want the piracy to stop. A consultation -- which shouldn't be too expensive -- will give you a better idea of what your options are and what it would take to pursue them, from which you can evaluate what it is worth doing given the value of the content involved.
I imagine just a still image of their current specials being displayed and any upcoming events is more than enough to display during commercial break.
Does it run the latest os x OK?
They also sell another that weighs 5.51 lbs (2.5 kg). Still pretty hefty.

https://system76.com/laptops/adder
Stay. At. Home.

One of the biggest problems right now is social behaviour.

People see others on the street and downplay the significance of what is happening.
> now you have to use and buy your own.

Yeah, but the office was buying it at Costco too, and now they aren't. The total demand for TP hasn't increased, it's just shifted. Once everyone has a stockpile at home, they won't buy it anymore.

Same with food. The restaurants were buying it and now consumers are instead. The demand is shifting but the level is the same.
In addition, what about long term effects? Curing someone now, and giving them a stroke six months later is not exactly desirable. That's why drug trials last for such a long time.
<cough> Stravinsky?
sane people like to work for other sane people and work should be about what you produce unless you have necessary human interactions
It's a nice mid level developer salary down here in NZ too.
I didn't mean to start a debate about great artists in history. As a less emotionally-charged analogy, consider math. There are extremely well-known and respected mathematicians from centuries ago. That said, we have better tools today (both new forms of math and computer-assisted proofs) that let us solve more complicated problems than ever before. If the Newton had access to MATLAB or Mathematica, he probably would have done even greater things. Likewise, if Beethoven had GarageBand or a Tenori-on, he could have created even more interesting music.

There are a couple places where this analogy breaks down. Status matters a lot in art. Also, in math the end-product is the main thing that matters, while in art the creation process factors into its impressiveness. A sculpture hand-chiseled out of marble is more impressive than one made by a 3D printer, even if they are indistinguishable to human eyes.

Still, I dare say that if Bach created his works today, they would be appreciated about as much as other high-quality contemporary composers (such as Hans Zimmer).

Did I just compare artists across history? I'm such a hypocrite.
Dell M6500 17" (1920x1200) + Dell 27" U2711 (2560x1440) + Linux + GVim + Perl (Catalyst/DBIx::Class) + MySQL + Nginx
what's an example of one of those "strong procedures" ?
Please don't do this here.

I understand the sport in extracting the most uncharitable interpretation of a thing and distilling it into the most concentrated snark that you can, but amusing as that can be, you harm the community by posting it here.

Snark always gets many upvotes, perhaps because we enjoy the dopamine rush of briefly feeling superior to others. Such comments rise to the top, become emblematic, and pretty soon we're all in the habit of looking for clever ways to put others down instead of learning and asking questions together.

This is an existential risk to HN, since if we lose the open-minded exploratory quality of the threads (never secure to begin with, and always under pressure from stronger forces), successive waves of thoughtful users will exit, putting the community into a fatal feedback loop.
They should go full-circle with FrontPage (which inspired many folks to get into web apps back in the day) and call it Vermeer.

(From Vermeer Technologies, Inc., the original FrontPage server extensions folks - fun random fact: it's why SharePoint service URLs have "_vti_bin" in their path)
> I've never heard it discussed by anyone that a badly maintained car is a danger to anyone other than its occupants.

That is surprising, because it should be fairly obvious that if a car has brake failure, it could be lethal to anyone who happens to be in its path. Same goes with catastrophic failures of the steering system, although those are perhaps even more rare.
Why? How does that upset you more than people using n.?
It is stunning the comparison between this and the BLM protests. The local protest to me had a tank at it, for a peaceful protest in a park.

This is next to the capital, this is people breaking into a building, and all that's there is a bunch of police?
On my prepaid plan in Europe I get a lot more data for the money than I get SMS messages. Text messages cost me 10 cents per message.

WhatsApp by comparison was practically free. So it is not even about superior messaging experience, it also comes down to cost.
https://twitter.com/byaaroncdavis/status/1346908166030766080
You're the one using ridiculous examples: dentists, boulders, canyons, rolling rocks up hills, pouring water on fires.

The original topic was that various charities are saving lives in measurable ways, yet most people make excuses not to contribute, preferring to spend their money on additional luxuries for themselves.

Thank you for providing excellent examples of those excuses.
Curious how logic programming fits in with the rest of that list?
The answer is that they have raw hard numbers from the hundres of millions of iPads/iPhones sold each year, and can use the metrics from those devices to optimize the next generation of devices.

These improvements didn't come from nowhere. It came from iterations of iOS hardware.
How about:

https://jami.net/

(Official GNU software for video calls and more)
But then they would have to go after all the other decentralized exchanges like Uniswap etc. no?
I really like INFO(); that's a nice feature I've not seen anywhere else.

What are the differences between a C++ and Objective-C test framework? Is there anything ObjC-specific about CATCH?

Some of the other design choices here I've used, and later abandoned, in my own testing libraries:

> The assertion macro is REQUIRE( expression ), rather than the, now traditional, REQUIRE_EQUALS( lhs, rhs ), or similar. Don't worry - lhs and rhs are captured anyway - more on this later.

Using C++ operators for assertions is very limiting; some interesting assertions, like floating-point near-equality, have no operator and thus must be tested separately. I like to use separate functions to build "assertion results", so you can get code equivalent to:

REQUIRE(equal(lhs, rhs));
REQUIRE(equal_within(lhs, rhs, 0.001));
REQUIRE(not_null(lhs));

and so on. With this style, you also get multi-variable assertions and value capture for free.

> We didn't name the function. We named the test case. This frees us from couching our names in legal C++ identifiers. We also provide a longer form description that serves as an active comment

It can be nice to have a description of the test case, but free-form names like you have are a major pain to write out on the command line if you're running a particular set of tests during development. If you want a description, allow it in addition to the test name.
Especially given the DDOS against Wikileaks, I'm pretty sure they also have at least one botnet on retainer.

And there have been voices high up in the government saying that the US needs to develop offensive cyberwarfare capability. If that's not a call to develop state-owned botnets... the people in charge don't understand technology.

Of course, the use of the term cyberwarfare might be a giveaway anyway.

In any case, I'm sure it's a pretty simple matter for some people in the CIA to quietly hire out a botnet.