skysight-inc/HackerNews huggingface dataset:
I personally really appreciated the additional details in Linus's version.

When I read your version, I learn that spin locks are not a drop-in replacement for uncontested mutexes. That's great, except that I don't really know for sure what either of those terms mean, and also I didn't gain any knowledge that doesn't relate to this specific situation. It also wasn't super convincing -- I could just as easily see someone post a reply saying "well actually spin locks ARE a drop-in something something mutex" and I'd have no way to tell who was right.

Linus, on the other hand, told me about the mechanism by which the problem happens. I learned about how the scheduler sees spin-locks' loops, and that the main advantage of "real" mutexes is that the scheduler knows who's waiting on what. I also wouldn't necessarily have realized the "take clock measurement, then get descheduled before you release the lock" issue if he hadn't called it out specifically.

Sure, I guess "garbage" comes off a little mean, but "the author has a common misconception" almost sounds more passive-aggressive to me.
This is an excellent suggestion, I might just do that. Thanks!
Samsung squits out something like 50+ models per year. That’s about one new model per week. How is that any better than what Apple does?
In Japan’s Vanishing Rural Towns, Newcomers Are Wanted
Warning: Don't try this at home! One might win a battle, but not the war. My chess buddy magically started with "s q u e e z e" tiles at scrabble. He had obviously palmed them. My wife twigged later and he is now banned. By the way, nice example of computer vision.
How Transformers Work (2019)
> This is an iFrame of a diagram [...]

Why do I give a shit as a potential user that this is an iFrame?
Humans, like all surviving animals, have a strong reproductive instinct, as required by evolution. Thus, many women have children.
JohnNagel sought asylum in Netherlands dpersecution clandestine NSABLACKOPS
So you think people who receive part of their pay in cash should be taxed less than people who don't?
https://science.sciencemag.org/content/367/6473/83
Perhaps ironically, Microcenter's Santa Clara store endured a death spiral a decade(?) ago that looked similar to what Fry's is suffering now.
The BEA is an interesting little bureau. They have to resist a lot of pressure both from politicians and law enforcement.
This makes me itch.
C and V are definitely in weird places on staggered keyboards. Most "touch typists" even use the wrong finger for C because it's in such a strange place. You might like an "ortholinear" layout, which puts everything in a finger's column in an actual column, making it very clear which finger is responsible for which keys. Typing C/V/B feels a lot better, especially C.

The downside of trying an ortholinear keyboard is that there is some significant adjustment time. I think it took me a about a month to switch from a normal staggered 60% keyboard to an Ergodox EZ, and I have a lot of trouble going back to a non-ortholinear layout. People on Reddit assure me I am an idiot, though, so maybe it's just me.

I bring it up because the layout really does help with that lower row, and if you are explicitly noticing mistyped keys there a lot, it might be worth trying it out. You will never be able to use a laptop again, though, so it might not be worth the cost.
I'm favor of Linus version. They are not the same message to me. He clearly explains what really would happen behind the scene.
I think it's much more clear if you start by trying to apply the constraint to the brute force algorithm.

The water container area is the distance the two sides are apart (width), by the height of the shorter side [therefore, the longer side acts to mimic it].

Doing brute force on array $[n_1 n_2 ... n_k]$;

You'd naturally start at $n_1$ and calculate volume $V(n_1, n_k)$ and work your way inwards calculating each volume. However, if at any point $n_1$ is the shorter side, then the secondary side $n_j$ now mimics $n_1$ in height; and therefore, any new side closer to $n_1$ cannot increase the height of the container (but would decrease the width, and therefore area).

Then you'd continue the same with $n_2$, breaking iteration when $n_2$ becomes the shorter side or if $n_2$ cannot develop a greater area than $n_1$ did (either n_1 > n_2 or oldArea > n_2 * width).

etc.
That doesn’t matter, because it’s not a binary choice — that is, we don’t not spend money on NASA because of the deficit.
Interesting. Wish it is more complete at lest have some negative. But do not want to pay up.
because that indicates that this product has iFrame capabilities just for the graphs therefore you can easily add it to for example Confluence..

