skysight-inc/HackerNews huggingface dataset:
Works great! I've never been a fan of the game Set myself, but enjoy seeing these projects that bring classic games online. I remember enjoying an online version of Puerto Rico, many years ago, that was something like a Java Applet app. Wish that still existed.

Side note, "With Friends" is a trademark owned by Zynga; I have no idea if they aggressively go after even personal projects, but just an FYI in case you didn't know.
Let's not confuse accountability of decision making entity with consequences faced by the accountability. I was referring to the former, not the latter. The former is a case for law, the latter is a subject of law enforcement. In the case of Nestlé, you have a clear assigned accountable entity. We don't have that with algorithmic decision making (yet) where organizations wash off their hands saying "Oops! It was an algorithm, we didn't do anything!" Weak law enforcement is not a reason to not have proper laws in place.
I second this. I've been trying to find some system to organize my teams knowledge base. We tried Slab, Confluence, Notion.

Everyone had so many gripes in the end, we just returned back to using google drive/docs.
When does this export ban get executed?
I am not a mathematician, but the problem seems easier to intuit. Like a lot of math problems, a formal proof is annoying but I definitely think a regular joe can convince himself why this works.

Start at i,j with heights h_i < h_j. Then we know that if i is involved in the solution, it must be paired with j.

We know this because if it's paired with any other point, the other point is either:
a. shorter than h_i, which means it's shorter than h_j. And since it's also closer to i than j is, the area is smaller.
b. equal or taller than h_i. But this will never make a larger area since the height will be limited by h_i, but the distance smaller than the distance from i to j.

So we can stop considering i as part of the solution space.

Of course that doesnt make it a good interview question. It relies on a brilliant stroke of insight, rather than relying on established data structures or algorithms.
I’ve used LZ4 and Snappy in production for compressing cache/mq payloads. This is on a service serving billions of clicks in a day. So far very happy with the results, I know zstd requires more CPU than LZ4 or snappy on average but has someone used it under heavy traffic loads on web services. I am really interested trying it out but at the same time held back by “don’t fix it if it ain’t broken”.
This got me digging a little further, and (as a consequence) I just learned something new and fun: the current libarchive-based BSD tar can create and extract a ton [1] of other formats, including ZIP, RAR, and 7Zip files!

That'll save me some time next time I need to extract one at the command line; I always end up having to look at unzip's man page to make sure it's actually going to do what I want, and the 7zip command line utility's kind of funky (and not installed by default most places). But 'tar -xvf filename' is permanently burned into my mind and pretty much always does exactly what I want.

[1] https://www.freebsd.org/cgi/man.cgi?query=libarchive-formats...
> Recompressing all packages to zstd with our options yields a total ~0.8% increase in package size on all of our packages combined, but the decompression time for all packages saw a ~1300% speedup.

Impressive. As a AUR package maintainer I am also wondering how the compression speed is though.
I wonder if https://en.wikipedia.org/wiki/Buffalo_buffalo_Buffalo_buffal... has a Japanese equivalent, or perhaps just 100% hirigana will easily confuse this, thus making context-dependency a necessity.

The content is good, but unfortunately if I came across this domain name in a search engine result page I would think it was yet more SEO spam --- over two decades of Internet use has made me weary of domains containing words like "best" in them. (For similar examples, think of domains like best-antivirus-2020.online --- sounds like a fake AV scam.) IMHO the proliferation of such TLDs has only made things easier for phishing and such.
How could it not? Supposing illegal activity exists, including it will increase GDP. GDP per capita could decrease if you suddenly count people you'd missed, I suppose, but I doubt that that'd be significant.
I’m working on a MacOS app and I started with a somewhat similar idea but with Go instead of Racket. I ended up ditching it for pure Swift. The main difference between myself and the author is that I ended up really liking Swift. Otherwise I would have stuck with my original approach.
Compression speed can matter in general (to improve build times).

