skysight-inc/HackerNews huggingface dataset:
> As adults, we can't progress at the same speed as kids,

This is definitely not true. Adults have more trouble learning some kinds of new motor skills up to expert level, and if the physical skill requires e.g. extreme flexibility kids sometimes have a less fixed bone structure, but adults are a lot faster at getting to basic competence in new physical tasks by building from past experience, and for any other kind of skill adults can learn much faster than kids.

The real problem adults have vs. kids is available time to spend thinking about things (because they have other responsibilities), not raw learning speed.
Humans make voluntary uncomfortable changes to their way of life all the time. They move to other countries / cities, break up and form new relationships, quit or pick up religion, become vegan, move to cabins from cities or vice versa, start families, volunteer to fight in wars etc etc. Whether the changes perceived as voluntary or not is highly subjective.

Shortening you shower time can feel like too small a change to feel like a meaningful, if anything.
Trayvon Martin and the wannabe cop actually fought each other. Daniel Shaver had a pellet rifle and reached for his belt. Some other poor fellow had an object in his hand. You can come up with some excuse that makes it a "both sides" case.

George Floyd was arrested and handcuffed by four real cops, calmly complied with every request recorded on video, and still died pleading for his life because one cop strangled him for no reason and the other three did nothing. It's a perfect storm: you can say "no matter how compliant you are, the police will still kill you if you're not white enough" and pro-blue opinion leaders can't counter you with anything except "but look at the looters".
Ask HN: Best app/method for sending/receiving risqué photos?
Quarantine prompted this question [0, 1]. Is there a secure, privacy-centric app for sending such content?

I have concerns about Snapchat's commitment to security -- maybe things have gotten better? [2] -- though I appreciate that it deletes photos by design.

I read that Signal has a Disappearing Messages mode [3] and http://protectyourprivates.net/ looks like it was designed with this in mind -- albeit iPhone only.

Does anyone have any recommendations for this? Thanks!

[0] https://www.nytimes.com/2020/04/24/opinion/sunday/covid-nude-selfies.html

[1] https://www.buzzfeed.com/cameronwilson/coronavirus-send-nudes-quarantine-increase

[2] https://www.digitalinformationworld.com/2019/01/snapchat-end-to-end-encryption-users-media-messages.html

[3] https://www.buzzfeednews.com/article/nicolenguyen/how-to-safely-send-your-nudes
I don't get it. 80 columns was always short but it forced you to think about your code when it got too long.

Contextually local variable names which go far above 10 characters and contextually local function names which go far above 20 characters are almost always misnamed. Nobody should struggle to fit at least within about 100 characters when they're focusing their code on clarity and simplicity.

Obviously this doesn't mean that you should rename your buf_size variable to bsz or s. But you buf_size variable in a function called read_line shouldn't need to be called line_buffer_size and if there's only one buffer should potentially just be called size.

Then there's people in this post claiming that research relating to readability of text don't apply to code because people don't read whole lines. I only have to wonder if these people have ever read code they didn't write on that same day or from a codebase they're already very familiar with. I read a lot of code, it's part of my job, I need to read the whole lines so I can verify that there's nothing horribly wrong. It makes it incredibly difficult to read expressions when they can't fit within my visual field.

Yes, hard-wrapping code is not great, it should be avoided and only done with a good bit of experience, insight and awareness of how it's going to affect the code. Regularly making your code 150 lines long because your variables are repeatedly telling me information I could have just gathered from looking two lines up and because your function names are descriptions of the behaviour of the code they contain isn't a great look either.

