skysight-inc/HackerNews huggingface dataset:
I was homed onto the link by https://qz.com/82640/china-doesnt-want-your-trash-anymore-an... the quote is from there. Did not notice that it wasn't from the original article.
This is covered in the article.

> The attack routine consists of registering a service worker [...] and then abusing the Service Worker SyncManager interface to keep the service worker alive after the user navigates away.
I think you'll find that a billion dollar company throwing literally hundreds of millions of dollars in advertising to get people to use their product, all at the same time across multiple continents, has far more of an effect than you are giving it credit for. If you're using IE, but your _train station_ has a wall-sized poster going "pst, give Chrome a try", and every other train station does too, then your average person will absolutely give in to that poster's suggestion after being exposed to it for 14 days straight. Even if it's only so that they can tell their friends they tried it.

Chrome's campaign was a phenomenal example of a successful international product launch. Made even more impressive because it was for software, something most people /really/ don't care about.
I'll second this: when I buy a book, I want to own it. DRM means I'm constantly at risk of my "ownership" being revoked. So I always try to buy the non-DRM version.

In recent years, I've found that Amazon's Kindle store has become less good. Their recommendations are much worse than they used to be, their handling of book series is bad (if a book is in a series, show me them all, in order, and identify those I already own), the pages are just awfully messy and cluttered, they push Prime in my face all the time, etc, etc.

I'll love a great, curated online book store. Much like a real bookstore, have things organized well, have staff recommendations (not random bot-boosted rubbish); focus on authors with interviews, and AMAs, and so on; and make it a nice place to browse (and buy).

If you make the commercial deal for authors/publishers decent, I suspect you would be able to build a decent list of suppliers. And if you focus on the "good bookstore" feel, I think you've got a good chance at some success.
> leading to engineers working on generating playbooks that cover the vast majority of production incidents

For any incident that happens, I'm going to — if at all possible — fix it in code s.t. it doesn't happen again, ever. There is no playbook: the bug is fixed, outright.

That only leaves novel incidents, for which a playbook cannot exist by definition. Had I thought to write a playbook, I would have just fixed the code.

(I am not saying that playbooks can't exist in isolated cases, either, but in the general case of "system is no longer functioning according to specification", you cannot write a playbook for every unknown, since you quite simply can't predict the myriad of ways a system might fail.)
Ops statement about "real work" is so absurd I can't even grasp what state of mind would lead to it. Like the fraction of world GDP produced on windows must be in the double digits, right? Like you can't be so sheltered that you don't know that most all professionals outside of IT are using windows, right?
Microsoft does not agree with you. LTSC is Windows for devices (ATM, Medical scanners, etc), not for users.

https://techcommunity.microsoft.com/t5/Windows-IT-Pro-Blog/L...
This type of work could, eventually, directly inform practice.

Are there any problems taken directly from practice that complexity researchers are working on and using as context to define shortcomings in existing theory? Maybe that's what he's talking about, expanding on theory that "could, eventually, directly inform practice" and calling that "applied research" instead of tackling practical problems directly.
Companies don't trust "outsiders" to do security testing? Veracode was doing 9 figures a few years ago and was recently spun out from Broadcom for almost $1Bn.

Also, 20MM/yr is not a revenue number to sneeze at. Enterprise security is a huge and mature product space and most aspirants in it do not hit that number. These companies aren't Uber, where every dollar coming in is going back out the door with an extra couple dimes to boot.
I've been using Brave, which is basically Chrome but even faster, and with more privacy features. All Chrome extensions work.
Trans fats are a natural component of dairy and meat, particularly beef. Prior to the systematic removal of trans fats from processed foods (e.g. hydrogenated oil), trans fats from natural sources constituted 20% of dietary trans fats. See, e.g., https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3551118/ That's significant considering the prevalence of foodstuffs like margarine and Crisco back then. Today they likely constitute a greater percentage of dietary trans fats. And while total trans fats intake may be declining, if people substitute hydrogenated oil with these "natural" fats, the societal health benefits will be seriously blunted.

