skysight-inc/HackerNews huggingface dataset:
> The idea with CSS was that we would be able to separate content from presentation

I've been a frontend dev close to 5 years now, and recently I read the entire CSS spec front-to-back in scrutinizing detail for a project.

If the goal was really to decouple presentation and content then CSS has failed spectacularly. Having element selectors, attribute selectors, child and sibling selectors, very tightly couples the content with the layout. It also has the ability to affect content by inserting text nodes for example using the 'content' rule.

I'd say one big gotcha that trips up most people is not understanding when a style is valid or not. Certain styles are only valid for certain display types (see the CSS spec). Also look at the non-normative references on W3C for the default style sheet to see what default rules get applied to elements

To really fully keep content and presentation decoupled you have to stay away from those things and use something like css modules or similarly have a one-class-per-component rule.
I've been thinking about this problem from the perspective of running an engineering team blog, Medium is a dependency that doesn't really pull its weight: http://artsy.github.io/blog/2019/01/30/why-we-run-our-blog/
Sounds like you're caught up in your own FB reality tunnel.
This depends on how far your trust stretches. As of this year all apps that use the Google Gmail API have to undergo an independent assessment from a security firm to ensure that they are;

a) not mishandling data
b) not breaching Google's privacy policies
c) securing data appropriately

There is a grace period for existing apps, but we have to undergo this assessment soon if we want to be allowed to keep running.

More info here: https://cloud.google.com/blog/products/g-suite/elevating-use...
Not just Facebook. Any site without attention paid to on-site SEO is basically impossible to find since Google gave up fighting the spammers and (effectively) stopped trying to provide access to a bunch of the web. That was back in, like, '08 or '09.

The other day I was trying to find a Russian world-traveller photo blog I used to read but lost track of, and it was plain from the results that Google's 1) heavily penalizing low-traffic sites to the point of giving me top results that contain almost none of my keywords when there 100% for sure had to be sites that contained all of them, and 2) barely paying attention to text linking to a site anymore. I'm not even upset I couldn't find the site I wanted using my search terms so much as that part of their surrender to the spammers meant that most of the top results were "legitimate" content-mill spammers-by-another-name. I don't think I could have found anything like what I was looking for. Any similarly-obscure sites are just invisible now.

DDG wasn't much better. The spammers won and "web search" doesn't really search the whole web anymore, or even close to it.
Barcelona release official statement Arsenal deal for Suarez is done
The Racket standard library also has a lot of good stuff in it. There are many batteries included.
That's probably because I'm blocking some script, but I get a top menu that covers the top 20% of my screen, and an advertise (visual one) for their RSS feeds that covers the bottom 30% of my screen. None of them can be closed without some extension or the developer tools.
45 isn't even old. That's mid-career.
Yes. To be clear I think this is a terrible idea, but the appeal of the power this could wield as an investigative tool will likely outweigh all arguments against it.
Both comments express this sentiment. I’m pretty judgey myself, but I’ve known these people for ten, twenty years. They are good people but even good people have blind spots.
Off topic comment here. I remember two years ago when people on HN were arguing people that cared about privacy had something to hide. I am glad the tide is starting to change. Privacy is a fundamental human right.
Serious question: Why don't you sign up?
Better yet, scrap the network of cameras and employ a load of uniformed, unarmed police officers wearing body cams. (The cameras should default to deleting footage after a few hours, unless the officer presses a button to save it, and all arrests not recorded due to "missing" footage are deemed invalid).

This helps communities to feel the reassurance of a trusted police presence, creates local jobs, and provides a decentralised alternative to having a single network controlled by a few hidden, unaccountable individuals. Putting a human conscience behind every single camera seems like a good way to prevent tyranny and encourage whistle-blowers.
I've seen the opposite in our company. We did some data science, on a data that wasn't that big, but big enough to not fit into one machine. Everyone was reluctant to move to Spark, so data-scientists computed their models over subset of data: one day instead of one week of data. And after the project finished, and passed to client, they realized that subset was not representative enough to meet the criteria.

Of course, it's kinda their fault to assume that subset is representative, but if you start checking every assumption you make in data science, then you won't get far.

Had they used Spark from the beginning, they would not have that last-moment surprise, because they would work on proper sized dataset from the beginning.
in Belgium trying to escape is not a crime in itself because fighting for freedom is seen as a natural behavior of human nature.
Could Apple just decide to block FB altogether?

Could Google Play?
I was watching Air Crash Investigation yesterday, where a reverser deployed right after take off and caused the plane to crash. They said now reversers can't be activated unless all wheels are on the ground, as you've said.
That and Scour were where I found the really good, obscure (or properly titled) tracks. I used them to locate some of the biggest FTP archives of MP3s I liked, then I'd just grab as many as I could (while uploading other obscure tracks from other sources to keep my ratio up).
I think Facebook has more to lose. Apple has some of the most loyal customers on the planet, and everyone subconsciously hates Facebook anyway.
I feel like those examples don't explain your point.