Just because you dont understand it doesnt mean you need to be rude.
Zstd has "fast" negative levels (-5, -4, ... -1, 1, ..., 22). -4 or -5 are purportedly comparable (but not quite as good) as LZ4.
Also add crypto algorithms to that. I know of too many people that thought, a SHA-512 is fine for passwords. /facepalm
If the difference is mostly white women not wanting Asian men, then your whole

> First of all if this were true you'd see tons of asian men dating white women to escape the cultural pressure. You don't see this at all, the phenomenon is largely among women.

argument is invalid. What's more there's no reason for you to be distinguishing between wants of asian men and women.

Your conclusion imo should just be that women of all races find asian men too weak to date. Men either don't find asian women weak, don't care, or care but in a positive way.
Definitely an advancement over draw.io however isnt this just mermaid diagrams?
Thanks and using lisp or list structure help quite a bit.
It's a different programming paradigm. Libdispatch is really meant to be a form of coroutine-oriented asynchronous serialization. It can be used for synchronous locking but it's not particularly good at it.
I think you need to give details and references to support a claim that these innovations make a fundamental difference.

I don't doubt that the things you mention involve improvements but are these improvements doing better on the same benchmarks in the same fashion or a fundamental change. I read many claims that recent changes in deep learning represent the former.
Walls of text are great, just use / and search for what you want. Between that and command history, I think this is the best way to navigate software.
What I'm reading from here:

> Or at least be aware of it, and have some virtualization-aware paravirtualized spinlock so that you can tell the hypervisor that "hey, don't do that to me right now, I'm in a critical region".

is that your kernel could be hypervisor aware?

Could you compile a kernel that flags itself as being in a critical region all the time? Would that give you a whole CPU indefinitely?
Ah, good point. So it depends on your site. Some sites need to do things like serve embeddable content or be an OAuth identity provider, etc., and SameSite=None is required in those cases. Sorry for not being more clear about that.
Any links to heavy time series based machine learning algorithms? I'm in finance, and while I know how to establish and run a random forest or gradient boost regressor using standard libraries, I've never had a good handle on them.
Over the years I've written here several times about my efforts to explain and overcome mysterious chronic health impairments including fatigue/lethargy and tension/pain.

In recent times, my research and experimentation has led me to explanations and treatments that focus on the fascia, and whilst I've not yet achieved full recovery (a recovery time of several years is par for the course with these kinds of issues), this approach does seem to be helping to improve my conditions.

The approaches I've been undertaking include yoga/pilates-type stretching exercises and specific types of massage that seek to break up fascia "adhesions" [1].

I'm being careful not to make any specific claims of diagnoses or remedies, as I'm fully aware from my own experience (and background as a scientifically-minded person) that this this whole topic is nascent in terms of solid scientific evidence, and rife with pseudoscience.

But it does seem clear to me that there is "something there", and that more research into this topic could likely lead to explanations and remedies for conditions like "chronic pain" and "chronic fatigue", which many people currently endure for years or for life without understanding or relief.

[1] It's not the only work I've been doing; as I've written about here before, diet, cardio exercise and emotional work have all been part of my regimen for some years, but since introducing the practices that focus on fascia, my condition has improved faster and in different ways.
Might want to check out GroupIt!, a set-like game I recently released for Android, which works on both phones/tablets and supports portrait/landscape modes along with several other features.

https://play.google.com/store/apps/details?id=com.hercules.g...
My experience with CC is not that bureaucratic, where it took weeks/months for a single line change. Simply a discussion and negotiation at the weekly meeting between the stakeholders.

Is this not common?
Amazon didn't have the kernel expertise to develop kernel features required for containers like Google did, and had massive sunk costs in their bespoke hacky solution (Apollo environments).
Interesting thoughts!

> Companies will start to pay users for the right to see and use their personal information.