This is complete, unsubstantiated conjecture on my part, but perhaps the evidence that showed that dairy and red meat were relatively bad for cardiovascular health had something to do with their comparatively large percentage of trans fats.
Package compilation or code compilation?

Package compilation was painless, code compilation isn't really noticeable once it starts running and the benefits you get from native speed are evident. I recently learnt that the IO functions are async as well (powered by libUV!) and the parallelism is easily an order of magnitude nicer to work with than Python's (and it's only going to get better).
> In 2019, in order to be secure, a computer needs some bare minimum of sysadmin.

That is true only of security patches.

> So, with the switch to Perpetual Windows, Microsoft has taken on a lot of things that people either ignored or did poorly before, and they want to know why they can't go back to ignoring them or doing them poorly.

No. Prior to Windows 10, users weren't forced to install feature updates on MS's aggressive schedule. They were given much more software stability.

I don't think anyone would be complaining if all MS did with Windows 10 was force home users to install security updates regularly. The problem is that in addition to that, Microsoft decided to also aggressively force half-baked feature updates on them and simultaneously draft them as release testers for professional editions.
> switch to Windows 10 LTSC

https://www.computerworld.com/article/3250464/faq-windows-10...

"Microsoft changed the support rules for LTSB since Windows 10's debut ... in a way that makes it difficult, if not impossible, to widely deploy the edition."
I'm currently building a list of resources that I want to use to customize my terminal and improve my productivity. This is definitely something I will dig into. Thank you for sharing!
After fixing bad algorithms, dealing with performance and resource utilization basically comes down to a series of trade-offs. In most cases:

Less RAM = More CPU or more disk space (and much slower)

Less CPU = more disk or RAM

Less disk = more network, RAM and/or CPU
ASU sees graduation rate rise after adapting classes to each student’s pace
just gimme a lisp machine
Ahh that’s what I figured, too bad

nitrogen fixing cover crops is the way in agriculture I guess
Same. I skimmed the article, and was really confused I saw the author talking about 787s and A380s, because there's no way one of those would fit on the runway at KSQL.
> For the UK, the F-35 procurement deal has utterly crippled their force projection ability.

The UK's force projection capability was utterly crippled by the role they accepted in NATO, and hebway they structured their military around that, long before the F-35 was ever considered.
Can anything every be (physically) less than the sum of its parts? In terms of mass or volume, for example?

If you're saying "an accessory that only works as an accessory is sometimes just dead weight (when you're not using it)" then I think you're trying to overturn a lot of precedent in how devices have been made, since long before digital times.
These claims also completely ignore the fact that carriers and other high value assets aren't going to be thrown into the fray, they aren't stationary and aren't unprotected.

In a case of a war with say China the US isn't going to park it's carrier fleet in the littoral waters and yell come at me bro the risks to the carrier are well known and understood and there are plenty of things the US can do to mitigate against those and very much effectively so.

The US has a very long history of naval warfare and the longest effective history in carrier operations a US carrier in the south china sea is still likely the most safe airwing you can have in the area since the US bases in the area are a much easier target for potential Chinese strikes.

I don't think people understand how hard it is to find a carrier battle group in the middle of the seas even within it's combat effective range not to mention guide and hit a moving target with very capable air defenses.

This holds true especially for the so called carrier killer "hypersonic" weapons which while might be able to pass through the missile defense shield of the strike group and the carrier itself have very poor terminal maneuvering and while a carrier is slow hitting a target evading your at 30 without very excellent terminal guidance isn't likely.
We need more buttons. What is the deal with flat design these days? I cannot figure out where to click. Have you used Windows 10 recently or a trendy website lately? It's a disaster in terms of UX.

