skysight-inc/HackerNews huggingface dataset:
Manufacturing Consent: The Political Economy of the Mass Media (1988) by Edward S. Herman and Noam Chomsky does talk about how the state uses mass media to influence collective opinions.

From https://en.wikipedia.org/wiki/Manufacturing_Consent

> ... the authors propose that the mass communication media of the U.S. "are effective and powerful ideological institutions that carry out a system-supportive propaganda function, by reliance on market forces, internalized assumptions, and self-censorship, and without overt coercion", by means of the propaganda model of communication.
Is there a good documentary on the construction of these behemoths?
Do what you look forward to doing
Including a regression test is an excellent heuristic. I also like to extend that to testing closely related things where there are test gaps. The benefit is not just that it will catch the exact same bug recurring, but that you get more tests in areas of the code with higher bug density and more test gaps.

It's not a perfect heuristic but it's an easy one to get a team aligned on. IMO the biggest challenge in scaling a team and maintaining code health is setting standards like this that are easy to explain and easy to maintain. There's an unfortunate human tendency to cut corners in the absence of clear rules here (even the best engineers will do this in many circumstances).

You can always exercise judgement on the cost/benefit of adding the test though, it's just a good default.
Yep! I love their products. Their Roomba and Fitbit clones are great and so much cheaper and they make great powerbanks.

The Jaybird clones from "Taotronics" are another great money saver, and the audio quality is better too.

Almost forgot their sonic toothbrush and wiha screwdrivers (I don't even know what they're clones of)
the 3 methods of SVG animation from wikipedia are either through scripting, or limited transforms as far as I can tell.

I meant defining the animation in as geometry in a higherdimensional space.
FYI you still appear to be shadow banned.
Like so many apple products.

How many apple headphones did you own?

probably few

do they give users the possibility to fix them?

You won't even find a place to insert a screw in the products

they made to be broken so you will buy a new one

It's an extremely annoying approach many companies are using,
disrespecting their client
> in order to succeed, you have to understand which rules you’re supposed to break. If you break the wrong rules, you’re finished.

That is a very insightful observation.
This is the long term cost of the defunding of the FAA and delegation of certifying a company's aircraft to that company. As we move forward fewer and fewer other countries will feel that deferring to US agencies is the wrong call and will move to (in this case) EASA.

I wouldn't be surprised if more and more other countries start looking into approvals from US agencies, and investigating how independent those agencies actually are :-/
ClojureScript has also been production-quality with lots of users for many years, so it feels safe to use for production projects.
I wish we had a graph of their attrition rate since the incidents occurred
HIV was pretty much limited to male homosexuals until the mid 80s. Which is when I pretty much bailed on casual sex.

There was a heyday of condom-free casual sex during the 60s-70s, after convenient hormonal birth control had become available, and before HIV showed up. HSV was nasty, but not fatal, and there were antibiotics for most STDs.

My wife and I are more like roommates, in many ways. After 20 years, anyway. We love each other, but we have very different interests. But then, this is the third marriage for both of us, and kids were never part of it.
Dunno about educating all those idiots, but for mitigating their idiocy I have a two-line AutoHotKey script (this is in Windows) called FakePaste mapped to ctrl-shift-alt-V. All it does is read from the clipboard and pretend to type those characters, one per 100ms if I recall correctly, or maybe I set it to 200ms. AHK can mimic keypresses at the system level, so it defeats whatever silly shit anyone tries to do in the browser. It's as if you were typing. If you're on Windows and willing to install AutoHotKey I can give you the script.
Yes it’s true that switching sims doesn’t log you out, but if you decided to intentionally log out from account A and create a new account B, you would need a second SIM card, that’s what the parent comment was trying to explain.
Berlin 1928 and Now
SandboxGPUs [pdf]
Facebook Dating Arrives in the US. Here's How It Works
> Also best review advice I got and follow: be the first reviewer yourself! Looking at a nicely formatted diff really lets you see your code in a new light, and usually I end up doing several iterations before I run out of things to tweak. Things like forgetting debug log statements or commented out code, or dev settings, as well as other easy but effective improvements.