For xz, you need to compress with chunking (and may be indexing for more benefit), in order to allow parallel decompression to begin with. Otherwise xz produces a blob which you can't split into independent parts during decompression, which makes using many decompression threads pointless.

But yes, if parallel compression is creating non determinism, you can do all the compression work with chunking without parallelism, still allowing parallel decompression. But I'm not sure why it even has to create non determinism in the first place.
This article seems out-of-date by 5 years or more even though it was published today, and I am unsure as to why.

It calls out long short term memory but doesn't mention recent (last 5 years) improvements like Gated Recurrent Networks (GRUs) or Transformers (GPT-2, huggingface/transformers) which have shown significant improvements over the traditional LSTM model. These can handle time series data much better than older models could.
Canadian, but I'm not really informed enough to answer your questions - just to point out that Canada and the USA have different racial demographics. They've got nearly the same % of white people, but Canada has a 3.4% black population vs 12.7% in the USA. (Canada mostly makes up the difference with Asian population, 14.7% vs 5.4%.)
Because proving causation is always difficult if not impossible? Or because in both cases we have a personal bias that makes us not want those programs to have worked, despite not being able to disprove causation either?
>Should the compiler get to decide arbitrarily at which point a program becomes important enough to optimize

It probably already does. In a real program run with a real compiler you cannot reasonably know what the optimization process is going to do. You have to look at the output.

>It's to get you, the programmer, to think about the cost you incur by going further down in this table when choosing your language/environment.

>Lots of programmers today aren't aware of this table.

Please don't. You don't have to be a CS prodigy to notice the size of an executable or the fact that a program is starting slow.
Are you sure this counts as cheating on your wife?
I’d argue that the properties of most / all tissues undergo changes when subject to stress.

Stress ramps up blood pressure, causes changes in the properties of blood directly, increases inflammation, down regulates the immune system and healing in general, increases muscle tension generally, constricts blood vessels, causes changes in hormones and cell signalling molecules in general.
You pre-summarize, because you tell someone something, you tell them why you are telling them. So they can judge whether it is worth reading on. And to tell someone why, you have to state in a sentence or two what you are going to tell them.

The good thing about technical documents is that you can just skip the parts you don't want to read. But it is there for the people who do want to.
It's a bit of both. But mostly white women do not want Asian men.

Look you grew up in america, I grew up in america. We're not that different in what we want, and it's the same with asian women and white women.
Ok, so how you would write this (at least the first section, explaining the error) constructively could be much shorter.

"The author of that post has a common misconception, which is that spin locks are a fast drop in replacement for uncontended mutexes. They aren't. You can only use them well when you know you won't be descheduled, like we do in the kernel. In a generic userspace program, you don't have that knowledge. The possibility of your time slice ending skews all the time measurements, for example."

Boom. Roughly the same message. Most people will get the same amount of edification from this as Linus' original letter. You could go in to more detail if you want but it's not really necessary. Smart people will figure it out if you just point out the general shape of the error. No need for calling code "garbage."
Their grammar lacks the crucial component that is the recursive structure of natural languages, which was originally pointed by Chomsky, et al.

Here's how I (Japanese native) would do it:

SENTENCE = S 。
S = BUN* verb | BUN* NP be-verb
BUN = NP pp | adv (pp = postposition, or 助詞)
NP = noun | adj NP | S NP

Warning: this is a highly simplistic version. But this way, things like "今日 築地 で 寿司 を 食った 。 (Today Tsukiji [place-mark] sushi [object-mark] ate .)" could be parsed as follows:

(S (BUN (adv 今日))
(BUN (NP (noun 築地)) (pp で))
(BUN (NP (noun 寿司)) (pp を))
(verb 食った)) 。

Then, this can be further extended to a compound sentence: "築地 で 食った 寿司 は うまい 寿司 だった 。 (Tsukiji [place-mark] ate sushi [subject-mark] good sushi was .)"

(S (BUN (NP (S (BUN (NP (noun 築地)) (pp で))
(verb 食った))
(NP (noun 寿司))) (pp は))
(NP (adj うまい)
(NP (noun 寿司)))
(be-verb だった)) 。