The same problem exists with hardware as well. I'm specifically thinking of the kitchen, but I've encountered it in many places. I recently moved into an apartment with 'modern' appliances have substituted buttons for flat surfaces you press or knobs that are difficult and unintuitive. For the first time - I had to read the manual to figure out how to work my refrigerator, range, and microwave.

Buttons are intuitive, easy to use, and when they do not work it becomes apparent that something is broken or faulty. Why are we getting rid of them?
I’m not sure why the device would have to be bulky. BlackBerry phones were less massive than most flagship phones today.
Ask HN: How to increase PHP+Postgres speed? my testing result is slow
# PHP:
`
$dbconn = pg_connect("host=127.0.0.1 dbname=test user=test password=test");
$start = microtime(true);
for($i=1;$i<=5000;$i++) {
pg_query("insert into largedb(uid,sid) values($i,$i)");
}
echo ( (microtime(true) - $start) *1000).' ms';
exit;
`
// result: 15504.348993301 ms

# Shell:
`
begin
for r in 1..5000 loop
insert into largedb (uid,sid) values(r,r);
end loop;
end;
$$;
`
// result: 43 ms

PHP&PG are in same server. Shell's command is very fast, so seems there is much time spend in interact between PHP and PG. How can I increase this? I've also tested PHP+Mongodb, insert same amount of data only takes 200ms.
> I know that to get 12v from an alternator in a van to a leasure battery in the back with a modest voltage drop you need cables sized like welding cables.

This is because the voltage is low, so the current has to be high for a given wattage (V x A). High current requires thick gauge wire.

> 240v directly from an alternator.

is it possible to generate voltages nearer 240v directly from an alternator or do you need an invertor somewhere

Yes, and since what comes from an alternator is AC, you don't need an inverter, but a simple transformer to step the voltage up or down. (However, you can't store AC, let alone high voltage AC.)

Motorists use inverters to get AC because the car's system is DC, as such. The car's alternator, however, "natively" puts out AC; this gets rectified to DC. (I think, alternators in fact put out three-phase AC.)

Car alternators are specially designed to output 12V; there is no such limitation in generators as such. In fact car alternators use voltage regulation to stay at around 12: when the system voltage rises above the target voltage (e.g. due to higher RPMs), the "field current" to the alternator is trimmed, which acts to reduce its output voltage.
Can you talk a bit about what you're fuzzing for in Python programs? I feel like I have a good understanding of what cluster fuzzing is accomplishing for C/C++ libraries, but less clarity about the goals for managed languages.
Oops. That's what I get for not using DuckDuckGo for this. Also I found it interesting that the CNET was the best non-Breitbart source for this announcement....I found it interesting that no other tech site seemed to even mention it yet.
As a Michigan resident, I would love it if we were able to create a "council of the Great Lakes", made up of all states that share coastlines with one of the 5 lakes, including Ontario and possibly Quebec, and federal representatives from US and CA. The goal would be to align each political unit with environmental regulations that affect the lakes, since what happens to one inevitably affects the rest, especially the downstream lakes Erie and Ontario.

One example would be to prevent things like different regulations between the US side and CA side that allow for barges to dispose of semi-toxic sludge they collect in the CA side of Lake Huron, since they have to clean it properly in the US side per EPA regulations. No citations for the above but I've heard rumors.

Even more serious is the underwater Line 5 Oil Pipeline that runs parallel to the Mackinac Bridge. A spill in that region affects the entire region, yet only MI and the Trump-led EPA have any decision power as to what to do about it.

Natural bodies transcend political units, and environmental regulations need to do the same, as pessimistic as I am about how realistic that is.
Not that bold of a prediction.

Motorola was leading the way with Android-based phones with physical QWERTY keyboards, but they stopped making them in 2012, with the Droid 4 being the last one. I had one and I loved it!

The sad thing is, I saw polls at the time showing over 50% of smartphone users said they wanted a physical keyboard, yet most people hadn't even HEARD of the Droid 4. It sold poorly and was the signal that people didn't actually want physical keyboards, they just thought they did.
There are no U.S. military bases on Taiwan or the Philippines.