Retail companies already do that, right? With "loyalty cards". Correct me if I'm wrong - I've never used one.
Is this the same as denying third party cookies?
Keep documentation close to the source to increase the odds it gets updated. Prefer READMEs to Wikis, and use source comments to generate docs rather than word/google docs. Some doc tools even test examples for you!

It's not perfect, and good documentation is an art, but if you care about your software and your users you'll try to communicate clearly.
Thanks! Are you referring to this? https://mermaid-js.github.io/mermaid/#/

If so, that looks like the output is still single-image diagrams. The differentiation of Terrastruct is having an elegant way to aggregate what would've been many diagrams, to express something complex, into one.
In soceity there seems to exist a belief that the largest emergencies are "hard", like police, firemen etc.

I want to see more about social "soft" emergencies where we focus more on the above. That is the reason for most "hard" emergencies.

Hopefully someday. But the meetings where all this is decided does not have people focused mainly on "soft" problems.
> if I came across this domain name in a search engine result page I would think it was yet more SEO spam

Their main landing page doesn't inspire much confidence either: https://japanesecomplete.com/purchase
The combination of layout and font gives that sketchy feel. I'm sure the content itself is great, but I think it would benefit from a bit more carefully constructed site along with some sort of trial (á la Wanikani) since almost every resource claims to be the panacea you've been looking for.
It is indeed SEO spam, although atypically well written and informative. At the bottom of the post, they encourage you to pay $2/day (!!) for their learning service hosted at a real .com domain.
The Sunnyvale store burned to the ground. They've opened a new one on Lawrence next to St. John's, across Lawrence from Fry's.
Well done. Just bought.
This claim seems plausible.

The reason seems even simpler than the article. Deep learning requires lots of training data - that data naturally needs to more or less be "the same"; follow "the same" logic.

A long enough time series is going to involve a change in the logic of the real world, a change that the network won't be trained for.
Http basic/digest auth doesnt last beyond the session, so just close the browser window?

Probably putting a different username in the url would work too (in non ie)
As shapiro92 commented, it's for the purpose of conveying that it can be embedded. You're right that I should make that more clear, I appreciate the feedback.
He didn't say "idiotic", not even once. Getting old.
Show HN: Dynocsv – CLI Tool to Export DynamoDB Table into CSV (written in Go)
XC is where it's at imho. It's not perfect, but it improves upon KeePassX a KeePass improvement itself. It's fast, cross platform, and has decent encryption options. It's probably not for sharing with a team of any size, though I have done it and fought with locking via outside communication, but I just hate all the enterprisey cloud password managers that live so close to a browser, and find myself going back to keepassxc (and gpg and ansible vault).

There is room for growth in the business passman market.
> Curious how labeling the personality as "on the spectrum" makes it more palatable

It eliminates malicious intent. If you know they can't help it, you still might think it's not worth working with them. But you know that it's not personal.
Copyright expires and now it's an advert soundtrack for worm pills or sanitary pads.
Elizabeth Warren is the author of a book called The Two-Income Trap - which is mostly apolitical and talks about an interesting economic/statistical paradox.

