skysight-inc/HackerNews huggingface dataset:
Tried anki in college, found that creating the cards took too much time and doing them was boring.

What did work for me was really simple. A single 8 1/2 by 11 double sided sheet of paper could usually fit everything I needed to memorize at one given time. I'd write out a cheat sheet (a very valuable exercise in condensing and distilling while reviewing) and then reproduce it from memory before and after bed three days in a row allowing a tapered amount of cheating/peeking (with the first few being pretty much all peeking). After three days, it was pretty much good as memorized.
It is utter, all-encompassing tosh to compare the China Uighur situation to the present situation of any US minority group. If you're referring to black Americans, recall that right now, they get preferential treatment from top US universities, government loan programs, tech company jobs, etc. That's not to say that there are no problems, but you're just not speaking reasonably if you compare the two. You're either speaking from emotion, or you're engaging in typical CCP or Putin propaganda (I suspect it's the first in this case).

Edit: For sure, historically, there are strong comparisons between the Uighur situation and the situation of African-Americans in the slave and Jim Crow eras. But those are over 150 and 50 years gone by, respectively.
I agree, this is a much better solution. Multiple shell configuration files should be deprecated and replaced with this.
How to Create a Custom Ubuntu Live ISO Image with Cubic
> Ask HN: Why isn’t finance a part of the core curriculum at schools?

Unless something has radically changed since I was in high school, high school “economics” is pretty much exactly personal finance.
In 2020, being wholesome - not addicted, not acquisitive, not narcissistic, not "dark and edgy", not alienated - is the ultimate narrative taboo.
It won't be able to once Youtube embeds ads in the videos (which is step 2).
A little pricey for something you can have done for free, at least in my area of IA.
They used something similar for some time, but this was teared down because of high cost and disappointing results.
Python is a bit clumsy by default when the primary purpose is to run other programs. But, it is easy to write a "run()" wrapper function that works more like a shell. There are modules like "sh" as well to smooth over the bumps.
Oh wow, I took an intro to philosophy class with this guy. I started getting suspicious when he referred to himself as John and that he taught Camus. He's a good teacher. What I learned in that class has stuck with me. It was a disproportionately influential class. It didn't change any of my beliefs, but the different philosophies I learned meant a lot.
> Doesn't protect against the owner saying you didn't send the photo, or that it didn't arrive in time, ...

The owner could be required to send back a confirmation.

But I agree, a trusted hash/timestamp service might provide better usability.
Which article would you recommend on this topic?
NextCloud is generally slow, but with photos - it's unbearable slow. It has multiply layers of cache, which make everything slower(?!), it's slow to show thumbnails, it's slow to go from one photo to another. Basically it's unusable for sharing photos.
This is nothing to be laughing about. Internal saboteurs are an extreme threat. It is literally the History has been all about: fates of entire nations being decided by well timed political back stabs.
Sadly this is the deepest racism in some of the western white people to china, admit it or not, that's the try.
Couple of years ago I fell into anaphylactic shock. As I was passing out I remember cozy warmth and divine calm. I made my peace and was feeling happy. I remember thinking that's it. Thank's god arenalin shot brought me back. Not sure that was close to dying but I sure have no fear.
I thought the desktop app was written in Python?
technologically yes (although not as fast), but I think at the same time the assumption often is that the anti-authoritarian move also leads to an intentional "enlightened" slow-down of society (compared to the capitalist rat-race of cyberpunk), reduced nature impact that way, ...
Calendars can be fun. When I realized that my HP-48SX display had enough lines and was wide enough to display a one month calendar, I wrote one.

My first try was annoyingly slow, and I determined that the problem was with the code to actually draw the calendar. Going through each day and telling it "draw this number here" was just not efficient enough.

I switched to a string based approach. Here is what it would look like in Python. This draws a cal-style calendar or a month given the day of the week of the first day of the month (Sunday == 0, Monday == 1, ...) and the number of days in the month:

def print_cal(first_day, num_days):
hdr_str = "Su Mo Tu We Th Fr Sa "
cal_str = " 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 "
offset = 3*(6-first_day)
cal_flat = cal_str[offset:18+3*num_days]
cal_flat += " "
print(hdr_str)
print(cal_flat[0:21])
print(cal_flat[21:42])
print(cal_flat[42:63])
print(cal_flat[63:84])
print(cal_flat[84:105])

All the string operations were primitives in the calculator's slow interpreted language, implemented in fast assembly language, so this was very fast.

Calculating the first day and number of days for a year/month was in the slow interpreted language, but that isn't much computation so it wasn't noticeable. In Python, it would be something like this:

