skysight-inc/HackerNews huggingface dataset:
Keepalive timeout negotiated by Android on one of my test devices is usually between an hour or two. And as I said - if you're on a particularly crappy network that gets keepalive < 15 minutes, you just fall back to polling. You can only gain battery life, not lose.

After all, if your e-mail provider cooperates with Apple, you get your mail fetched by... a constantly open, 24/7 push notification service connection instead of IMAP polling. Which means better battery.

Keepalives are also scheduled by the OS - that's one of the most basic power saving strategies. I mean, it has been already implemented in 2009 in Maemo, which wasn't even tiny bit as restrictive about networking stuff as Android and iOS are.
Well just trusting someone is not scientific, and liable to get you in hot water. You can examine the data for yourself, or if it's an important enough topic find a tutor or teacher to help parse it.

For instance, climate change is an important topic to all of us. No one is required to believe it. If you want to act on it, make policy about it, or vote on it, I really do recommend you educate yourself instead of just trusting one side or the other.
> Surely the code only works with vectors, but when one deals with vector of pairs, it implies very specific problem that rather unlikely to change.

maybe, maybe not. I often have much deeper changes than this.

> It also show that the need for auto really comes from the design of STL that leads to very long types that auto mitigates.

the same problem exists with int32_t or uint32_t or even int or char. The point is, using auto makes your code much more resilient to changes and much less likely to introduce bugs or performance losses due to unwanted conversions.
Try Cmder.
There's no such thing as being overpaid if you're not an executive (i.e., you have no real control over the business, you're just a paid employee). The business is paying you based on market conditions, and if they could get away with it, they'd pay you less. They're paying software engineers that much because that's what the market demands: there's not enough qualified talent to meet the employers' demand.

SW engineers are paid more than other engineers in the US because there just isn't that much work, or demand, for other engineering disciplines here. A lot of the work has gone offshore: as an engineer with a EE degree, I don't do EE work because there just isn't that much of it here. All the electronics work has gone to Asia, except in the defense sector. What the US is still really good at is software: look at all our highest-valued tech companies, and all the other companies in Silicon Valley: an overwhelming number of them are doing software work. Smartphones, all the apps running on them, etc., are all software, and are a huge part of the economy now. Not to mention all the other places software is now used, such as finance, where it's used by non-tech companies to enhance their business. If it weren't for software, the US economy probably would have collapsed some time ago.

Therefore, with software being a driving force in the US economy, and a shortage of qualified talent compared to demand (plus a lot of workers that are incompetent...), wages have been driven up compared to other engineers.

Finally, if you look at real engineering wages compared to the past, inflation-adjusted, engineers were paid more back in the 60s or 70s or so, and had more job security too. So it's become a less attractive career than it was in the past, so software engineering is really just a holdout.

As for Europe, AFAICT, engineers are just horribly underpaid there, and they try to make up for it some with extra perks like job security.
ASO Experts Roundup Recap (21th June) – What Was It About?
How do you subscribe from mastodon? I see the video.blender.org is their instance right?
This is a weird outage...

- I am in UK

- I had similar problems last night (around 2AM GMT) but status.slack.com was all green, and my colleagues in the US seemed to be using it okay

- Currently it's completely down on desktop for me (waiting to reconnect...)

- Connecting through a US VPN does not resolve the problem on Desktop, even though my US colleagues are using it on Desktop successfully right now

- Mobile works for receiving and sending messages, but there is a delay

Anyone else seeing symptoms like this?
This webpage breaks the back button on Android Chrome. Couldn't come back to HN
What if a significant portion of your friends were on the same server? Wouldn't you not have an easy connection to them?
I wish Hashicorp will seriously maim many of the other devops solutions. Their stuff has grew on me slowly, but I'm appreciating the hell out of their focused tools. Smells like Unix spirit.
I believe I said that as well ... of course it is good for medical or scientific reasons to have more and better data. And I don't see any problem with that, when the patients know and consent about the surveilance. So go on with that and good luck ...
Does that mean that in ActivityPub, I can't share messages with a restricted group of people?
Under Linux you can run macOS in QEMU VM. Sometimes you'll need to wait for patches if you need most recent updates, but other than that it work flawlessly. Then if you need 3D you can buy compatible GPU as pass it into VM.

That way I could build and test C++ project across all OS under single Linux host. And it's nice to have all major browsers at hand too for web development.
I'm really confused as to what you're trying to say.

AWS has been very open over the years about what their terminology means. When they say datacenter, they mean it in the traditional sense of the word. When they say an AZ is made up of at least one but sometimes multiple datacenters, they mean that that an AZ has multiple physical datacenters. They're not slicing up a server room and calling these multiple datacenters.

We also know that AZs are physically separated from each other.

So an AWS region has at least as many physical datacenters as it has AZs, and potentially quite a few more.

James Hamilton has talked pretty extensively about this stuff at re:invent, and as an AWS customer, his talks have been some of the most interesting to me.

Other people calling a datacenter a region doesn't suddenly reduce an AWS region down to a datacenter. A datacenter is a word with a pretty specific definition, and an AWS region does not fit that definition.
Back now, sorry.
More like it spoils the layout of 99% of documents. It works perfectly well for really simple stuff. Like letters and a little bit of what-if doodling in the spreadsheet.
I have an original surface book, and linux works more or less flawlessly. Running arch right now, and the only thing that didn't work out of the box was the touch screen. Fortunately, I never use touch screens for anything anyway!

The only interesting thing was getting dual booting set up. I goofed. I didn't realize bitlocker was on, encrypting the hard drive, and apparently didn't have a recovery key, which you apparently need if any boot setting is touched at all. As a result, I had to wipe + re-install the whole system, but that was no great loss since everything I really needed was backed up anyway.

In fact, I've had fewer problems running arch on the surface book than with my work's dell xps 13, though I'll admit that most of those troubles are due to the dell's USB-C port and linux support in USB-C docks / hubs.
Thank you! I must have read that page years ago, and I lost the link.
Somewhere, in the long dark ago, a bunch of people got upset about long functions with return statements peppered throughout.

So we ended up with a Best Practice of one return clause per function. Which is triply stupid because 1) long functions are part of the problem, 2) break to the end with multiple assignments to the same variable is almost as bad. It’s just trading one stupid for another which is a waste of time and energy.