p.s. Yoda has nothing to do with this grammar.
This is awesome! I've always wanted to try this. The only real complaint I have is that "da" is not actually a copula in the strictest sense. It's a contraction of "de aru". Similarly "na" is not a modifier. It's a contraction of "ni aru". "aru" is the verb which is the closest you get to a copula in Japanese - it means "it exists" for non-animate noun-phrases.

So if you say "sakana da", it does mean "It is fish", but so does just "sakana". The copula is implied. The "da" is completely optional and is actually only added for emphasis -- the literal translation is kind of like "That it is fish exists". In literary Japanese you would say "sakana de aru", "de" being the particle that links a verb the the means with which the verb is executed. For example "basu de iku" means "will go by bus" -- bus is the means by which we will go. In "sakana de aru" or "sakana da" we are basically saying that "fish" is the means of its existence.

The "na" modifier is also interesting. It is really "ni aru" where "ni" is essentially the "direction" in which something exists. "Something like a fish" would be "sakana no you". If you want to say "It is a fragrance something like a fish" you could say "sakana no you na kaori". Although I'm not aware of any modern Japanese that would express it like this, this is equivalent to "sakana no you ni aru kaori" -- "It is a fragrance that exists in the direction like a fish". Hopefully you can understand.

The interesting part of this is that adding "ni aru" to the end of a noun phrase just turns it into a verb phrase. And the even more interesting bit is that the only thing that can modify a noun phrase is a verb phrase.

But, you may have heard of "i-adjectives" -- these are adjectives that end in i. In actuality, these are not adjectives! They are verb phrases! So the word "cute" is "kawaii". However, the actual word is "kawai" and the inflection is "i". That's why when you want to say "not cute" it becomes "kawaiku nai" -- the "i" turns into "ku" because you are inflecting a verb.

This in turn is why you modify nouns directly with "i-adjectives". "kawai sakana", or "cute fish". Other adjectives are actually noun phrases in Japanese. "yumei na sakana" or "famous fish". This is, again, exactly the same as "yumei ni aru sakana" -- "The fish exists in the direction of fame".

So the rules are even simpler than presented in this blog post.

By the way, for anyone trying to learn Japanese and who wants to go beyond phrase-book level: learn plain form first and polite form later (if ever). Japanese makes absolutely no sense if you learn polite form first. It's incredibly logical (even the polite form extensions) if you start with plain form.
Very first sentence: "A computer made from strands of DNA in a test tube can calculate the square root of numbers up to 900." (actually in the third sentence they clarify it is square numbers only).

Pretty sure most people can't do this. Even if we mean most people in a country where everyone graduates high school.
How do they have a right to it in the first place? Copyright is only given on condition of it becoming public domain later. And now they are trying to undermine it becoming public domain. Which in turn, should mean they are trying to undermine their own right to it. That's how it should work, if the original intent of copyright is followed.
Aren’t a lot of top athletes into therapies related to this?
It's not new at all. It goes back to Brinch Hansen and Hoare in the early 1970s.[1] Modula and Ada had it. But the C/C++ crowd tends not to know about it, because Unix and C did not originally have threads and concurrency was a retrofit.

[1] https://en.wikipedia.org/wiki/Monitor_(synchronization)
This reminds the early days of PHP/Perl where everything was $o or print $output

Makes me laugh, definitely will not use.
The official leetcode endorsed proof is quite simple: https://leetcode.com/problems/container-with-most-water/disc...

It just doesn't bother with the counting argument that OP makes.

Also, the largest cross section of a cube is a rectangle of size √2, not a hexagon (3/4 √3). The largest regular polygon cross section is a hexagon.

http://mathworld.wolfram.com/Cube.html
Isn't it a joke contraction about schedule + scenario?
Donald Knuth on Algorithms, Complexity, and the Art of Computer Programming
I need something for Windows so badly. Thunderbird is just so...meh...and there is nothing else that I know of.
See also: https://github.com/cenkalti/rain
So even if the url got bumped to 12pt, you'd complain if the rest was 15? I think that's weird.