Although I still think that my least readable experience was having to read and work with code which used a 2 space indent (and an editor which wouldn't let me fix this in any way) which regularly went 10 levels deep and 100s of lines long.
I watch all YT videos at 2x speed and it’s still a slower way of absorbing information than just reading.
And also, it's the unrest in general, not anything specific concerning Android 11, that is the source of the pause.
Depends on the stove. Tile stoves or masonry heaters can be +90% efficient. The same goes for inefficient stoves without a chimney, which is the majority of stoves in poor countries.
In general I find that working with mathematics as auxiliary to any field is hard when you do not get to practice it every day. In these cases I have found the matrix cookbook [1] to be very helpful as it serves as a quick reference.

[1] http://www2.imm.dtu.dk/pubdb/views/edoc_download.php/3274/pd...
> unless the coding style also requires you to replace all (leading) sequences of N spaces with with a <TAB>, which is, IMO, quite brain-dead

It is brain-dead, but that is exactly what is required in many styles.
The truth of it is still scandalous. Does it absolve Trump of responsibility for idiots drinking disinfectant? At least partially, yes. It's still a ridiculous way for a leader to behave.

It's absurd that Trump thought he was in a position to give technical advice to medical researchers, and it's even more absurd that he thought injecting disinfectant could be the way to go. The hubris and ignorance on display here are shocking.
To change behavior you need to make people want to change, give them the ability to change, and create an environment conducive to change. Without all those pieces all bets are off.
Whoooaaa duuuuude: Why we stretch words in tweets and texts
US civil war: about 750.000 in a population of over 30 million (https://www.history.com/news/civil-war-deadlier-than-previou...), or 2½%.

World War Two, USSR: at least 20 million in a population of 205 million (https://en.wikipedia.org/wiki/World_War_II_casualties_of_the...), or close to 10%.

World War Two, Poland: about 6 million deaths (https://en.wikipedia.org/wiki/World_War_II_casualties_of_Pol...) in a population of about 35 million (http://countrystudies.us/poland/27.htm) or over 17%.

The US civil war was bloody for the USA, but not bloodier than WWII for any Allied power.

https://en.wikipedia.org/wiki/World_War_II_casualties#Total_... has many more countries with a death rate over 2½%.
The examples you are giving are examples of short term sacrifices.

However, take a look at the UK post WWII. Winston Churchill got voted out of office. The big thing people wanted was a return to normalcy and the way things had been before.
The US Joins G7 AI to Tackle China
Hmm, what port did I plug AP-6 into again?
Originally just had feeds for individual users but added a global one just for you: http://able.bio/rss
Yet Another JWT Debugger
Behind the Fall of Luckin Coffee
I now wonder if the Civil War was a mistake. Maybe Lincoln should’ve let the Confederates go their own way.
Depends on the coal and the wood, if you have high sulfur coal wood can certainly be cleaner
Testing Is Key to Beating Coronavirus, Right? Japan Has Other Ideas
I notice all the broken bits of rocket are in square panels.

That indicates the welds failed rather than the steel sheets in the explosion.

If you want to design something to be as strong as possible for the weight, you make the welds as strong as the sheets. In most cases, that means making the weld lines thicker than the rest, since the weld is typically formed in less ideal conditions so weaker.

There are tricks to doing that like zig-zag weld lines, overlapped sheets at the weld, etc.

Surprising spaceX hasn't done this, considering strength to weight is critical in rocketry.
POTUS is on Twitter. If you want access to his tweets, you absolutely must use Twitter.

Maybe it's a policy problem of the US in particular and politicians in general instead of Twitter/Facebook being an utility. As is, status quo is for me that they're utilities for that single reason.
The point isn't really gamification, it's providing information to the user. If you don't have any information on your consumption, you'll have a hard time reducing it even if you wanted to.

Typically, we provide that feedback by charging for resource use, and that works extremely well (most recent anecdote from my area: as the local rented garden community started measuring water usage and splitting the bill by usage instead of head count, usage dropped by 70% without any damage by under-watering), but that's generally a longer-term aggregate and immediate feedback works much better.
You can't reward someone who is in power into not being corrupt and not abusing their power. You prohibit, stop and punish them. Begging only goes so far.
I believe it to be fundamentally at odds with how we evolved to understand the universe, so don't feel bad. Even Einstein was conflicted by some of it while he worked to prove it.

The collapse is a measurement. It is also the instantaneous moment that a particle such as a photon goes from being a wave-like to being particle-like. In many ways it is just a name given to the phenomenon that we know occurs - that particles act as waves until we need them to be more "real" so to speak.

In Copenhagen, the "wavefunction collapse" is when the particle "picks a spot to land" inside of its wave. The spots it is likely to land are defined by the peaks and valleys of the wave.

Imagine liquid waves in the ocean again. They go up and down with fairly predictable heights of waves. Wavefunction collapse is when those waves decide to collapse into a small rock instead. But where should the small rock wind up? Well the highest wave of course. The wavefunction collapse is when the decision occurs to _place_ the rock; when the universe says "throw a dart somewhere along this path of likely positions".

That's a bit more metaphorical and philosophical but maybe it puts it into perspective a bit better? To be honest, I don't understand it very well and certainly couldn't tell you why it happens from more basic principles. This is part of the reason there are competing interpretations which is that even Copenhagen style wavefunction collapse _feels_ weird.
Finding Number Complements Using Java
> Although ostensibly this has been enforced, in reality it is impossible to police and has almost entirely been done voluntarily, through persuasion, and with much popular support.

I think the terrifying prospect of catching and spreading a virus was the greatest factor, having seen it spread elsewhere.

Also our compliance hasn't come out of nowhere. I feel we've become ever more subservient and unquestioning over the last 19 years. Barely anyone refers to the legislation (some of which is quite easy to read), but instead Government "rules". A worrying trend.
Nanobox run complex infrastructure without changing the workflow or the platform
> I think the article is just saying in practise its impossible to have entanglement on such a macro scale

That much is not true though. Of course an ordinary cardboard box does not thoroughly isolate its inside from its outside, but complete isolation is possible in other situations (e.g. two spatially separated labs making measurements at the exact same time, which has been done in tests of the Bell inequalities).
Intel can’t do it. The leader of chip fans for near half a century failed to deliver on this generation of lithography. That’s the level of difficulty we’re talking about.
Drones also make it easier to get people to fire on civilians because they are remote controlled.
Why is it your favorite? I watched Houdini 17 and 18 sneak peeks and they are impressive, but I wouldn't be the first to be fooled by demos.
I think MOOCs are as good as a certain kind of live lectures; the kind where the professor copies the text on the whiteboard and students copy it into their notebooks, then repeat it in quizzes and exams.

But MOOCs can't compete with the best live lectures, where students have an opportunity for meaningful discussion, challenging and original projects, and building relationships.
I think the right question to ask is: Is Sweden any worse than its neighbouring European countries by comparing to the exact time window when the neighbouring countries were at their exponentially rising stride?

Comparing per capita death rate to its neighbours RIGHT NOW assumes that the virus progression curve was the same in each country at its start, which is flawed.
Education43 – community-driven free educational resources
Hey guys!

I've created a simple GitHub page with educational resources divided by the academic field.

I know there are a lot of awesome lists. This page is not a copy-paste of these lists, it rather refers to them.

Unfortunately, it is established in society that traditional education is the only way to get knowledge.
I would like to keep this page clean & short, in order to help people realize that they can get any knowledge without paying an insane amount of money.

Feel free to contribute on GitHub. I've tried to make it extremely easy, all it requires is to edit a markdown file.

Have a nice day.
A fun book, I especially like the bits about "Mr Venn's Method of Diagrams". Some of the examples are a bit questionable to a modern eye though, like the one with "No Jew is ever a bad hand at a bargain" as a premise.
Don't bother using SBT. Just build Scala with Maven. It's wonderful, everything works how you'd expect, all the documentation from the Java world is still valid.
Well, it acts quite a bit like an angular momentum of that amount, including obeying conservation laws jointly with regular ("orbital") angular momentum.

I don't know of a good way of explaining the half-integral nature without diving into representation theory. The short story is:

1. Conservation laws and continuous symmetries are the same thing. The standard explanation of this is when we move or turn the system, the rules it obeys are the same. Or alternately change our view of the system by picking different origin and axes for our coördinate systems, the form of the rules (how to evolve, how to measure, how to predict) remains the same. This is Noether's theorem.

2. But symmetries don't mean our description of a system is unchanged. It means that our descriptions must change in a compatible way with our new point of view.

3. Cashing this out in math, symmetries are groups acting on states. Having the states transform compatibly means these actions must be "linear representations of groups".

4. A spin-one object has the wave function (normally considered the fundamental state) act like a vector under rotations, and because symmetry under rotation is angular momentum, this must be too.

5. When we do this quantum mechanically, all of our predictions come from the density matrix, where the wave function enters twice (as an outer product). A spin-1/2 object has the density matrix transform like a vector, and the wave-function itself transforms "like a spinor", which is to say, itself.
Stupid question... do we(people of earth and the land-above) not "blind" these creatures ? The ones that do have "light sensitive eyes/appendixes" these must be INCREDIBLE sensitive to capture the very very limited light down at those depths ? Then we come with our zillion-lumens-spotlights ?
Yeah, definitely agree. Reading is a much more efficient way to absorb information
This post is either written by someone with no skin in the game when it comes to the advice they’re giving (despite appearing to have swallowed a couple of Taleb books but retained little, oh the pointless irony) or who is massively overgeneralising a subset of reality that worked for them.

Please don’t follow their advice.

> The alternative is to forgo raising money and creating a sustainable business from the beginning, growing linearly with the number of people that give you money for your product.

This works only for insanely wealthy founders or trivially simple to implement businesses (and even then you’re going to need to be way richer than average). One of the great things about the rise in startups, accelerators, and VCs is that starting companies has become a career option for far more of the population.

The rest of the argument just degenerates from there:

No skin in the game: try telling that to a founder who’s taken a 50–80% pay cut and probably started off working for free to get their company funded, but who owns big chunk of the equity and can pay themselves properly if they get to product market fit and hit a growth curve.

Ruthless execution, faster path to growth etc. Nonsense! I’ve come across plenty of small startups or individual founders that carried on far too long after they should have admitted failure because of the sunk cost fallacy. Team keeps taking sacrifices - cut all costs, less pay, work for equity, etc. But while you’re small enough you can do this nearly indefinitely. Taking funding forces you to aim for something bigger and you’re either going to win, close down, pivot, or get acquired. Sure you can keep raising while there’s a probability of a big enough success at the end but the size of the potential and burden of evidence goes up with every new round and every increased valuation.
There is no joke. Some prefer drink. Some prefer food. Some prefer cigarettes. People have different things to spend on thats all.
>> "Humans make voluntary uncomfortable changes to their way of life all the time"

--- hoping their life will eventually improve(i.e work hard, make more money, then move to a nice neighbourhood where you can enjoy the fruits of your hard work). The religious people hope for a better life in heaven and so on. What's the incentive to for a worse showering experience? What do you get in return?
So what?

I'm not an expert on medical terminology; there may be a more accurate term to use to describe the cause of death. I'm only using the term in the colloquial sense, which (in my opinion) is a good description of what happened according to the video evidence.

But again, so what? Even if the death was technically caused by some other mechanism, it's still patently manslaughter when someone uses their knee to crush someone's neck for ~4 minutes until they stop moving. When that person continues using their knee to crush someone's neck for an additional ~4 minutes while ignoring the please from multiple bystanders to at least check for a pulse after he stopped moving, that demonstrates the intent and mens rea necessary to upgrade the charge of manslaughter to intentional murder.

The technicalities of a medical report are not relevant. If this was some sort of freak accident, the officer should have stopped what he was doing and checked vital signs. If he didn't intend to kill, the officer should have been very surprised and/or concerned when the person under his knee stopped moving and calling for help.
>whites are 72% of your population but only 370./802 = 46% of those categorized shot by your police.

Aren't the relative rates at which they offend also relevant? for exmaple, blacks are only 13% of the population, but commit half the homicides. Isn't it to be expected that they have more violent interactions with police?
Sorry about that, did not mean to use a code block. just wanted to make a list.
HN formatting is little confusing.

Personally I prefer explicit markup attributes. i.e. if I want to mark something as code an markup like ``` or {code} or whatever is clearer than inferring tabs for code formatting, this kind of accidental code blocks could be easily avoided.

On a side note I read on mobile all the time, I understand the frustration, but it not poster's fault HN has some poor formatting choices which are not mobile friendly and no preview options, you should direct their feedback towards HN rather than the poster, most of them do not do this intentionally.
NomadWiki
I used java starting in high-school and got it extensively in Uni. I've been using Golang for the last half year and it feels like I'm reliving the dark ages in which java has lingered so long. Heavily patterned, but even dumber than java 5 was.

Omission of language functionality and/or constructs is always attributed to "this was intended, the language doesn't need it", however I DO want generics. Go has remedied C's memory unsafety, yet meanwhile 1) it made no strides in a multi-threaded model when it comes to safety. (can't stand Mutexes anymore) 2) shooting yourself in the foot with nil's is still rampant. 3) A project codebase file hierarchy is overly non-opiniated but everybody has "the one and true" project hierarchy.

Yet all I hear is praise, I just don't get it. The reinvention of completely static binaries is cool sometimes, and not having to deal with a bloated runtime like the JVM is indeed a blessing, other than that, it feels like we're praising the (relatively) new kid on the block because he comes from the big city (Google)
How the Supreme Court Lets Cops Get Away with Murder
In that this particular octopus differs from others by not standing guard until the mother dies of exhaustion? That's interesting, I thought that was one common thing among all but one species of octopus.
Feedback loops are a psychological solution. Implement them without tech if you like, but good luck making that efficient. Anyway, if you have a magic wand to make enough people care enough about the environment immediately, please do wave it. :)

Absent that, I can’t imagine feedback loops are harmful with respect to our collective political will; on the contrary, I would expect daily positive feedback to change attitudes over somewhat small timescales, especially as more and more people participate and it is more normalized. But this is pure speculation and optimizing showering is not where we should spend our limited political will anyway.
When people compare C++ with Rust, quite often the only thing measured is performance where depending in your cxx compiler Rust (or rather, llvm) may lose sometimes.

What is often forgotten is the ecosystem.

To build a cxx project you'll probably need to learn CMake and ninja; maybe Buck or Bazel too. If your project has eternal dependencies you may have to figure out yourself how tl link everything together using whatever build tools the authors were using. For docs, you'll have to learn and use doxygen; for style formatting, something like a clang-format and its presets and options; for linting, something like clang-tidy or cpplint, etc. For testing, probably catch2 or one of similar frameworks. There's no universal concept of "package" or "version", you're completely on your own here; most open source cxx repos that have dependencies just add them as git submodules.

In Rust, cargo build to build, cargo doc to generate docs, cargo test to run tests, cargo publish to push your crate to the index; cargo fmt to format the code and cargo clippy to lint it - that's it, we're done.