And then for many years a loud minority of us, some of whom actually have a vague understanding of how the human brain processes data, insisted on the pattern you describe here. Some of us call it “book ending”. All the returns are fast or proceed to the end. Any method that can’t accomplish either has too high a complexity anyway and gets split until you get either one return, or book ends.

[another responder calls them guard clauses, but this doesn’t quite apply in all situations. A clause that handles a default or a bad input is why you can rearrange, but it misse why you should: ergonomics]
All of those things were fine, as far as I can tell. What did you run into specifically? I could run npm stuff, compile with Gulp or webpack..
See https://pando.com/2015/09/24/war-nerd-why-f-35-albanian-mush... for theory on why the Albanian's built bunkers - claim is that national defense was not main reason.
Install conemu. Problem (mostly) solved.
What I Learned Making My Own JIT Language
How to explain blockchain in plain English
Create a Static Website Blog with Gatsby, CosmicJS, and React
I am of the opinion that binary distribution should disappear. It's not a problem in 99% of the languages out there, why should it be one in C / C++ ?
The biggest problem with Windows is de-facto key escrow.

If you want to use BitLocker in W10, you have two options:

1. Escrow your FDE keys with Microsoft Live
2. Go through the hassle of setting up a PDC and escrowing them to your domain.

There is no option to NOT escrow your keys to a very LEO-cozy company with a local account. This is an immediate deal-killer, regardless of any other features or improvements.
You're a new account and you've only ever commented on this post, so I don't think you're really communicating with goodwill. But people reading you should understand that companies don't locate production in China for low cost reasons, they do it as to gain access to the consumer market. If a company has to choose between the next 25 years of the US consumer market or the Chinese consumer market, then you will be disappointed to see their decisions if you are assuming tariffs will have the desired effect.
Introducing MTA Strict Transport Security (MTA-STS)
> You can say this with the benefit of hindsight. If you were, say, an American social scientist in the 1920s, you might be supporting eugenics, as it was quite common at the time. If you dogmatically defended eugenics as being "science," called people who questioned the value of it deniers, and equated it with truth... well, you would be wrong.

This is misleading because it assumes that scientific views on all "science" topics are held uniformly. Eugenicists (who were not social scientists), held views that genuine geneticists knew were spectacularly wrong. But eugenicists had public visibility and political power. I think this is the main problem with the article -- it assumes that NYTimes science reporting provides some genuine insight into how scientists think. The public view of science, and perhaps that of some people who study the scientific process, seems confusing and contradictory. The scientists doing the work, in general, embrace or refute the contradictions in with the goal of trying to improve scientific knowledge.
Yup and if he was using PHP it'd almost certainly be MySQL. Your grizzled old Perl types would probably go with postgreSQL as an easy assumption
What xkfm said: Amazon, and Elecom or Sanwa Supply. I had a Sanwa Supply and it broke after a couple of years (switches died). Not really a big deal but I'm now using an Elecom and it's been fine for the year or so I've had it. I wanted thumb operated and wired, for which there is no other option AFAIK.
I’ve had to work with, presumably, the same types of documents from layers as the GP. LibreOffice is fine if everyone is using it. It ends up being a bit of extra work to actually use in practice in a mixed environment. Some legal documents have a lot of formatting that imitates creating a layout with a typewriter and the structure is important. LibreOffice can be slightly off in meaningful ways from a WYSIWYG standpoint, but not necessarily a file format standpoint. So while you can open and edit, the output you will print may be off in subtle ways because you added some extra spacing, you have a different version of a font, etc.