But we could still stage resources there. Just having a place to land gives benefits in terms of sortie rate. Also, in the event of a lead-up to conflict, these can be built in a hurry.

Japan and South Korea are both north of the South China Sea.

All the same, they are a part of the general US geopolitical strategy of keeping China bottled up behind the South China Sea. Are you trying to "debunk" what I'm saying by using unnecessary specificity? The US does have bases in those countries.

I'm pretty sure the immediate focus of their naval power has been and will be securing resources in the South China Sea and reclaiming Taiwan.

Sure. And if/when they claim Taiwan, China will have access to the oceans which can't be easily restricted, even by a world-dominating navy. They will be able to move hypersonic missile bases, naval bases, and airstrips there. The door will be open to them to start competing with the US as the global naval hegemon.
Whole milk is best. Store purchased, live, active culture yogurt (which is indicated on the container) will work as a starter. I place the jars in a large water-filled pot with a sous-vide cooker to maintain a warm even temperature overnight. (I forget the exact temperature I use). In the morning, I place the jars in the fridge and when I come home from work, voilà. I have great homemade yogurt. The consistency can be slightly runny. I've heard of people using emulsifiers to remedy this, but I don't bother.
Blade runners will be a thing. In Burroughs sense https://imgur.com/a/GnICH3U
I think you'd like this scene from Mon Oncle: https://www.youtube.com/watch?v=LE9t98Gox60
This is nuts. There’s no way a webpage (or app for that matter) should be able to crash an entire OS.

Something's gone very wrong with ours software.
Yes, software security in 2019 is markedly different from software security 17 years ago. 2002 predates the "Summer of Worms" and the Microsoft SDLC (for what it's worth, from 2004-2006, many of the world's software security firms were basically parked almost full-time in Redmond). It would be weird today to see an established company with a "shipping" product or SaaS service that couldn't provide a pentest attestation; back in 2002, it would be weird to see one that could.

For some perspective: the first published "integer overflow" attacks were from 2002 (the attack pattern was known but not published as such before then).
It doesn't. Those numbers are upper limits. Just like with traffic tickets and other fines, the actual amount is left to judgement.
Perhaps Portland is already taken, but I'm sure there are other cities where another parent and child [0] could open a bookstore in a warehouse in a rough part of town that ~50 years later becomes a beloved institution. And make no mistake, the impressive main location was NOT in a nice part of town only 20 years ago. That used to be a part of downtown you wanted to avoid after dark.

[0] https://en.wikipedia.org/wiki/Powell%27s_Books#20th_century
Things that fit together can be less than the sum of their parts. A phone case and a phone can take up more space individually but fit together and be compact.
I know I'm in a strange place when installing and updating some packages that were left out of the default installation of a particular flavour of your OS distribution is considered "crazy".
this reminds me of those kinds of discussions with teenagers where every ridiculous escalation of hypotheticals comes with a triumphant "ah ah, HA why should I do my homework at all beleaguered on all sides by paper eating dogs as I am".

You don't work 24h and if you do, you shouldn't. If you still do well then make sure to check updates before your "shift"
Making a Physical Product: Lost $100k, Pissed Off 500 People, Turned It Around
We could just have a pint at the local, yeah? =]
> Buttons are intuitive, easy to use, and when they do not work it becomes apparent that something is broken or faulty. Why are we getting rid of them?

Because of some silly idea of what makes something feel modern.

The worst case of this in cars. Steering wheel controls wouldn't need to be a thing if I could reach towards my stereo and feel where the track skip buttons are without having to take my eyes off the road.
If you need access to Twitter data you should sign up for a developer account and contact them. It's expensive but not prohibitively so for a company that needs Twitter data to do business.

For academic research Twitter offers products which dramatically reduce the amount of data you need to consume via the full search API or historical powertrack.
Redis is safe to use as a locking mechanism, many people do that. You should dig deeper than Asphyr said it doesn't work.
> Why are we getting rid of them?

