skysight-inc/HackerNews huggingface dataset:
If You're Often Angry or Irritable, You May Be Depressed
I love it. Was a bit confused at fist since the lines can be extended in both ways. Yeah, i see this as an little addictive game. Do you have it on IOS?
Pricing pressure a hard pill for pharma industry to swallow
Making deep neural networks paint to understand how they work
But it was again rewritten in Dart and the Dart version is now the reference implementation. And they did that because for a lot of Sass users, working with Ruby sucked, simply because they didn't have the tooling and knowledge built up to handle it correctly.

Libsass's main "claim to fame" is that just about all languages (including Javascript on the backend) can interop with C/C++ pretty effortlessly. The rewrite was more about enabling more and more users to use the languages and package managers they are used to rather than about speed (especially since the Dart SASS implementation is quite often FASTER than the libsass version!) Take a look at the Sass perf benchmarks below for more info:

https://github.com/sass/dart-sass/blob/master/perf.md

Although keep in mind that a lot of the performance benefits go away when you run Dart Sass via javascript compilation in regular node. But IMO that gives you a lot of choice. You can get the best performance by installing the Dart toolchain and running it "natively" on dart, or you can run it via node for "okay" speed in most cases, or you can deal with native compilation via C/C++ and libsass for a mix of both. It's a nice setup they have going on over there!
Great job! very annoying. I was wondering why they haven't done this before.
They actually make that data you mentioned publicly available already.

With an archive that allows you to go back 7 years or something
Show HN: Django implements time-based table partition management
Even in the UK the raid would have been fairly large for someone suspected of being armed or possessing explosives. The usual tactic is the "dawn raid": https://www.itv.com/news/2017-06-05/fresh-raids-in-wake-of-l...

It's just that because firearms are so widespread the US does a lot more raids, so there are more to go wrong. And the US has no equivalent of HMIC or IPCC, so the standards are a lot lower.
Not an American but I see two obvious incentives:

1) Finances. US police seems to hoard military grade equipment. Creating a high risk situation demonstrates the need for superior firepower because it doesn't even suggest the possibility of a less expensive/dangerous alternative.

2) Politics. Violent raids against armed criminals make for good optics. Escalating the situation demonstrates the threat of violent criminals while also demonstrating a strong police force, allowing politicians to appear "tough on crime".

Additionally Americans have a more Puritan idea of how criminals should be treated (cf. capital punishment, jokes about prison rape, felonies being permanently banned from voting, etc). And a fairly well-established dehumanising "us-vs-them" mentality in media coverage and pop culture.
For reference, here is the runaway stabilizer memory item (the "checklist") for 737:

1. Control column ............................. Hold firmly

2. Autopilot (if engaged) ..................... Disengage

3. IF the runaway stops:

------------------------ [done]

4. IF the runaway continues:

STAB TRIM CUTOUT switches (both) ...... CUTOUT

IF the runaway continues:

Stabilizer trim wheel ............ Grasp and hold

EDIT:

It's #4 that's of interest here. People saying that the interface changed are saying that it's fine if pilots stop after #1, even when dealing with runaway stabilizer for 12 minutes.
Same problem here but I figured out myself how to play from the tutorial
As an expat living in Zurich, I can say that it is difficult to explain to American's what they're missing.
That really depends.

Pegging your fixed timestep engine to rAF could have the consequence of dropping frames when you have a large gap between two frames and enough physics frames get called at once that the next rAF window gets missed. If your performance is bounded by the physics simulation, you could potentially trigger a spiral of death and never catch up.

Of course there are ways to mitigate this, but that just further complicates things.

You have the right idea, adding each frame delta to an accumulator and triggering a physics step when reaches the appropriate value, however rAF is not the answer because it can create a potentially infinite frame delta.