While it’s possibly to make documents that work correctly in both editors with this formatting, you’re simply not going to get people out of their flow. It’s received as well as if the legal team started telling you what your Vim config should be ;).

It ends up being cheaper in terms of time saved for everyone to just buy office. I have a copy of Office just for Word based legal interactions and Excel and use LibreOffice for everything else out of preference for the “old school” UI.
I took a class in rapid prototyping earlier this spring. One question has resonated with me since: “How does a human appear to the computer?”

There was a grotesque drawing of an eyeball attached to an ear along with a couple of fingers. It’s not entirely inaccurate: most of our interactions with computers are with our fingers, eyes, and ears. But now that microcontrollers like the Arduino and SBCs like the Raspberry Pi are so cheap and accessible, we can begin to look at different ways to interact with computers, through sensors instead of touchscreens and keyboards.

In a few decades, we may see a shift in our human-computer interfaces as lasting and profound as the leap from mainframe terminals to personal computers.
No offense, but you're probably doing it wrong
Put @blender@video.blender.org in the search box.
The steps have similarity but not equality

football = air filled balloon

air filled balloon = hot air balloon

But if we assume no truth/equality, then each of your steps becomes in effect correct, and the final step self-fulfilling

The result would be Nihilism -- nothing is true or false or meaningful

But the evidence against this, for me, would be that 2 == 2 has held throughout my lifetime

I.e. 'truth does not exist' holds where 'reality does not exist' also holds
Atari and Amiga were about 5 years ahead of the PC. By 1996 or so, it was over. It's sad to think about what these platforms could've become with better financing and management.
MacOS was crap back then, too.
How to Structure Django Projects
Wow, I can use your comment during my debates on democracy Vs Dictatorship.
I've been using Cmder since shortly after its initial release.

It doesn't step to either Tilix or iTerm2, depending on platform.
Branches are often important things to consider such that hiding them inside in-line conditional expressions can make a code reader miss a key piece of logic. Use in-line branches with caution.
And this runs head long into competitive issues. Google says they'll integrate the Google Assistant with OpenTable to let you book tables, but what's the chance OpenTable would nix that integration if Google was trying to make a free competitor? Google doesn't want to be in the restaurant booking system business, and this let's them offer a service in their assistant that no one else can.
a few interesting points here, but the author misunderstands one critical idea: science is always wrong by design. this is why the author claims that popper is irrelevant.

he doesn't understand what popper understood: each scientific experiment is an asymptotic step towards a 100% accurate understanding of reality. that's it.

it doesn't matter if the experiment "failed" or succeeded, so long as it was methodologically sound. you don't even need to understand that you're making an asymptotic step at all! every element of a hypothesis built this way is falsifiable by another such asymptotic step. note: falsifiable does not mean that the entire hypothesis is discarded -- just one element.

is this process inherently self correcting? not on the timescale we'd like, but ultimately, yes.

the current institutional problems with science are severe, but largely inconsequential in the very long run of human knowledge. institutional science as it is currently practiced is not the only "science" nor is it so flawed as to be unworkable. simply put, problems of scientists and people performing science can slow down the march of science, but it can't stop the production of new knowledge.

the same goes for editorialization of findings, misuse of descriptive language by scientists, misuse of quantitative models, etc. these are problems which MIGHT cause a smaller number of asymptotic steps, but only on the scale of a hundred years at the worst. we're in the game for thousands or maybe millions of years. we have the time to make these mistakes and get over them. and often, when we realize our mistakes, we make a ton of progress immediately after.

so, then, what is science? an intentional use of objective methodology to improve knowledge of reality.
would you rather emergency security patch opensshd on 10 machines or one bastion host?
Well, on the two major desktop operating systems they don't, or at least not for everything on offer.
I believe Facebook, overall, is a net negative. But that doesn't mean it doesn't have its own positives.

Sticking to the "net positive / net negative" terms, imagine Facebook contributes a number of positive / negative points to the world. Now the sum can be a net negative, but that doesn't mean some line items aren't positives.

Where do you work? Is your company flawless? Are you a contributor to every single one of its misdeeds merely because you work there? This isn't an easy thing to answer for everyone. I think it's certainly a question more Facebook employees should ask themselves though.
> When are you completely changing types all the time?

I do, often enough (multiple times per month at least) that I have headers of typedefs for the alternative types that I have to use and which provide different performance characteristics and behaviours.
Anecdotal, but I've never had a Razer mouse go bad on me in under 2 years and that's with some fairly consistent heavy use.
> Overuse of oop concepts is just as harmful