Uber is
The borrow checker tracks two kinds of borrows (in addition to ownership), &T for a constant reference and &mut T for a mutable reference. But it's not really about constant/mutable, it's really about shared/unique or, if you prefer, reader/writer. Essentially the borrow checker is a compile-time reader-writer lock: multiple threads or multiple structures can have a read borrow at once, but only one can have a write borrow and you need to get rid of the read borrows first.

But there are common use cases where you need to have concurrent write access to the same structure from multiple threads. The way to implement this is "interior mutability," where you write a method that takes an &self - a shared reference - but can still mutate it. A simple example of this is the std::sync::atomic types (https://doc.rust-lang.org/std/sync/atomic/). There's a method AtomicUsize::compare_and_swap that takes an &self, not an &mut self, as well as the values for comparing and swapping. Because it executes in an atomic machine instruction (or otherwise figures out how to make it atomic), it's okay for compare_and_swap to take only a &self. There's no risk of data races/memory corruption from multiple threads calling it at once. You're dynamically enforcing safety: if the compare doesn't work, the compare_and_swap operation returns an error. There's also a method AtomicUsize::get_mut(&mut self) -> &mut usize that takes a unique reference to the AtomicUsize type, and gives you a unique reference to the underlying integer. As long as you hold a unique borrow, you can do normal memory read/write operations to the integer inside it, but at this point the compiler will statically make sure that nobody else can take shared references to the same AtomicUsize.

You can always do what you want via message-passing between threads, but sometimes you want higher performance. (I guess that's why you're using threads in the first place; you can always write code in a single-threaded manner if you want.) std::sync::atomic and a few other standard library types help you with this; crossbeam really helps you with this. And they all integrate into the borrow checker pretty smoothly.

See also the Rust book's chapter on interior mutability https://doc.rust-lang.org/book/ch15-05-interior-mutability.h... and the "Too Many Lists" exercise https://cglab.ca/~abeinges/blah/too-many-lists/book/README.h... for more examples.
It's one thing for users to give their membership, patronage and data to a centralized for-profit, startup type company. It's another, totally absurd to me, thing to cede control of your company's online presence to some other startup... just for a simple blog. And still no one seemed to care even when Medium started nagging users to signup when just trying to read an article...

I just don't get it. It's not a good look when I go to read a technical article from [startup], and wind up staring at a fullscreen popup begging me to signup for a Medium account. Really?

I'm adding it to my list of lessons that apparently people have to learn first hand - make personal backups [no, really, it's not that hard], use a password manager [no, really, it's easier than not], don't use GoDaddy [they were just on HN again in the last few weeks]... and don't use thin little SaaS that don't do anything and just want to posses your content and your users and eventually go under or go dark, leaving you holding the bag.
I work for one of those fully bootstrapped successful companies now and it really is fantastic how we can have real business conversations around ecosystem improvement that don’t revolve around money.

Money is good, but not having everything dictated by it is good for the mission.

EDIT: Sure there's still a financial incentive there but it's framed more in the "we need to turn a profit so that we can afford to continue doing these things". We still have salespeople who still have commissions and we still have salaries to pay.
OpenChird – An Open Source Platform for IoT with Support for LoRaWAN
If the suck force and the blow force were equal, you wouldn't need to burn fuel inside the engine during normal operation. Combustion produces a lot higher volume of gasses at higher energy than the air that goes in the front.
>Meanwhile the US is seems to be played by everyone from the outside and tearing itself apart from the inside. It seems like we aren't only losing the fight for global hegemony but barely actively taking part.

The entire point of this story and many like it is to make people ignore anything concrete and think US dominance is in question. They don't accurately report the worldwide situation, and they wouldn't even begin to question whether continuing the US form of neocolonialism is a good idea. They just create small pockets of fear that someday some other country may treat the US like the US has treated them.
I think you've misunderstood. The system you're describing kicks in when (a) the aircraft is on the ground, (b) commanded thrust is idle and (c) the engines continue to produce thrust above idle (when there is an overthrust condition). Boeing does not cut power to the engines to prevent reverse thrust application in air - that would be absurd.

On this particular occasion the system is thought to have malfunctioned in some way (e.g. it might have not registered the application of reverse thrust) triggering a shutdown.
The thing is, in modern C++ you can fake a wrapper to access it like a pointer or reference.

Of course it will not be high performance, but it can be done. (E
.g. Eigen library.)
Thanks! Follow up question: how do I zoom in once I have loaded in a GeoTIFF from one of those sources?
It's weird to call it a "danger" when the automation is making a suboptimal response to override a human error that could crash the plane.
Imagine the malicious things someone could do with this level of access. And none of the usual mechanisms to, say, detect widespread compromise of a Certificate Authority would apply here.

They could drain your bank account, hiding the transactions and adjusting the balance whenever you viewed the mobile banking website or used your mobile banking app and adjusting any emailed statements.

They could send messages to your friends and family from your account asking them to send money to you in a certain way or donate money to a "charity", hiding the entire conversation from your view.

They could make some services you use slower or less reliable in subtle ways, to steer you towards the ones they want you to use— the ones that are easier for them to manipulate the traffic to/from.

They could make you think you're going insane, in any one of a variety of ways.

They could gather all of your private information, and then lock you out of your entire digital life all at once. Two-factor authentication wouldn't protect you; they could present you with a fake "re-confirm your settings" process to collect the information necessary to disable or replace the settings. (If you pay your rent using your phone, they could lock you out of your physical life too; they could prevent the payment from going through, show you a confirmation, and suppress notifications of unpaid rent and e-mails from your landlord.)

They could control which news you see, slowly shifting your views on things like privacy and security.

If you get suspicious about any of this, they could plant false information in your search results.
The digital handbook for agency people (And others too)
I have notebooks filled with ideas. When I think of something I write down as much info about it as I can. Later, perhaps I add more. Maybe I never touch that idea again.

Projects from social networking, a new kind of winter jacket, "adult flavored" applesauce, "simplified, simplified Chinese characters", how to reduce obesity in our youth so eventually maybe the problem goes away as adults, and so many more.

Taken just for you:
https://imgur.com/a/Seg0Pzx
It's not the aircraft, it's the engine. Boeing 787s have been grounded recently because problems with Trent 1000-C have been increasing. Mainly compressor blade durability.

Modern jet engines like Trent 1000 from Rolls-Royce have
Full Authority Digital Engine Control (FADEC). It comes with the engine and there are no manual overrides. The computer system runs the engines and if it fails the engine fails almost instantly.

Before the flight pilot sets flight parameters to flight management system (FMS) and FMS communicates them to FADEC in the engines. FADEC runs the engines and 'micromanages' the system in different phases of the flight. There is large number of parameters and engine health monitoring and diagnostics going on. Most of it is not the responsibility of the aircraft manufacturer. Engine sends data to Rolls-Royce.
Bill Gates is a big fan of Aadhaar:
https://www.gatesnotes.com/Development/Heroes-in-the-Field-N...
The five reasons Kubernetes won the container orchestration wars
Could be "shipped and maintained" code in a container? Don't think you can read much in to the name.
Of course, but selecting a monospace font is already in built in all operating systems, so this could be a quick and dirty fix.
The Boeing 787 is now about nine years old. I wonder how much of this is operator proficiency triggering latent bugs (aka, "pilots got too good at pushing buttons quickly").

The bugs in the Therac 25 were only discovered after the machine had been in production for a while (you had to be typing "too quickly" in order to get the software to trigger the bug with the safety interlock).
> Human resources are a fixed asset

Human resources are rented, and thus an expense not an asset; I mean, since the abolition of chattel slavery.
Create professional logos from modularly designed digital graphic items
Or if it's fully static size, just use std::array. You'd be surprised how often people use known static size or static max size vectors instead.
It's irrelevant. Pliant Apple NPCs here with their shallow consumerist understanding of the tech will defend it anyway.
The second high-profile potentially deadly software caused failure related to automated safety features in as many years (if that ends up being the cause, of course).

Very glad the touchdown went nominally. Had they pushed the point of touchdown just a bit further down the tarmac, they'd have skittered right off the pavement.
It seems Apple have been trying to occupy the moral high ground on privacy for quite a long time now. It's relatively easy for them to differentiate themselves from the other big tech companies, because Apple's products cost so much that, for once, you are not the product.

Unless FB and Big G start charging for their services, I don't see how they can change their behaviour.
Inside a key Hawaii intelligence outpost listening in on the Pacific
Safety and security sure is a secondary benefit for the userbase.

Let's not kid ourselves though, this is mainly about preserving the huge app store profits.
Russian Board Game Turns Salisbury Nerve Agent Attack into Zany Adventure
The young 777 had a vaguely similar situation that was caused by a fuel filter freezing up

https://en.wikipedia.org/wiki/British_Airways_Flight_38
On an internet forum you have to do it differently than in person, where voice and facial expression can convey sincerity. When a topic is divisive, your question needs to come with enough information to make intent unambiguous. You need to make it impossible to interpret your question as a provocation, because otherwise people are going to take it that way.

A comment like "What are the poor legitimately at fault for then? I'm tired of this implication that the poor can never be at fault for anything, because they are so poor." not only doesn't do that, it's hard to read it any other way than as a battle stroke. And when you write "I asked a question that if answered may weaken the credibility of the op's original post", you seem to confirm that. If you're focused on undermining others' credibility, they'll inevitably focus on defending themselves rather than exchanging information.

The site guidelines address this situation: "Comments should get more civil and substantive, not less, as a topic gets more divisive." If you'd review https://news.ycombinator.com/newsguidelines.html and take the spirit of this site more to heart, we'd appreciate it, and people would be more likely to respond to you with information rater than counterattack.
Since when was Texas socialist?
Windows 7: What is your company's exit strategy?
I think this is a bit different... This is clearly asking the inmates to utter phrases with the intent of training a model, with the threat of revoking the ability to contact loved ones if you don't comply. This isn't being constructed from the existing phone calls, but specifically targeted action to collect clean training data.
Easy to say that right now, but Microsoft hasn't owned it long enough to have any negative impact on the service. For all we know 5 years from now they'll pull a Sourceforge and start bundling malware into your downloads.
Software developers are human beings. This analogy may seem inadequate, but don't you also struggle to see how certain human beings are willing to physically hurt or kill other human beings? This also goes against all values and morales, yet people do it. It's just that your set of values is not the same as other people's. Our world has always been a dark, cruel place, and yet for some reason a lot of western people seem to have forgotten this very apparent fact.
I really don't want to live in a dystopia where basic text content from random companies, startups, blogs, etc can't be read without being subjected to a startup's conversion flow.

I can't believe that I could get free cPanel/PHP/wordpress hosting when I was a teenager, and people will live with a fullscreen nag ad for their company blog 17 years later.
I agree with you to a large extent about the US prison system because it is certainly flawed. However I get so tired of these blanket comparisons between two countries that have almost nothing in common.
I haven't seen a good realistic example of the canvas element doing what I expect. Didn't you even admit "canvas" is overly complex and slow, or did I interpret that wrong? I'm not sure what you mean about JavaScript either. Perhaps an example?

As far as character strings, I don't propose rendering text via vectors. But PDF's do control text position far better than HTML/CSS can or does. I realize there's a lot of details to define and work out, but HN is probably not the place to iron all that out.
An AI crushed two human pros at StarCraft–but it wasn’t a fair fight
There is now a Kubernetes podcast episode with me about the topic: https://kubernetespodcast.com/episode/038-kubernetes-failure...
+1. I'm a foreigner from Mexico-- back there all engineering majors study ethics in school as part of the requirements. I studied abroad in the US, and was surprised at how not only there was no ethics requirement, but many engineering majors actually shunned anything having to do with the humanities in a very "us vs. them", "we do real work", "this is not important" manner.

It's hard to measure what impact a couple of classes could have and it would certainly vary from person to person, but it would at least set the stage for conversation and be an acknowledgement to the importance of ethics in engineering.
As I said, I was referring to small companies.

Amazon or Google don't open source the main software they use make money from. Only supporting infrastructure software and research.

For a small company it's possible to open source the main product if you use GPL or AGPL.
"The struts in the researchers' metallic wood are around 10 nanometers wide, or about 100 nickel atoms across. Other approaches involve using 3D-printing-like techniques to make nanoscale scaffoldings with hundred-nanometer precision, but the slow and painstaking process is hard to scale to useful sizes." - TFA
Thank you for the thought our reply. I was actually thinking how to take the heat from machines and moving it through my house. At least maybe heating my laundry room so the water pipes stop freezing up :-)
You could make a neural network that categorised those who are more likely to be criminals based on this data.