Because they break easily. The home button is probably one of the most commonly broken parts of an iPhone, so the X doesn't come with one: ta-da, can't break it any more. Plus, if it's on a screen, you can have an unlimited combination of buttons whenever you want - think of the screen real estate freed up by using an on-screen keyboard on the iPhone compared to a Blackberry.

For what it's worth, I agree with you that buttons are better. But their disappearance isn't a random occurrence.
i agree about Windows 10. God forbid you put Windows Explorer over something that has a white background as well. There is no way to tell where the top of the window is since Windows Explorer will blend into the white background. Why couldn't they at least put a border around the window or something.
You're right! For bugs, they should be fixed and never recur. There is no play book for this. For novel one-offs, they also cannot be anticipated, and thus cannot be planned for.

These points are very wise and correct. Yet, is it possible that situations might occur that don't fall into these situations? For instance, a hardware failure or a third-party service failure, or a common process is mis-applied and needs to be reversed. There could be a vast number of potential scenarios that are neither bugs nor novel events for which playbooks could be authored. There is non-trivial value to be gained in making it easy for an operational team to handle such events, particularly when events that do recur have their handling codified.

You are, of course, absolutely correct to note that many events either will not recur or cannot be anticipated. Yet, might there also be value to be gained by recognizing that there are events outside these categories that can be anticipated and planned for?
> Why is it so hard in 2019?

To be honest: mass-market software developers realized that they can abuse their users with few repercussions, so they've changed their practices to suit themselves rather than their users. The attitude started with web apps, and now it's completed its dominance by spreading to operating systems.

Stability takes a lot of work. Users love it, but developers hate back-porting patches.
Start of my junior year in chemistry at Alabama, went in to talk to my adviser (his fifth year teaching there). He was sweating over paperwork, said it was the first time he made enough to file a tax return. I said, "Excuse me, I've got to go change my major." And I did. Never looked back.
3Blue1Brown's Essence of linear algebra series is the go to place for learning this material. I've included the link to the series below so people don't get lost in all his other wonderful videos along the way.

https://www.youtube.com/watch?v=fNk_zzaMoSs&list=PLZHQObOWTQ...
It should be up to the individual apps to remember what state they were in, not the operating system. All major browsers offer this option.
You kids had it so good. In my day, we had about 15 different peripheral busses that all ran over RS-232C or DB9 cables. You could fry a $10000 printer by plugging in a cable that fit perfectly on both ends.

And we felt damn lucky to have them.
> so why use vim?

vim is lightweight and miles ahead of ed. It's easier for me, as a user, to use vim than to use ed. It's simpler and loads faster than Notepad++ or Code.

> from the same problem that threads in general arose - some part of the program blocking another part of the program, making for a bad experience.

While I concur that a web site not loading makes for a bad experience, I do diverge on the solution.

> javascript runs in a single thread for the whole page - so anything that is blocking in any way, due to processing data, dealing with loading data, rendering any sort of 3d for you, mixing audio, really anything that would give you any sort of interactive experience could block the whole page from being responsive.

Solution: don't use javascript.

> you might as well as from what problem threads arose - same answer. it's true that we had fairly primitive cooperative multi-threading in c using lngjmp and setjmp, but it's still a lot better to fire up another thread when doing tasks like the above, especially when dealing with a gui is also involved, such as with the web

Honestly I don't see where the problem is a user problem. It's a problem, for sure, but I believe it rests solely in the hands of the developer and web site's servers.

> I'm happy to provide concrete examples, if you want.

I would like that, if you're willing to also learn how I think some of the examples might be done differently.
Only a few years ago I learned that facts don’t change people’s minds. Blew my mind.
I'm afraid we are all way too far down the slippery slope here, you've piled so much garbage into web standards its no longer possible for any new players to enter the game without an unreal amount of financial backing.