It's usually best to not peg your fixed-timestep physics to rAF or at the very least, pause the game entirely when the window isn't focused.
Still not making myself clear. Some folks will never learn to be a leader, even if they are very intelligent. Things like that are not measured by IQ. Unrelated to being willing to learn. There are many brain-based talents and skills going unmeasured by 'IQ'. Acting. Lying. Empathizing. And on and on.

It may be a symptom of what's wrong with our technological Western view of the world, that we ignore/discount all these when taking the measure of a person.
An unintended consequence of this: sites will use massive animated GIFs instead.

Edit: yeah, i should have actually read the headline and article.... whoops
What is HN-users view of learning a programming language through this kind of problem-solving?

Is it limiting?

Should this be used as a complement to a larger toy project?
This is probably also the reason we have "Facebook Container" from Mozilla (https://addons.mozilla.org/en-US/firefox/addon/facebook-cont...) but not "Google Container" (it exists, but it's not from Mozilla: https://addons.mozilla.org/en-US/firefox/addon/google-contai...) And if if you're feeling cynical, it might also be why the UX of Multi-Account Containers remains so lackluster; confusing enough to ensure that most firefox users will not use it.
You might like Collabora Code. It is a online thin client of libreoffice hosted in a webpage with collaborative editing potential. It should be fine for small groups as the main limitation is memory consumption. OnlyOffice looks promising as the design goal is to work with msoffice formats natively. Onlyoffice is client side run so the server could have more Concurrent connections. OnlyOffice has a professional looking companion mobile app.

The problem at this time is the challenge of getting either solution to host but at this time there may be services that do that for you. Hosting yourself could give you peace of mind that vital files are strictly in your custody.

I have been working on a wizard installer for both with nextcloud but the release is still far off due to my quality concerns.
Exactly. I don't understand why even download the content in the first place... Why not just include some config so that users can decide themselves exactly the behaviour they want?!
Youtube is the one (and pretty much only) site where I generally do want the videos to autoplay.
'Video' is a bit misleading. It doesn't necessarily mean a YouTube show or something. It can also just mean an animated diagram or spinner.
Some comments having flown through the article

> Helper Lambdas

> I like lambdas in C++11. I use them regularly for small helpers that exist solely within a function.

`move` lambdas might work better? The default tries to infer based on usage but often fails. A `move` lambda lets you do something similar to C++'s capture lists (though more verbose / cumbersome).

> BinaryHeap

> The standard library provides a max-heap. I regularly needed a min-heap. I got one by making a custom struct with custom compare function.

std::cmp::Reverse

> I wonder if there is a nice macro crate to help with this? I'd love to write: compare!(a, b, year, month, day, hour, minute);

sort_by_key?

> I wish there was an f16 half-precision float. There's a good internals thread on minifloats that makes me think f16 will happen eventually.

A problem's there is there are at least two "standard" f16 (IEEE and ML)

> There is NonZeroU32. It's similar-ish, but only works for zero. There isn't a Non255U8 or, thankfully, Non4294967296U32.

They're built from the unstable `NonZero` (and the unstable and unsafe ZeroAble).

You could build a struct on top of NonZero which swaps zero and your sentinel value.
People really underestimate how poorly suited our modern political structure is to accomplishing large scale public works projects.

We have loads of critical infrastructure, namely bridges, dams, etc that are long past their serviceable lifespan and are accidents waiting to happen. It's a nationwide problem and we aren't doing anything about it.

Unfortunately all signs point to a scenario where people are going to die before it gets any better.
Downloaded. This is promising, TY!
It's not ELI5, but the best explanation I've seen comes from Envoy-creator Matt Klein: https://blog.envoyproxy.io/service-mesh-data-plane-vs-contro...

"Istio is the control plane and Envoy is the data plane"

"Ultimately, the goal of a control plane is to set policy that will eventually be enacted by the data plane."
You only have to set it once. It's a per-domain setting (not sure if the screenshot in the article explains this very well). The default, in Nightly at least, is to ask the first time a site tries to autoplay video. It looks just like the popup that asks when a site wants your location.
Last Action Hero
Mapping the Landscape of Human Level Artificial General Intelligence (2012) [pdf]
I can make a simple transistor, but what good will it do me? Modern electronics needs billions of them - something I cannot do, and the details to scale my simple transistor require a large society to make use of.

I do agree that there are a lot of things we have learned that do apply, but a lot of modern medicine requires laboratories that we wouldn't be able to build. Hand washing only goes so far, can you make a polio vaccine in your kitchen? Can you make an ibuprofen pill - pure enough to safely use?
Muted autoplay is unblockable because I can write a script that flips through frames. It's also equivalent to GIFs which have been around since time immemorial.
Or, the cost of anything but the most basic development is prohibitive and their margins are too low.
Yes. The original similar concept is called TENS. Oldest, uses electric current simulation.

The other concept was using sound interaction with brainwave monitoring - monaural and binaural beats. There are also light based variants.

Yet other used magnetic fields and another is called tDCS.

There is also hypnosis, pretty old.

These have nothing in common with religion yet are similar to meditation when measured... not exactly identical of course.

I'm quite sure someone would figure out a link between specific thought patterns and physiology in a specialized field like neuroscience...
Do you somehow think that we wait until some charitable Ruby developer comes to the rescue whenever we need something done?

Editors like Brackets are built from the ground up using JavaScript. Any plugin built for it is made using JS.

The front-end build system / tool-chain that I use has been coded by a handful of front-end developers and uses Gulp (previously Grunt but we migrated) as its base. The repository has 620 commits so far and does everything from minifying and bundling code to generating the 10+ of favicon images needed on modern projects.

Even big names such as Webpack are JavaScript based and maintained by JavaScript developers.
GIFs don't play audio. Anyplace where they might be tempted to use a GIF they could just use a muted autoplaying video instead.
It would be nice if this was an option and I could block muted auto play too. Some websites have so much media that the page takes 5 or more seconds to render when I just want to read the text.
No, that very likely means that Firefox's implementation is broken. The website shouldn't be able to detect the difference between video loading really slowly and/or network being temporarily unavailable and video blocked.
uWebsockets is an awesome project! Been following it since the start pretty much, And I'm really glad more people out there care more about performance than throwing more servers at the problem.

Keep it up alex!
Vic 20’s crappy cassette tapes are probably why I became a network admin instead of a programmer: 9 times out of 10 the cassettes never actaully saved my hours long programming sessions.
I'd happily buy one for city commutes when they become available.
More important than trying to find a question of adamantine perfection and blinding luster is the knowledge that regardless of how many hours you have to interview a candidate, your opinion will still be partial, influenced by biases and to some degree wrong.
GIFs have no audio so they're equivalent to muted autoplay, which FF 66 allows.
been waiting for this since v1.0 ... on the other hand, popup windows appears to have made a come back... my dad clicked a "cat video" link on Facebook (external link) and it was pretty scary (had to end task or click download)
> At the same time the new challenges and the new markets are likely to be missed by Google, just like it happened under Balmer at MSFT.

This line contradicts with others. My issue is that Google tries too much to enter new markets. Google is fine with starting 10 projects if one of them will be successful and kill others. It is the same thing you wrote.
On what land is that even legal to do without paperwork?
Almost every prerecorded interview would carry the disclaimer, rendering it meaningless. Though it would be fun to see "fake reaction" every time they splice in footage of the interviewer nodding, smiling, scowling, etc.
Not if Trump deems the talks with China to have failed and levies tax. I've watched too many liveleaks to be able to sit in anything China made
>Yeah, that's the equivocation I am talking about. You didn't say "you've made an assumption", you said "you've basically made an arbitrary assumption".

Arbitrary isn't the right word. Not self-evident is better.

>Right?

No, I'm not trying to prove to you that God exists.

>the argument that you are trying to make, which relies on a different interpretation, which unfortunately is not true.

You are having that argument with yourself, not me.

>unfortunately

I don't think I could write a more condescending, disingenuous statement if I tried.
The 737 models of two generations ago ( 300 / 400 / 500 ) had several fatal accidents in the 1990s due to runaway rudders. That dented Boeing's reputation with users but not with the FAA.
I have only anecdotal data to support my opinion that this is a truly dumb idea. It really tells of the lack of empathy for people on the street
You're the one who mentioned education. It's sort of odd to call people out for misinterpreting your own statement in a certain way when they didn't note anything about that that aspect of your statement.

I think you're trying too hard to justify your original comment. At a minimum, you should address the point in question, not just throw a random non-sequitur back.
"Muted autoplay is still allowed." Hopefully that will remain configurable, that behavior is still visually annoying and a waste of bandwidth and energy.

I've been disabling autoplay in Firefox via about:config since it was available, no audio or video unless I click play. I've never run into a scenario where I've wanted or needed it to be any other way.
People already have died, and the primary response seems to have been to rebuild that one bridge.

Hell, people are dying every day in traffic accidents that could be mitigated with better design (or reduced by making better mass transit as an alternative, which as a byproduct is also much safer than driving).
An Astrophysicist Who Maps the Universe’s Terra Incognita
Lol. If I can use the buttons on my internet connected toaster to play then it just ain't worth having.
Nielsen etc advocate boring, predicrable designs.

A number of others seem to have mistaken simple and boring for dumb and useless.

What happened to the familiar menu?

UX Designers decided it wasn't simple enough and replaced it with hamburger menus and ribbons because "dumb users".

I'm not saying you are one of these UX designers, but lets not pretend they aren't there cause they run the shop at most places it seems, including a number of places in FAANG land.
You don't need a "source" to make that kind of inference.
Population density, small landmass, and extremely high per capita GDP?
So I'm supposed to check my name on my own badge, when meeting someone else, to be able to parse their name correctly? And I should assume that the organizers printed surnames (rather than last names) in the same relative position, despite this being wrong for a lot of people?

We already have a well established international convention on how to write names. Why would anyone create their own?
Its a slow growing book - depends if you like detailed world building. Though technically he gets the lay out of BP wrong - the bit where they vist the bommbe house
This is because of animated GIFs. If you disable muted video people will just use GIFs instead and it'll chew up way more of your bandwidth than a video file would. If you disable animated GIFs someone will make a JS library that recreates it, using (probably) even more bandwidth and CPU cycles.

This was the case on mobile until recently (maybe a couple of years?) and the benefit to users after the change is obvious. I get the frustration but it's very much a real-world compromise with good reason. I do think that they could make this a configurable option though, much like disabling JS.

EDIT: looks like they did: https://news.ycombinator.com/item?id=19077887
Traits are okay: React 'Mixins' which I mentioned in my parent post are basically traits but at the framework level, which allows them to be smart about composing/merging the use of framework functionality normally accessed by overriding superclass methods (eg. componentDidUpdate). Traits still have the composability issues I mentioned for React Mixins: how do you avoid collisions between the namespaces of different traits while still allowing some to compose others?
Boy arrested for “joking” about shooting up school on social media
It is definitely useful, but it severely reduces readability in my opinion. Your example is also a great example for this. The first version in way more readable than the second version with the walrus operator.
Obligatory reference to the Fundamental theorem of software engineering

https://en.wikipedia.org/wiki/Fundamental_theorem_of_softwar...
Oh yeah didn't realize your response was to the original comment. In the case of tracking/advertising there isn't much of a benefit.
> it does make it obvious this is not pure EVOO

How does it make that obvious? A blend of multiple different EVOOs is not uncommon.

> Nothing here is illegal.

Clearly they intended to deceive. I'm not certain it's illegal in this case, but deceptive labeling sometimes is.
I don't disagree with you in the slightest but I really meant on a scale that people will care about.

It's a really terrible state of affairs.
On the flip side this also means if you're involved in high crime, you should expect the police to intend to kill you so you should prepare for killing them first.
I was in Helsinki last year at a music festival with a friend.

The number of people begging for drinks cans and plastic bottles (to sell for recycling) was huge. Definitely in the hundreds. Sometimes we were asked to hurry up drinking, so the can / bottle could be taken.

We also saw many people scour parks for recycling.

I can't comment on the issue of homelessness, but I can comment on the huge disparity of wealth between the citizens of Helsinki.

On one hand the fact that recycling was being taken care of felt admirable. But the creation of an economic underclass felt a bit obscene.
Or have identity cards and with your religion on to boot!
If you build your product on top of existing tech (i.e. open source stacks) then that removes a lot of risk for the client (assuming they are smart enough to even care about that). The trick then is doing this in such a way that you retain ownership, instead of it being a freelance thing.

Companies are willing to do this because they get 100% input on the product direction.
> explicitly Chrome-only

That’s a thing?! Web developers have already forgotten those ridiculous “Made for Internet Explorer” badges and the mess that caused? We won that fight! Wtf!
Exact order of events should be guaranteed for one DDD aggregate, it is doable with simple optimistic locking. So unless your system consists of one aggregate - you should not have scalability issues.
And what about "the big one" earthquake expected in California in the coming decades?
> Less than 1MB allocated in total for processing more than 122 Million requests and generating their responses!

The framework gets out of the way and any allocations are under your control
But he could achieve exactly the same thing by using descriptive variable names without the angle brackets. Admittedly he can't use `list` as it's a built-in but `a_list` or `list_` would be much better than `<list>`.
Can't see Trumps opinion holding much weight in Europe to be honest.
Indeed, a dedicated prepper which carries ar-15 around and starts shooting upon a first sight of sirens ain't somebody you want to ambush in place he had years to prepare in end-of-the-world they-are-coming-for-me mindset.

Maybe he had some mental issues that might get better with proper medication, but then he most probably wouldn't be able to hold a steady relationship so I don't believe that.

I am far from a fan of gun-ho US style of police force, but in this case it really seems dangerous person was removed from society.
Different impulses for different people. Basically, both are actively happening (1984: 'The Party', realities built on lies and tightly controlled information, etc.), and on Brave New World, which is something that we see in contemporary social media, the opiate of the masses.

I've noted how much an effect marketing has had in my own cultural leaning and decision making process throughout my life of late, and I'm quite blown away. It seems that the only information source that I can read that isn't immediately trying to shape my opinion about something to my detriment are actual scientific papers, at this point.

It's quite exhausting to be informed.
Street names usually have cultural connotations.

In the best case scenario they are very safe choices, that are then reused basically everywhere, sometimes in several places in the same town.

I have seen countless of french towns with "Général de Gaulle" named variations of streets, places, rotaries, small passages etc. It's so overused that it doesn't make sense anymore, people mess with the categories very often (was it a street or a boulevard ? who cares ?)

In the worst case scenario, street names are chosen according to the heroes of the times, or some other political figure that is/will be highly controversial once it has its name on a plaque.
It then becomes an endless battle to find a compromise, avoid further cultural frictions while choosing names that make sense for the town.

For instance in former colonies, street names have often been set to colonial personalities. Some of the (wealthy) residents still support the naming, while others (sometimes minorities) will object to the cultural signification of having these names around for public areas.

These issues are just symptoms of deeper problems, but not using names in the first place just makes things easier.
I'd be pretty happy to manually decide which animated diagrams to enable, too. A lot of those animated diagrams chew up resources on my computer, and may or may not be interesting to me.

There've got to be a zillion ways to do a spinner that wouldn't fall afoul of this blocking.
I'd prefer something like this for my in-city commute over the already-allowed golf cart, but not at that price point.
They don't have anything close to the discipline of the military.