The author's examples are not all about oop -- many of them having nothing to do with oop, they are just good advice for clean code in general.
Less blowback typically when you can blame a third party though.
Your code should be written this way instead:

if !cache.contains(key) {
v = db.query("..")
expiry = calcexpiry(v)
cache.put(k, v, expiry)
}

return cache.get(k)

Only one return, and everything is still in the logical order.
SD Express Is a New Memory Card Standard That Leverages PCIe and NVMe
So it's easy as long as you use Cloudflare, otherwise you still have to fight with private keys, csrs, permissions, hsts, http->https redirects and what happens when it expires or otherwise goes wrong.

Thanks Troy!
I also found it funny. As someone who overanalyzes things constantly, I often get into thought loops that lead to regret before I’ve even taken an action.
I'd be interested in hearing how much of an impact that has on the US economy since most US debt isn't owned by China.
> The tooling just not there at all.

how so ? most IDEs are able to tell you what type is behind your auto by a hover.
the AP spec is actually, a bit more abstract that you would expect. JSON and JSON-LD are required, but transport and actor resolution are not well specified.

current-gen AP servers do have an implicit dependency on HTTP and DNS. i've spoken with several people about creating a proof-of-concept AP server that supports gossip-based replication and a few other ssb-inspired features.
I would say that the fact this battery reignited is barely news. Its a well known "feature" of lithium batteries. Petrol is at least as dangerous from the perspective of a fire hazard. Diesel is probably the least likely to spontaneously combust.
give them some slack guys
On all browsers (with history api’s) most likely, looks like they are multiple entries without replacing one.
oppressive regimes will assign people static IPv4 addresses tied with their legal identities.
But communication by an anonymous sender, and, indeed, anonymous sending of small physical objects, has been available ever since public postal services were implemented, in the 17th century. I'm not sure it's worth trying to roll that back.

Real-time full-duplex encrypted and off-the-record communication between several anonymous parties is a new thing that skilled people can, with difficulty, obtain today.
As you scroll through the site it seems to re-set the current page for each section, which was totally unexpected behavior to me.
False. Like for any language, C and C++ programmers (should) put very high value on correctness. Incorrect code can be written in safe languages too, but clearly C/C++ make it much easier to kill your program spectacularly. Discipline, knowledge, and tools are required to work in C/C++.
I'm more worried about the science zealots who try to push some faux purity test on legitimate scientific pursuits
If you're interested in an exegesis of encryption from a legal perspective, I suggest reading one of the citations:
"Encryption Workarounds" (O. Kerr, B. Schneier) Georgetown Law Journal
https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2938033

> The first lesson of encryption workarounds is that there are no guarantees. Workarounds are inherently probabilistic. On one hand, no approach will work every time. On the other hand, that a target has used encryption does not mean the investigation is over. The government has to search for a workaround that might succeed.

Note: The authors define a range of workarounds to include the "password sticky note on monitor" to "vendor installed backdoors".
You can do DMs, but it's possible for admins with sufficient access on each recipient's instance to read them.

edit: I didn't see that this was in the context of GDPR.
> he's not allowing us to even use a break or continue in our loops

You can use a goto then... (yeah, even worst practice, but as long as it's allowed)
High Sierra has had some bad bugs, some that made my stomach churn even more than root access. One's that directly impacted my work flow make me the most angry: regular screen flickering, occasional computer falling asleep, and two times a complete logout. This is on the current model 13" Macbook Pro touchbar. I bought it in december to upgrade from my 2012 model.

I keep up to date on the software, but I sincerely hope after High Sierra Apple poured the necessary resources into making Mojave different. The thing about OS X is when it's working in my opinion it blows every other operating system out of the water. Clean. At least for my own workflow.

I don't buy a macbook for it's hardware. It could be two pounds heavier, have half the RAM for twice the price and look like a shoebox for all I care. OS X is what I'm paying thousands of dollars for.
It's been like six months since I tried, because Fedora does great for me now, but in Visual Studio Code Ruby/Rubocop threw a rod, using a Linux-based .NET Core confused it, and anything Java was a nonstarter. For JavaScript, I do usually run `yarn watch` (workspace-level through oao) in a terminal and that works fine, but stuff like eslint/tslint integrated into VSCode was regularly a real pain.

Worse: because VSCode--and if it wasn't a Microsoft product I would be less annoyed, but it's their editor and their OS so they can own it too--doesn't really support per-platform configurations, working around it by disabling stuff on VSCode causes my settings sync solution to break my other machines...
Yes, you did. I was just providing an example. Thank you!
He is also running an insurance company that needs cash on hand. On top of that they don't issue dividends only occasional stock buybacks which means they are going to accumulate cash by default.