As long as it's on the same line as the title and easily legible, I really don't see a problem.

And it's not a spot of secondary importance. If it was still in the title, making it longer, the spot where you see the url would have title in it.
Don't you have problems with deliverability? I've found sending emails directly from an AWS IP (i.e. not via SES) has major issues with reputation management. It's really easy to have outgoing emails mysteriously spam filtered.
It's an algorithm problem, not a C++ problem. Also, iterators prevent random access. You can always get iterators from a vector if you need them. And mutability is provided for convenience and because const doesn't matter in this situation.
FWIW, I strongly believe debt is never ok. It can be ok in the same way a hospital surgery is ok (you have no choice). Mortgages are not sustainable either. Just because the practice has been popularized in the west for centuries,it does not make it a sound practice.

It is possible to buy a house with money you saved. This also makes a lot of sense when the house will be passed on to the next generation (like it is done in africa).

Debt is spending your future cashflow for short term gains. Cash flow/liquidity is much more important than equity and net wealth(short term). I'm sure you know the old principle of "being poor is expensive" and "you need money to make money". Debt takes away your liquidity, the small things/"broken windows" you will always need to care for become neglected. Unplanned emergencies ruin your plans,etc...

At a national level, you should know how many african nations have borrowed endlessly and still gotten nowhere. Even after debts are forgiven and stable peacful times last decades.

Accepting debt is accepting a parasite. Havig a plan to pay it off is essentially saying you have a plan to kill the parasite before it kills you. Similar to how people think "it's ok, I can quit" before getting hooked on drugs.

YMMV.
But this is how democracy worked from the very beginning. Only free men, property owners voted. The Greeks would call "democracies" of today, ochlocracies, which they deemed to be the worst form of government. Voting of largely irresponsible people with nothing to lose.

It's either prequalification, or manipulations to make those voters irrelevant, reduce them to just noise. And of course, in today's world of lies, manipulations are the way to go.
Only reselling already implemented stuff is neither software engineering nor what I love.

$240k would be a highly respectable income pretty much anywhere in almost any field. In most of the world, doctors are paid less than that while routinely working night shifts and constantly making life and death decisions about their patients, and you’re seriously complaining about being paid $2k/day for fiddling about with stuff on a computer?
Thanks for this I was looking into setting up an LLC this year. I’ll check them out!
Any thoughts on support for textual representation of the diagrams?
Utilitarian Nightmare: Offensive Security Tools
> The batteries should be standardized so that refurbishment and recycling can be done en masse.

To clarify, ebike batteries across manufacturers should be standardized.
Or

tar -acf blah.tar.zst blah/

-a figures it out from the filename extension, and its zst not zstd.
Yes, books are worth it, and you are missing out. It's fine to read them online, but Reddit comments, daily conversations, Cliff's Notes, etc., are not an adequate substitute, and neither are books filled with fluff, anecdotes, and trivialities. Bullet-point-style summaries give you the illusion of understanding, and maybe a preview of what you could learn, but actual learning is something else.

Learning is when you become able to do things you didn't know how to do before. Books, especially textbooks, are a useful resource for learning. But just reading a book, even a good one, will not cause you to learn by itself. You still have to spend effort on practicing the skills the book discusses.

Most of the information from books is freely available online on Library Genesis. But be careful; some books on Library Genesis are there without a license from their copyright holders, which makes it illegal in some jurisdictions to download them.
I noticed a few things with the Go code that confused me. I haven't coded in Go in quite some time, so I may be way off.

`copy(buf[1:], h.Pstr)`

In this line, are you copying the entire buffer to a string? Doesn't it overflow into other data elements?

Also, and I may be wrong, in the following line, it appears that you are casting to a []byte when it's already a slice of bytes, which should still be fine.

`peers[i].Port = binary.BigEndian.Uint16([]byte(peersBin[offset+4 : offset+6])`