Big if, but if it was accurate to say 95% would it be moral?

Strange times in which we live.
Swiss Army Knife for Unix Permissions
Class schedules, a cease and desist from Viacom, and accidental monetization
Ghost sites, domain spoofing, fake apps: A guide to knowing your ad fraud
Collecting is one thing, offering others voice base identification is another. GDPR changed the landscape so I don't have to fear that a single consent is a blanket one. It would be good to find out how the FAANG are using voice prints.
A valid concern for sure! The tokens we store are all encrypted, but you can also revoke them easily on Google's OAuth screens if god forbid we were to have a breach. I believe we can also revoke all tokens by refreshing our own Google OAuth keys.

Regarding the unsubscribe within Gmail, I can't vouch for exactly how that button works, but there are three methods that are possible.

1. Subscription services can specify in the email headers that they have "one-click" unsub functionality. In which case following the link should unsubscribe you.

2. They can also specify an email address, and sending an email to should unsubscribe you (you can check this by clicking the button and then checking your sent emails).

3. They can also just specify a regular unsub link. This usually requires you to input additional info such as your email address, or a reason for unsubscribing. I don't think that Gmail will be unsubscribing you from these, and they are probably the most frequent.

Leave Me Alone will try all of these methods to unsubscribe you, including filling out any forms if required.

It will also show you all of your subscription emails in one place, which I don't think is possible from within Gmail.