I've been enjoying lots of comments in this thread, but unequivocally THIS. My company (for no particular reason) has two code review tools. Each team picks which one they like. Early in development I'll shelve a CL into the tool my team doesn't main, and just review and annotate diffs. It's a good place to keep TODOs and notes to myself.

Additionally, if I share it with my team, its clear that its "pre-review" quality and not to nitpick. "WIP" in the subject line helps, but being in an entirely different application really solidifies the point.

Then, when ready to go into real review, I've got a really good sense of how the CL looks as a diff, and where any remaining annotations need to be placed (that aren't truly a comment).
+1

I'd love to see something like Open Channel SSD's ( http://lightnvm.io/ , https://openchannelssd.readthedocs.io/en/latest/ ) becoming mainstream.

Spec at http://lightnvm.io/docs/OCSSD-2_0-20180129.pdf

> This specification defines a class of SSDs named Open-Channel SSDs. They are different from traditional SSDs in that they expose the internal parallelism of an SSD and allow the host to manage them. Maintaining the parallelism on the host enables benefits such as I/O isolation, predictable latencies, and software-defined non-volatile memory management, that scales to hundreds or thousands of workers per terabyte.
Yes, but you can explicitly log out from your main account and then log into an alt account - as long as you’re not using the sim associated to your main account
1 or 20 doesnt matter - for any N>0 only one company can do "top N", not all of them who pretend to achieve that, and they wouldn't be able to pretend it if they used the random approach like the GGP suggested.
Decarbonizing the world economy is expensive. You have to sacrifice at least money.
Yes, it would be smart for HN to reject links that are google search engine tracking links.
Robert Mugabe Has Died
Yeah absolutely. I think a big part of it is considering possible edge cases or failure scenarios and not necessarily solving them immediately but considering how your design might need to be changed in order to solve them. Many times I have found there’s a solution that requires little or no more work than a naive implementation but is far more robust to future changes.

To use inheritance as an example - if there’s a conceivable possibility that some future requirement might lead you to add the same functionality to other classes, you probably don’t want to have to deal with a long and convoluted inheritance chain when you could compose some set of functionality onto one class as easily as many classes.

Or in the case of dependencies, wrapping some third party mail sending library in your own generic API is barely more work than using the third party library directly and will pay dividends if you change mail providers in the future.

One very specific example that I worked on recently:
In most cases there are one of X, but in a handful of cases there are many of X. My initial inclination was to branch off and handle the many case as an exception, but then I realized that you could eliminate that corner case entirely if you handled everything as a collection of X, even if in most cases that collection only has one item in it.
Everything seems easy behind a computer..
Frankly, this is good IMO. It should also go in reverse. The FAA should have to independently certify Airbus/Embraer too.
> coral farming projects

Do you have much familiarity with this? I assume it's where they build some sort of a frame and then attach small pieces of living coral to it to start a new reef?

A comment below says: "The threat to them, as I understand it, is that global warming will happen so quickly that they will be unable to adapt by migrating in latitude or evolving defenses."

I was watching a documentary the other day where environmentalists on some remote island were doing this and it seemed to be working, but they were doing all the construction themselves and clearly didn't know what they were doing. Is this something that could be mass-industrialized (the structures) with crowd sourced labor to do the laborious coral attachment part?
Haha, I guess. What's interesting there is that they did announce timelines for the Fairphone 2, and had to postpone that a number of times - to many complaints.

As an enthusiast, I did prefer the way they approached it this time, and got pretty hyped by the FP 3 announcement. i also didn't see as many complaints about the uncertainty as I did before about the delays, though that's probably because there were no delay posts that people could comment on.

In any case, it'll be interesting to see what approach they will take for FP4 - i.e. which they liked more.
Why wouldn't they? The FAA has lost its credibility and can now be considered a subsidiary of Boeing.
So those soldiers would be behind enemy lines.
Industries That Will Thrive Thanks to Millennials
> It shouldn't have taken the intervention of the President for them to do their job.

That's your takeaway of what happened?

My takeaway is that the president 'intervened' only after it was clear that the combined Boeing/FAA/US position became untenable after other regions local air authorities and airlines declared the plane unfit to fly.

Trump threw the FAA under the bus to make himself look good, but the weeks before he was pressuring them to keep the planes flying on behalf of Boeing.

https://www.vanityfair.com/news/2019/03/surprise-trump-kept-...
Depends on your setup. I run a fairly custom setup without a DE and such and I just use xrandr(arandr) and saved the layouts. I haven't bothered to make anything happen automatically since I have a few different monitor setups, so I just run the scripts manually.
> Epstein’s support of the media lab allowed him to attract high profile pedophiles

That sounds ridiculous and needs explaining. "Oh, hi, fellow super rich pedophile, I wouldn't have contacted you, but then I saw you donated to the media lab... let's get together on your private island". No.
Building expression trees is not the only way to do automatic differentiation. A simpler way is to just carry the value and it's derivative as a pair:

#include <math.h>
#include <stdio.h>

struct autodiff { double value, deriv; };

autodiff just(double x) { return { x, 1 }; }

autodiff operator +(autodiff a, autodiff b) {
return { a.value + b.value, a.deriv + b.deriv };
}

autodiff operator *(autodiff a, autodiff b) {
return { a.value * b.value, a.deriv*b.value + a.value*b.deriv };
}

autodiff sin(autodiff a) {
return { sin(a.value), cos(a.value)*a.deriv };
}

int main() {
autodiff x = just(.1);
for (int ii = 0; ii<4; ii++) {
x = x*x + sin(x);
}
printf("value: %lf, deriv: %lf\n", x.value, x.deriv);
return 0;
}

There is no need to differentiate the for loop or the semicolons. This way is not doing symbolic differentiation. It's implementing the differentiation rules in parallel to calculating the values at run time.

This generalizes to partial derivatives for multivariate functions too:

template<int dims>
struct autograd { double value, grad[dims}; };
if x <= 0:
return 0
else:
return x

Is in the core of most neural networks today (relu activation), so it is definitely useful.
I think the saying is "Quality, speed, cost. Pick two?"
I've made some (C#) code that applies an ambisonic convoluted reverberation impulse response to an audio stream, but I'm hitting performance walls with Unity & C#. I want to go C++ & Unreal, but every time I try to learn C++ my eyes glaze over and I come down with a bad case of the Stupids.

Is there any "C++ for dummies with a bent for audio processing" material you'd recommend?
Pitfalls to avoid when implementing DevOps
Sure but that means that from the user's perspective the app is probably going to be better/more seamless in some way. I'm fine with Apple making their own versions of popular apps if they are hamstrung in some meaningful way by access to low level iphone stuff.
I really don't think so. The cheap and easy thing has always been to burn the fossil fuels, cut down the forests, fish until there are no more fish, and hunt until there are no more prey. The only hope for the future is if we care for it.
My sister passed away from a gliobastoma. We didn’t try metformin but we did try thc. Any effects were too late.
NFL Signs Content and Advertising Deal with Reddit
No. Per the web site linked by the parent post:

"To make f.lux work on iOS, we've had to go outside the bounds of what apps are normally allowed to do. Currently, iOS does not allow developers to access the Private APIs we need to make f.lux work on iOS."
This is true for many scientific discoveries, including the General Theory of Relativity
Totally agreement with you.

Overachievering should not been seen as negative. As humans, we need to be overachievers, to better ourselves in what we are doing. Without the overachievers but achieving just enough, we will never improve.

Furthermore, I have the feeling that negative connotations is more prevalent in western societies than it is eastern societies.
There's a pretty big difference between allowing the system to alter the display settings in a specific, well-defined way, and making that available to any app in a more general form.
There's a minimum amount due.
Women are attracted to successful men. This is an evolutionary thing and so not much your brain can do about it.
Big Oil undermines U.N. climate goals with $50B of new projects
I've been getting pretty annoyed by the "Security Questions" some sites have you setup.

A client I work with gave me a vendor account, with a preset list of security questions I had to answer. One was 'What was the color of your first car?'. I typed in 'Red', and got an error that the entry needed to be at least 4 characters long.
In the 80s there was a wave of kidnappings in Italy.
A new law made it so that relatives bank accounts were frozen immediately and they where forbidden to pay.
I don't remember the details but it was a wildly successful move.
It's extremely fast and intuitive to use, middle button to drag windows to zones (or whatever you configure). It comes with some decent layout templates.

However the template system is in XAML which is fine if you're au fait with that but can be a bit fiddly to get what you want.

The only other issue I have with it is that the full version - which is definately worth the money - is distributed via the windows store which forces you to have an account with Microsoft. Overall though, excellent.
I’ve been using GridMove [1] for last couple of years and it’s been great. I can quickly move a window to a specific location using a keyboard shortcut, fix windows Windows moved when I attached displays or came back from sleep.

FancyZones does look more polished but I wonder if it has multiple monitor support.

[1] http://www.dcmembers.com/jgpaiva/
The Hadza in Africa are an interesting people. Quite a lot has been written about these hunter/gatherers. [1] The have the physiques you'd expect of hunter/gatherers, but not the lifestyle. They work around 2 hours a day in mostly low energy tasks. And their leisure time isn't exactly spent running marathons - the most common past times being gambling and simply relaxing. Part of the reason they've been reluctant to adopt agriculture is because they think it'd take too much work. You can do an imagine search for pictures of their well known people. Suffice to say, you're not gonna find many love handles.

Stories like this are part of what convinced me to give fasting a go. And after going on 2 years of it now, I've had the exact opposite experience of that which you describe. In particular I don't eat the same total amount of food/calories, I eat substantially less. And somehow I have substantially more energy. The reason I decided to try out fasting is because it seems evident that we're eating far more than we need, as the absurd rates of obesity/overweight attest to.

Blaming the lack of exercise is somewhat nonsensical as can be shown from more ancient peoples. But it can also be shown numerically. I now bike around 5k a day and that burns about 100 calories. That's 15 minutes of biking to burn the equivalent of about a third of a slice of pizza. Exercise is of course important, but not for the calorie burning. If you eat poorly (or too much) it doesn't matter if you spend hours at the gym - you're gonna get fat.

I think the actual truth is that in modern times we've trained our bodies to expect far too much food. Fortunately this is really easy to reverse. It just requires accepting a discomfort that fades somewhat quickly over the months.

[1] - http://rewild.com/in-depth/leisure.html
Upcoming Apple Products Guide: Everything We Expect to See in 2020
Will this eventually look like the city power supply in Big Hero Six?
That is like judging sex after only having experienced rape, consent matters a lot in how enjoyable things are.
the really obvious idea is lunar tourism. "literally the experience of a lifetime! see the Neil Armstrong footprint, eagle lander and more. Bring home lunar rocks as suveniers"

then you'll have demand for all the other parts of a tourist economy, like hotels and restaurants.
I don't see why a well written library could not serve the same purpose. It seems like a lot of cruft. I doubt, for example, Python would ever consider adding this and it's the defacto language that would benefit the most from something like this - due to the existing tools and communities.

It just seems so narrow and not at the same level of abstraction that languages typically sit at. I could see the language supporting higher level functionality so a library could do this without a bunch of extra work (such as by some reflection).
> Any reason to prefer Apple Music over Spotify?

I imagine this is more Apple’s doing than Spotify’s, but last I tried I couldn’t put Spotify music on my Apple Watch to use untethered. I run with my Apple Watch, Bluetooth headphones and no phone, and being able to do that is worth choosing Apple Music for me.

Also no Facebook SDK if you care about that, there was the recent article here about how that pings Facebook with identifiers on app launch even if you’re not using any of its functionality yourself.
Having experienced in real life the benefits of this policy myself, I absolutely disagree. I would institute Google-style code reviews at any company I went to that was large enough to have teams of 3 people or more. This as much for efficiency as for quality. The development pace isn't set by the speed at which new lines of code get added, is the speed at which features can reach maturity, and in general more extensive code reviews can speed things up in the aggregate in addition to making things work better.

At Google, every single line of code has to be signed off by at least one other engineer _before_ it can be committed to the official codebase, regardless of team size. Additionally, unit tests are required, typically at the same code gets reviewed. This all makes code submission significantly slower, but product development significantly faster. Why? Here's a few reasons I've personally observed:

1: Bus factor. People leave the team all the time, ideally not for the reason the concept is named after. Having someone thoroughly review your code means there are at least 2 people on the team who completely understand every single line of code. That guarantee isn't absolute just because of timing and churn, but it's correct often enough to be the rule. This simple fact has saved me, personally, _days_ worth of stumbling around. It saves you from precisely the failure condition you described.

2: Fewer changes. Especially paired with the "small CLs" advice, this helps you really quickly correct course when people are headed down the wrong solution. As a result, you end up shipping a much higher percentage of the code that you actually write.

3: Fewer bugs. This is the biggest item of them all. Bugs are the quicksand of coding... the metric you hear quoted is that companies are expected to waste 75% of their development time on debugging. Reviewers easily catch enough mistakes to more than pay for their time investment right there. This is especially true for misfeatures where the code is "correct", it just correctly does the wrong thing. Those mistakes are hard to catch with tests (because the tests will be equally wrong), but easy to catch with humans.

Also, this is where a zero-tolerance policy on requiring unit tests really shines. I've been at this for many years, and I have had zero (zero!) bugs in the unit-tested code that I've committed. My tests have found some that would have been real awful brain-melters though. I'm on slow end of things; it takes me about 5x as long to write the tests for a given module than to write the module itself, and I'm still WAY ahead on time when I account my own debugging savings (I think the 75% number is low if you want to hit the zero bug mark). On my (30-person) team, we spend about 5% to 10% of our time dealing with bugs in our own code, and regularly hit the "feature requests only" mark in our queue. And the bugs we do get we can generally eliminate as a class by teaching better review and test practices.
I wonder why none of the projects is trying balloons... Or are they?
Be careful: free(3) could be the deallocation function.
> That statement implies he doesn’t care at all.

Not necessarily, he might care and weigh options and consequences and come to a different conclusion than you, me or most people. If he still comes to that conclusion today, "I would do it again" is the obvious answer.
You know, if you had substituted "Coastal Elites" for "Westerners" in the first paragraph, then I would have sworn you were writing from the perspective of a person from Appalachia or the South. So safe to say, that sentiment you feel really is shared in some way by many rural Americans, and hopefully, some empathy might even go both ways in many cases.

You are hitting into a salient point I think though. What point do these tropes actually serve? Make people from other cultures conform out of shame? Or is it purely to make the people perpetuating these standards to feel superior?
I used to set this permanently, but discovered if you use facebook making status updates and comments become broken due to how fb seems to scan your input to apply styling.

But I often have to toggle it off temporarily to bypass the stupid copy/paste blocks.
I get a beach ball All-the-time with Messages lasting 5-10 seconds. I struggle to imagine that anything it’s doing is that computationally intensive.
World’s first baby born after the technological shift on uterine transplantation
Treat features like bugs and offer a bounty if you decide to implement something a user did already. It could be part of the terms that the user has to accept in order to be on the store. If it's a feature that lots of people implemented (eg the flashlight) split the money between them.
I would argue this should be dependent on the level of self certification, which EASA allows Airbus.

As this pustule of a scandal more and more pops out it turns out that Boeing essentially rubber stamped its own certificates.

I'm not sure about the level Airbus is allowed to do that.
How a deadly fall revealed CIA secrets