If a man and woman make equal amounts in a marriage, they are twice as likely to undergo financially hardship as a marriage where the male is the sole breadwinner. This is because almost any couple is going to budget more than 50% of their total income regardless, so a single firing or loss of job can lead to financial hardship. It is paradoxical because a second income should provide an additional safety net, but because of the way people budget having two points of failure (even if the failure isn't as devastating) increases the odds.

I am unable to get into the original article, but I wonder if it is always the case that men's stress increases if wife earns more than 40% or if it is the case that men's stress increases when the wife earns more than 40% and less than 60%.
Wireshark! Wireshark!

Also lz4, of course.
Compression speed is many, many, many times faster than xz, and (only) much faster than gzip. Really, only lz4 beats it.
He means using a language to generate diagrams. (I use a personal tool that has a LISP-like language to generate simple block diagrams in JavaFX for myself).
It's to the point now where using a basic LSTM is almost discouraged compared to using a Transformer. GPT-2 wouldn't have been possible without these recent innovations.

Here are some good guides on Transformers [1] and attention/ multi headed attention [2], as well as the paper that proposed the transformer model "Attention is all you need" [3]. GPT-2 heavily relies upon the advancements that transformers brought [4]

[1] http://jalammar.github.io/illustrated-transformer/

[2] https://towardsdatascience.com/attention-for-time-series-cla...

[3] Attention is all you need. https://arxiv.org/abs/1706.03762

[4] http://jalammar.github.io/illustrated-gpt2/
Deno Town API Playground
That difference is irrelevant when your production system is updated a lot, or when you actually need the runtime compilation, which a lot of programs do. Even on mobile and embedded where you would think this wasn't true, the customers still really don't care if given the luxury to do so by a fast CPU and high capacity battery.
> nterpretability is fundamentally not a math or statistics challenge

No, I keep on seeing AI/ML/DS people keep on downplaying statistic.

Statistic interpret things. The majority of the models out there have a one to one, predictor to response, holding all other predictor constant (linear regression, logistic regression, arima, anova, etc..). Statistic inference is a thing. Inference is interpreting. Descriptive statistic is interpreting. Parsimonious is a thing. Experimental design is a thing. Degree of freedom is a thing in statistic.

If you want interpretability do statistic. One of it's tenant is to quantify and live with uncertainty not fitting a curve and lots of coefficient to just predict. Not just classification.

It's a reason why biostat or econometric is a thing. Statistic.

Even the blog cited statistic papers even though it barely mention statistic models in it. ~~And Rudin is a statistician and contributed a lot in statistic.~~ Wrong person (I'm thinking of Rubin for casuality and missingness)

This is not a tribal fight between statistic and ML. This is pointing out that ignoring statistic is a detriment to AI/ML/DS as a field.

I predict that 2020 to 2030 statistic will be coming to AI/ML much more so regardless how much people downplay statistic.

~~Seeing on Dr. Rudin is coming over.~~ I've seen other statistician too. Dr. Loh works took decision tree and added ANOVA and Chisqaure to build parsimonious decision tree.
Show HN: Followchain – A follow-for-follow community for Instagram
That's the thing, & really has nothing to do with constness or immutability, and a consistent description of the language should make that clear. It's not a language problem, it's a documentation problem.

And the language has quite simply moved in the opposite direction to that of having more shorthand syntax. Box<> and the then-equivalent of Rc<> used to have their own shorthand sigils in Rust, but these were replaced with writing out the type constructors. Again, if it's reasonably consistent, there's nothing wrong with that. It's quite different from the '?' syntax which is replacing what used to be a special macro, 'try!'. Macros can do almost anything with the code and are pretty hackish, type constructors not really.
Would it then be useful to have a lock that only spins if the current remaining timeslice looks long enough?
And most of the other top-level comments express the same sentiment as mine but at a later time. It’s definitely not worth trying to understand the whims of HN voting.
> Why do you think electric scooters are popular?

Are they really? Where I live the numbers dropped as soon as the summer ended and where I saw at least ten people a day I didn’t saw a single one in two weeks even when the weather was nice.

However the plural of annecdote is not data — do you happen to know any data on that?
This usage is over 20 years old and was uncontroversial for most of that time. I'm not sure there are many people around who even remember previous usage.

It seems like the problem these days is new people learning it from context and not knowing there is an official definition that was settled a long time ago.
If you can make up a story and link it, then you should be able to 'make up' a title within constraints.

There's a pretty clear cut line between editorialising (injecting spin or opinion) and clarifying the context of the title.

In this case the change of title was objectively harmful and the traffic to this post died after the admins made the change, because most readers had no indication as to the importance of this anymore.
Fixing the browser URL subdomain matching issue suddenly makes this usable again, which is great news!

I've gotten used to the painless ssh-agent integration KeepassXC has and really wasn't looking forward to trying to switch to another manager...
Fry's lost millions to an executive with a gambling problem:

https://www.sfgate.com/crime/article/Fry-s-exec-dropped-mill...
The AI Community Needs Fo Take Responsibility for Its Technology and Its Actions
Black boxness isn't a property of the thing, it's a property of our understanding of the thing. Just because we don't understand the how pattern recognition in humans works, doesn't mean the process has no internal structure, or that we couldn't potentially understand it in the future.
>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."

People should be shamed for being ignorant. It stops ignorance from spreading.
This is true. However, suppose that all you knew about two plots of land was that one was bought for $1m and one was bought for $100k. Then, someone asks you which one you should develop.

Buying land isn't like betting on black. Land has a history, markets are (more or less) efficient, and buyers are usually rational. The sunken cost fallacy suggests the answer is a coin-toss, but in the real world, the correct answer would (usually) be the expensive plot.
Ah yes... I implemented Sardine [1] 10 years ago!

At the time, I worked for a large porn company and we couldn't host stuff 'in the cloud' because they didn't allow porn there.

We invested a ton of money into an Isilon NAS to store our image/video content and the best way to get stuff off it over HTTP was via webdav. Unfortunately, there wasn't a good Java client.

So, I built a simple proxy that would accept regular GET requests and on the back end, use webdav to retrieve content from the Isilon. In front of that proxy was our CDN.

Since then, Sardine has been the basis for quite a few other projects.

[1] https://github.com/lookfirst/sardine
I don't follow, are you implying the cash tip is going unreported?
I was talking about fry’s, sorry if I misread.
The first section of Linus's answer reads really rough to me and almost made me stop reading, imagining that it was going to be yet an other entry in the "Linus bullies some poor coder into submission by insulting them until they just stop responding" which is a shame because there's a lot of interesting content after that. I guess I invite the people who had the same knee-jerk reaction I had to give the post a 2nd chance and power through Linus' unnecessarily harsh tone to get to the good stuff.

>Sure, I guess "garbage" comes off a little mean, but "the author has a common misconception" almost sounds more passive-aggressive to me.

The latter might be slightly passive-aggressive (although it doesn't have to be), the former is simply aggressive-aggressive.
Ah, could be. Reading on mobile and all that.
I don't belive the kernel exposes timeslice information to userspace in linux.

Edit: Also, you'd have to predict how long a spinlock was going to spin for in advance.
What was wrong with Notion? I would've thought that it'd be the best option out right now given its popularity.
That's a strange statistic to use to define success. Cocaine is expensive because it's illegal and is associated with harsh prison sentences. Cracking down on the drug might have increased the percent of income spent on it.
This is a prime example of the winners writing history ( or more aptly those currently in power writing history ). Can you imagine a historian writing a book titled "The Eccentric Father of the Death Camp"?

The guy helped build a weapon which destroyed the lives of hundreds of thousands of innocent civilians in a matter of seconds. Oh shucks, what an eccentric and quirky guy he was. Objectively, he is one of history's greatest villains and arguably the one of the greatest war criminals, but luckily, he was on the winning side.

If Oppenheimer was japanese and he helped build bombs for the japanese and the japanese dropped nukes on say Baltimore and San Fran during the war, he would have been tried and executed after ww2 by the victorious US. I doubt "The Eccentric Father of the Atomic Bomb" is the titled we'd use if he was japanese.
I guess we should shame you for being ignorant about human beings and the value of being kind. There are plenty of ways to point out ignorance without being unkind (and the grandfather comment is a nice attempt).
> And the evaluation was completely subjective, so there's not any meaning to the Duke people losing besides that the judges didn't like them.

That's what you get if you use a black box for judging :-)
Ignorance is the lack of knowledge, it doesn't "spread" like a disease. Misconceptions can, but without the original author's mistakes we wouldn't have this rebuttal by a very knowledgeable actor, so overall this is a net positive including for you and me.
Our lad was making a joke