def first_and_length(year, month):
# Correction for centuries 16, 17, 18, 19
# Repeats every 4 centuries.
century_table = [2, 0, 5, 3]
# Correction for each month for years that are not leap years.
# For leap years, need to subtract 1 for January and February.
month_table = [4, 0, 0, 3, 5, 1, 3, 6, 2, 4, 0, 2]
month_length = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]
num_days = month_length[month-1]
first_day_on = 1
first_day_on += century_table[(year//100)%4]
first_day_on += year%100 + (year%100)//4
first_day_on += month_table[month-1]
if month <= 2 and year%4 == 0:
if year%400 == 0 or year%100 != 0:
first_day_on -= 1
if month == 2: num_days += 1
return first_day_on%7, num_days
Somehow a war-lusting psychopath like Bolton is trustworthy, as he pushes a book out of a vendetta for having been fired?

This is the same Bolton who publicly declared that the single biggest mistake of the Trump presidency was not launching a war against Iran (a war that would kill a million people most likely). The same Bolton who has never shown a problem with aggressively supporting lies, like the foundational lies used for the Iraq war, of which he was a big proponent. There is very little from someone like Bolton that can be trusted directly - which also doesn't mean everything he said about Trump is false, it means there is inherently a severe credibility problem with anything he says.
Information doesn't matter when you have no other choice. There's practically zero affordable consumer products still made in the US or Europe. Just try finding any form of electronic made outside of Asia. It's nonexistent.
I remain deeply religious, and there is something of a fear of death, but it is mostly related to the fear of the unknown. I believe I will see God face to face and that's kind of terrifying. I am honestly more afraid of pain than death.

Any religious faith is a faith, even though people like to suggest silly arguments that faith necessarily is blind or unbounded, but it is still a hope in something unseen.
The output pins are pulled to Vdd (-9) by a transistor driven by a bootstrap load circuit. So you'll lose one threshold voltage, not two. (You can see these bootstrap load capacitors in the die photo near the pads.)

Inconveniently, the 8008 datasheet doesn't specify how low the low outputs are; it just says they are at most 0.4 volts.
How is it not profitable to stream music at a premium? The Spotify guy is worth 7 billion with little to show for the modern music artist.

Also, a huge "wtf" from me for:

>I do not want to pay for a streaming service and would like to buy individual songs & albums instead. How can I do this on YouTube Music?

>While you cannot purchase music from YouTube Music, you can do so from another store and upload that music into YouTube Music. This way, you can have your entire music library in one place. Note that you can play uploaded songs in the background, ad-free and offline with a free YouTube Music subscription.

Nice, I can upload my music to your service, and pay you to access music I paid for already? How's that expression go? "Smooth move, ex-lax."
I work on software for augmented reality and distributed systems. That background is not directly applicable to quantum physics, but I like to think that I am highly trained at spotting logical errors.
Thanks for your reply. I fully agree with you about non-existence of a "perfect" practice, but in general, not just in cases outside of piano.

I don't believe there is such a thing in real life as "perfect" piano practice either. Everyone has different needs in different areas of piano that they would need different approaches to overcome. That original post of mine just described a basic core idea that should be a solid guideline for getting more efficient at it, but without specific details and choices each one would make. If this was all there is to it, then piano instructors would be obsolete, and they are far from. Even top tier pianists occasionally take lessons from others.

Compared to other skill-learning experiences that require practice that I had, I don't think piano is in its own separate category, it is very similar to pretty much everything else. I simply picked it because piano makes it easier to illustrate that principle to the general audience. Same thing can be said about sports, visual arts, etc., anything that requires work through repetition, heavy knowledge/experience, and is heavily-reliable on manual execution with a very high (nearly infinite) skill-ceiling (i.e., not something like writing software where knowledge is about 95% of the work, execution is about 5%, since execution is literally just typing and knowing your IDE shortcuts, both of which have a fairly low skill ceiling).
Habits and desires are implanted into groups by the system. But they are just group behaviour. People can change if they exert their will, speak out, and educate themselves.
Fun fact: when learning Japanese a decade ago I did 35 new cards a day for 2 years. I hit 400 reviews a day and review sessions were several hours.

One day I just stopped and deleted it all.
I find that there is a reasonable percentage of people here that look at what problems it actually solves versus handwavey marketing magic. It's fanboy chat groups where I would expect the discussion of whether it's actually useful to be avoided (or be overwhelmed by those with skin in various kinds of blockchain game), but I'd be happy to be wrong. Why not link them if you say there is better content available elsewhere?
In some examples I've seen non-public ledgers, with X nodes run by the same company. And then they claim "we use blockchain so we're tamper-proof!"
A few years ago I was asked to present at an alumni event. Afterwards I met with groups of students.

It had been a very long day, and after the sixth or seventh group of students that met with me completed their "I'm the CEO, this is the CTO, this is the CMO, this is the COO... on, and this is our engineer" speech I looked at the CEO and accidentally snapped "Well, I guess you've learned an important lesson about how meaningless these titles are."

So I agree with you - the pretentious titles hold very little cachet, and not just outside the tech world, but inside it as well. No one is actually impressed at the zero-experience CEO of his own company until he proves something even in tech.
Ask HN: How do you deal with password resets when the user's email has changed?
We've been running into this issue more frequently. Users create an account in our app with an email address and password. Eventually after some time, they forget their password. That's fine, then can put in their email address and get emailed a password reset link to set a new one.

However, occasionally, they get a new email address and lose access to their original one, and then also forget their password. At this point, they're now stuck. They can't perform a password reset because they don't have access to the original email address associated with the account.

What's the best practice for dealing with this situation?

I know some sites ask a series of "security questions" that allow you to authenticate without access to the email address, but are there any other options? I don't really want to store everyone's mother's maiden name or the name of the street they grew up on.

Is there a better way of dealing with this that doesn't leave users locked out because they forgot to update the email address in our system when they changed emails?
How to Set Up Verizon Email Settings: 2020 Guide
I can see both perspectives being possible, but I think what's under contention is less “proportion of computational literacy across the entire populace” and more something like “relative weight of control inputs to the social systems that build dominant technology coming from people who have computational literacy”. Thought experiments with much more obvious unequal channels, for instance: we wouldn't necessarily be in this situation if the major tech makers had a mysterious-wizard-enforced pact to design primarily based on the feedback of computationally literate academics; conversely, if we had a very computationally literate population, but an authoritarian government whom all the major tech makers had to answer to who wanted to keep the genie in the bottle, that could just as well be the situation in the OP. (This is not to pass judgment on other possible outcomes of those situations. I'm also using “computational literacy” here because “tech literacy” feels a bit too wide, even if “tech” has come to commonly be a metonym for “computer tech”.)

The geek/MOP/sociopath triangle wouldn't be a terrible description of the “subculture takeover” that seems to have occurred.
In the case of Odroid Go and Odroid Go Advance, yes. The others no, they're more like an actual product.
Early warning system detects and prevents diseases in banana
How are the courts unable to undo a smart contract? Just like with cash, a victim of fraud can still win in court versus the perpetrator, and the court can order restitution and if that's not possible, garnishment.

Just because something is digitally irreversible doesn't mean it can't be undone the traditional way.
A critique of deBoer's book by another socialist, Current Affairs' Nathan J Robinson, which I enjoyed:

https://www.currentaffairs.org/2020/09/we-dont-know-our-pote...
Hey, do you remember what happened when the civilized world ignored concentration camps previously? How that ended and all that jazz?
This story is like a true crime story written by an unreliable narrator.

“It was dark by now. I was tipsy, but not more so than a regular Saturday night.”

What a strange piece of [fiction || non-fiction].
Certificate Transparency is mostly built out of a Merkle tree hash which is a 1979 idea from Ralph Merkle (also the M in MD5 and various other things) and ordinary digital signature technology of the same sort used in those certificates.

An observer can verify that the log remains consistent (thus nothing can be retrospectively inserted or removed as opposed to appended - without an observer detecting this) and that specific things that carry SCTs saying they were logged were, in fact, appended to the log.

This isn't a blockchain. If you want to call it "blockchain technology" you can probably squint hard enough to do that, see also various "Internet technology" companies from the turn of the century that just consisted of a normal company plus a web site most of which were failures - but I don't think you learn anything from it.

And in fact not all of CT is actually finished and deployed. There ought to be a Gossip system, which would allow clients to er, gossip about things they'd learned, and thus discover any inconsistencies which they can't see individually. e.g if from Turkey the log seems to show one entry for this www.google.com certificate but when seen from France the entry is different, Gossip potentially allows a Turkish client to tell a French client what it saw and the alarm is sounded. Gossip is necessary to ensure logs can't deliver a split horizon view and to loop back the trust from SCTs to actual log records, but it's fraught to do this in a privacy-preserving manner.

The actual deployed system works for two reasons, which I've no doubt would horrify Blockchain proponents who worship at the altar of distributed consensus:

1. The actors (root Certificate Authorities, trust stores) are basically honest. They're not always competent or diligent or open but they mostly don't deliberately spread falsehoods, so the records in CT would probably be almost as useful even if it was just a huge text file or something with no cryptographic basis of trust.

2. The main clients mandating CT are Safari and Chrome and both of them require that certificates are logged with Google (and somebody else, but you can pick who). So attacks that require falsifying the logs can't work unless Google does them. If you're Google this is enough. If you're not Google it's still pretty satisfying, why would Google build this complicated and relatively expensive system just to lie to me about something I otherwise would have no way to know about in the first place?
With the business world's dependency on China for cheap manufacturing, I am not surprised one bit. I feel like China has been trying to sink its cultural claws in us for a while... why else is seemingly every business always celebrating Chinese new year every year? I feel like the number of lunar new year celebrations have increased dramatically in the past 5 years
and many years later?

As I understand it the benefit is to have strong recall over longer than just an exam or university course; more like for an entire career stage.

How far into your career are you, and how much of the material you learned in this way have you retained? Have you fairly tested the retention?
To save everyone having to scroll through ¾ of the document before finding it, the flowchart OP means is on page 53 of the PDF (labeled "page 42" at the bottom of the page), figure 6.
Nobody wants to read this on HN. If you disagree post why you disagree, an insult like this serves no purpose other than alienating alternative opinions. If I had the karma I would flag you.
Performance is not a factor in shell scripts where the majority of the work is done by C-programs and the script merely shuttles parameters to the desired places.

It's not as if bash were fast, mind you. Lisps already exist.
Looks pretty cool! How would you self-compare your tile editor vs. mapeditor.org ? Where there any interesting ideas etc. that you tried in yours?
This isn't a question of idealizing people who lived thousands of years ago, it's just an observation about how ideas pass through the centuries. Also, philosophers who wrote thousands of years ago are relevant today. It's not like we've answered questions like "what is knowledge?" "what is good?" and so on.

I never said that "only since Marx" was the government an instrument of violence owned by the ruling class. I said that idea is a Marxian idea. And it is. Also, I never meant to imply that it's a wrong idea (I think it's wrong, but you don't have to).

The fact that you're mouthing ideas from Marx without even realizing it while denying the concept of intellectual heritage is stunning.
For products where labor is a big input, yeah the delta is probably too high for most unless we get carbon taxes, tariffs, or some other factor that evens the field, but the US also supposedly has quite a bit of highly automated manufacturing. And the purpose is to allow people who place a premium on that to consider it.

But yeah, it could also serve to give visibility into the breakdown of countries of origin, for those who just want to avoid sending money to countries they view as abusive.
>As for the comprehensiveness of the Bible yeah what your saying is logically correct, but seems a bit disingenuous. Why not include the Quran and Book of Mormon in the holy scriptures as well if the Bible isn't the "end-all"?

Because, as I said, in traditional Christianity, while the Bible is not the be-all-end-all, it's not supplemented by anything-and-everything.

Rather, the other important elements are the oral tradition of christians, lived experience of the church community, the so-called prominent figures ("fathers of the church"), etc.

So the Bible is not everything, but there's no room for the and Quran and Book of Mormon in there still -- there are other things that are accepted by (non protestant) Christianity that supplement the Bible -- not just anything.
A flexible JSON/YAML linter, with out of the box support for OpenAPI
While what's going on in the US is definitely bad, that appears so far to be an isolated incident involving a small number of individuals, and, while terrible, it's not really at the same scale as China's organized organ harvesting of minorities and dissidents. Evil is evil, and clearly the U.S. has done wrong, but whataboutism like this reads as an effort to dismiss the issue.
A few individuals buying less stuff isn't going to have much effect. We need something more like the west putting 50% tariffs on Chinese products so all the manufacturing starts moving to other countries. That would probably get their attention.
You are allowed to rip CDs even if the same music is sold digitally and you are allowed to DVR a TV show even if they sell DVDs of the same show.

Fair use is a balancing act based on analysis of various factors. In the case of ripping CDs for personal archival purposes, the courts treated that as fair use because at the time there was otherwise no way to make archival copies. It's very possible that today a court could rule that making archival copies of CDs for personal use is no longer fair use, because the digital version of the music now exists, as a separate article from the CD, and can be legally acquired. (Note that libraries and other archives still have a statutory archival use exception. Also note that because a CD is a physical good, there are certain rights associated with it that would not apply to content acquired digitally.)

For TV shows, it's not the same thing, since a DVD of an entire season is not the same thing as being able to view just a single episode. That being said, with the rise of digital, on demand availability of individual episodes, the original fair use justification for VCRs and DVRs has basically gone out the window.

The original Tivo could not exist today, and indeed...it does not: Tivo no longer offers standalone DVRs. Hulu, Youtube TV, your cable DVR, all of those services license time-shifted viewing rights from the copyright owners. (Yes, the studios created a new type of right just for this...)
Ah, yes! I was treating those as effectively “part of” the condition mechanism for the comparative explanation, but you're right that that's misleading in CL. Thanks for the correction, or, shall I say, good catch. :-)