I really enjoyed the tone and the code. I'm not done with the article, but I love it so far.
My (non-native) criticism :-)

The be-verb is optional in S. "S = NP" is completely valid grammatically. Also "adj = BUN* verb | B* NP be-verb" if you allow "i-adjectives" to be classed as verb phrases (as they were historically) and "na-adjectives" to be "noun-phrase ni aru". So you would actually get:

SENTENCE = VP | NP
VP = BUN* verb | BUN* NP be-verb
BUN = NP pp | adv
NP = VP? noun

I'm also not sure about the fact that "adv NP be-verb" is allowed by this grammar...

Edit: spelling
>Debt is spending your future cashflow for short term gains.

No, debt is spending your future cashflow to increase your future cash flow.

>"you need money to make money"

Yes. This is where debt comes in.

>Debt takes away your liquidity

No it increases it. Debt lets you turn an illiquid asset like a building or accounts receivable in to immediate cash.
Hovering the navigation on the left could also highlight all linked components as well, giving a better sense of what you can drill into (without having to discover for yourself by moving your mouse all over the diagram).
This notarization nonsense is being implemented very poorly it sure feels like. Shouldn't we be more focused on sand boxing and default settings for the sandboxes, vs forcing user applications to ask for everything they need? Put the burden on the runner, not the application.

Am I missing something fundamental here?
Warcraft 3 was what first made me worried when I heard they're doing StarCraft 2. W3's graphics were very visibly low-poly and had this specific color palette that made the whole thing look distinctivly non-serious. It ruined the game's mood for me and my suspension of disbelief.
https://outline.com/CpFycx
I have had the same mindset as you. I got a project to create a website including the backend. At that time I started learning Flutter and Flutter Web also got released. But Flutter is easier to learn and faster to develop when comparing to other frameworks like React Native and all. Since I am familiar with Java and C# Dart was easy for me to learn. So I started to develop the website in Flutter Web. I finished most of the things within two weeks including the backend. But there is a problem in the performance when scrolling. It's a known issue. Same happening when browsing the site in the mobile browser. So I had to change the Framework from Flutter to Angular Dart. I started learning Angular TS few years ago by watching Udemy tutorials. But unfortunately I did not understand anything. But I learned Angular Dart myself by looking at the Documentation. Now I am good with the Angular Dart.
As you have said in the post, code sharing will be a problem but only the code that you could share is Business Logic. You have to re create the UI for each Framework. It's not a big deal.
If we were able to provide perfect datasets you would be correct. As it is our datasets are imperfect and ML models are only as good as the training data.
Might wanna throw in how to be empathetic, how to listen, not judge too harshly, generosity, environmentalism, volunteering, etc. You risk turning your kid into a one dimensional corporate ladder climber while you project your fears onto her/him.
Movement is stirring:
wikipedia.org/wiki/Reparations_for_slavery
Another one of your posts I remember learning a lot from: https://news.ycombinator.com/item?id=13906535

Do you have any recommendations for material that teaches Japanese in this manner? I've found few resources that actually go into etymology like you have shown.
#4: Vitamin B12
I'm glad it's not a problem for you. It is for me, though, and the point of accessibility is to enable use by everyone.
I'd love to see Zstandard accepted in other places where the current option is only the venerable zlib. E.g., git packing, ssh -C. It's got more breadth and is better (ratio / cpu) than zlib at every point in the curve where zlib even participates.
You may put that memory at ease, he was just acting.
> The most progressive approach is to assume that there are no intrinsic differences between protected groups, and any difference in the data is the legacy of past discrimination.

That's an irrational assumption and an ideological one at that. Your analysis would thus be ideologically biased.
What do you mean by textual? Like ascii art?

In general I’d love to be able to export this to some non-web format, but I just don’t know any that fit given that there’s 3 dimensions (layers of the diagram, scenarios for each layer, and frames for each scenario). All the formats only support linear traversal (eg pdf pages, gif frames). Exporting as a directory of files viewed as a tree hierarchy is the closest I can think of.