skysight-inc/HackerNews huggingface dataset:
Whether it's an Android issue or specific to OnePlus, I've noticed I have to reconfigure Slack as a "non-battery-optimised" app after each app update.

EDIT: More info on the subpage: "To avoid the system to automatically revert the not optimized setting, you must also lock the app into the ‘Recent App’ list." https://dontkillmyapp.com/oneplus
It is you.
Article reachable using the Motherboard - VICE RSS feed https://motherboard.vice.com/en_us/rss. Ironic?
And what do they do? It's not obvious.

edit: Thank you both!
I don’t see their problem with Sony’s stamina mode:

The UI makes it very clear if you have it enabled, it explicitly tells you what it does and I never missed anything because of it.

If you keep your phone on silent you don’t care if it delays fetching messages until you actually turn on your screen anyway...
We fund new means tested housing as a percentage of new market rate housing. People who want to substantially increase the availability of either type have aligned interests here: as much development as possible.

In my experience, affordable housing activists want to make sure that if development happens it's price-controlled, but are fine with zero or a token level of development. It's the YIMBYs who are pushing for volume/scale for all kinds of projects. That's where the blows come. Percentage vs. quantity.
Time zones make a big difference to remote collaboration. South and Central America are likely to become increasingly popular for offshoring for that reason, IMO.
Find, lock, or erase a lost Android Phone https://www.google.com/search?Android+Device+Manager
> Well, fraud would still happen. The problem from the fraudsters point of view are manifold though: They have to actually deal with the police in person. Sending copies of identity documents by mail is not as involved as personally going to a police station. The risks are very different.

Not really, because that isn't how fraud happens now, and nothing about that would change it.

People don't commonly commit fraud by going to a government office to get an ID issued in your name, they do it by waiting for you to do that and then stealing it from you or otherwise convincing you to give them the information they need to authenticate using it.

> Similarily, you can have corruption at phone carriers and credit-card companies too. What matters is the audit-chain. If a police officer keeps id-ing fraudsters they won't be in the job for long.

That's assuming the audit chain is both secure and less susceptible to corruption than the original system. Audit logs don't help if they're compromised by the people with privileged access. Or you nominally have individual accounts but in practice they're shared or not secured against compromise by privileged users.

And assuming that the corruption problem is specific identifiable people rather than a systemic issue where >=5% of police are corruptible so one getting caught only requires the fraudsters to use any of the thousands of others.

> That public servants are more corrupt and less competent than the corporate employees one depends on is not a universal experience. Not for me anyway.

The difference in this case isn't that the quality of the people is different, it's that the nature of the system is different. Whereas an individual company might have five employees with sensitive access, across an entire national government there would be a hundred thousand or more, so the attacker has a hundred thousand chances to find the lowest common denominator instead of five. And then when they succeed the scope of the vulnerability is not limited to that one company, it's universal.
Definitely just you
I only looked at Nokia but it shows an embarrassing solution to the problem of users not having enough control over their phones. It should be effortless for users to control what apps can run and how much power they can use in the background.

It is time for the vendor neutral cell sized tablet with only a data module to avoid the draconian telecom monopoly protection regulations.
It took me a full hour to login to PayPal
Agreed. The first sentence in a readme should always be what it is, does and why... even when it seems super obvious from the name (which is definitely not the case this time around anyway).
I mean I don’t want to sound too discouraging but this is the problem with “plausible sounding” armchair urbanism. 1% of the surface area of SF is over one hundred city blocks of 33 story residential skyscrapers. And as you note, that’s not even enough to house the global workforce of the current tech companies, many of whom would move to HQ if housing became cheap along with crap tons of others.

Well, sure, go ahead. The point is market rate construction alone will not solve the service industry housing problem. There needs to be affordable price-controlled housing to support a healthy local economy.
Could... could this be the most modern department in the Australian government?
And worse, what they're doing confuses android's own code into thinking the apps are crashy.

So if you run e.g. (new JobInfo.Builder(1234, name)).setRequiresCharging(true).setRequiresDeviceIdle(true)... to do something heavy (like reindexing an on-device database) while the phone is charging, that job will simply not be run on some phones. You have to check whether it's been run at app startup, and if necessary run it while the user is actively using your app.
Like the wild west.
Are there that really all that many? The pushback I see from developers against "offshore" is specifically directed at cheap outsourced offshoring. That's an entirely different kettle of fish to hiring people to work for you directly.
Interpreting Kafka's Exactly-Once Semantics
Yep, takes a lot more effort these days. Effort I am just not willing to put forth. The most I do is periodically Google my name and remove old information I no longer want out there.
It sounds like something that could be trivially implemented by taxing high income brackets, and directing that money into subsidized low-rent housing.
Not really no. It's more problematic, a good amount of vendors doesn't allow applications to run in the background and it's not a matter of notifications.

It's a big issue with IM apps like Conversations or calendars and contacts synchronisation apps like DAVx5

Some example:
https://github.com/siacs/Conversations/issues/2771
> For emergency based care in hospitals, I still don't think it's a major net-win for consumers, as you don't care enough to ask about price when your leg is broken

If I know in advance Hospital A is cheaper than and of the same quality as Hospital B, that could affect my decision around where to go for something like a broken bone. (Urgent, but not critical.)
Remote work doesn't mean solitude, it means being free to work wherever, and often times whenever, you feel comfortable. It also means less commute, less cars, less pressure on the environment. If friendship/relationship/community is a worry go work in a nearby co-work space or a coffee shop or the park even, it might be a walk or bike ride away.
> C++ is explicitly unsupported

Given that C++ now has a defined memory model, it might very well be that it's now impossible to implement C++ in a standard conforming way on exotic architectures.
1. I would prefer to hear the answer from someone with personal knowledge as not everything you read on Google is true.

2. Yes, but that was not my question.
Heart attacks, for one, don't wait for them to accept your offer. Also when you call 911 they decide where to take you.

These lists are useless. God knows how many of those charges will they tack on your appendectomy, from unwrapping the syringe to administering the $4 pain killer.

What we need is is a simple list like some surgery centers have. This operation will cost this much and includes everything.
Timothy Budd's Little Smalltalk book and implementation explain how to write such a VM. You can find a copy of the book at http://stephane.ducasse.free.fr/FreeBooks.html

You can also google for the various version of the system. System 1 is the one described in the book. System 4 consist of a very simple VM in C that implements only the byte code interpreter, memory management and garbage collection. Everything else is implemented in Smalltalk itself, including the compiler. The system is considerably smaller and easier to understand than a full Smalltalk 80 system.

System 4 appears to be archived at https://web.archive.org/web/20071005062021/http://www.little...
Designing Resilient Systems: Circuit Breakers or Retries? (Part 2)
Every Christmas, I go home to Houston for a week or so. Every time I budget 5 pounds weight gain. It is never enough.

Houston is a crossroads of different food cultures. It is the South, the West, and the bayou rolled up into one. At first it was Cajun, Creole, Soul, Mexican, and it has been like that for 50 years. But in the last 25 years, lots of more has mixed in like Vietnamese, Central and South American, and a significant New Orleans diaspora due to Katrina.

Plus, you have a car culture where it isn't uncommon to travel 20 miles in 25 minutes for a weekday dinner out. There's so much money sloshing around that lots of folks eat out every night. That plus a healthy supply of labor means it is a very good restaurant city.
Sure you could probably win a lawsuit. However what about the lost business you will incur until the lawsuit is done and Google decides to follow the court order?
> If you keep your phone on silent you don't care if it delays fetching messages until you actually turn on your screen anyway...

That doesn't follow. All I want is my phone to be quiet; I don't stop caring about timely notifications because of this. Also, just because my phone is on silent doesn't mean vibration is turned off and, in the case of my iPhone, the notifications go to my Apple Watch.
It was glorious. It really was. It felt like a childhood Christmas or Birthday every day for months. It was such an exciting time I could hardly sleep. That was 1997-98 after I broke free from AOL and started using Internet Explorer to surf the "real" web.

I created my first website in 1998 simply because I had an idea I wanted to share and it went semi-viral. It wasn't about money or fame or anything else. 10 pages, Front Page 2.0, largest page 3K, $29.95/month hosting. Of course, if you count the 7K logo graphic (gif) the pages were really 10K!

In my adult life only a few things have given me that same feeling of unbounded childhood excitement and freedom. Perhaps that's why I can't give up yet on the "promise" of the web even though corporate control and government surveillance seem to increasing daily.
There is much scope for abuse if things are relaxed, but all kinds of very serious use cases become somewhere in between “very difficult and/or unreliable” and “impossible” due to these techniques. For example: email clients, chat clients, calendars, even alarms sometimes.

The first affected things tend to be synchronisation jobs, but it’s distressingly common for these systems to break things so that notifications just mysteriously stop working outright—with no diagnostics of any form for user or developer.

Or how about emergency notifications? I live out in a rural area and it’s bushfire season; I want the VicEmergency app’s notifications pronto so that, if a threatening fire starts nearby I can get out quick.
I am suggesting academics do the removal, not some political authority.
Cameras Should Be Reviewed in Auto Mode
A few million DAU is not at scale. A few million concurrent active users might be, but really, “at scale” has no meaning other than “we got to the point where shit gets hard”. And that point is different for every app.

I remember watching a big xbox/ps3 game launch crash and burn when 16 of the biggest MySQL servers we could buy couldn’t keep up. That was two jobs ago and embarrassing (and probably expensive). That was “at scale” for us.

Last job we started at about 60 m4 ex2 instanced and were well into the thousands when I left. I suspect they’re approaching 10k instances now. And they’re pre-IPO startup, and I think that was at scale.

Current job measures in the hundreds of thousands of database instances, and I only count one specific database engine. Probably counts as at scale.
I hadn't connected this before: all brick-and-mortar retail is descending the value chain. From JcPenney to Kohls to Wal-mart. From Applebees to Chipotle.
. . . physical location irrelevant . . . for almost everything except getting investment, apparently.

I guess the gold is still in San Francisco.
Node.js and JavaScript Testing Best Practices
Ask HN: Where do you get CA validated “Client Certificates”?
A 3rd party API we're hoping to work with need a Client Certificate for authentication of our backend servers. However, contrary to (as I understand it) the general practice of using self signed certificates, they are asking for a certificate issued by a trusted CA.

I've gotten in touch with a few of the largest SSL certificate providers, and all but one of them has responded to my query so far.

The one that responded has quoted a price > USD 2K for what they call "PKI infrastructure" setup, and around $50 for each generated certificate. The $50 is fine, the $2K is too much IMHO.

Has anyone on HN dealt with such requirements before? If so, which certificate vendor did you end up using, and what was the approximate costing and general experience?
From Windows to MacOS – few helpful apps that have eased the transition
I made https://feedsubs.com to read feeds from my phone with a minimalistic interface.
Time management is ruining our lives
I don't know why, but it just doesn't work. My guess is that the top tier candidates from those places are capable of moving to a place with higher standard of living. At least that's the case where I'm working now. The best Indian candidates have been able to demand relocation to the US and the rest are still in India.
I developed for AS400s back in the day and IMHO only the iPad comes close to the consistent UI that data entry workers need and expect. I remember my employer introducing a Windows GUI front end and being told by major customers that they needed to offer green screen entry again or they would buy my employer and make them do it.
Ouch i hope you had mixed drives in a raid, its things like this which are the reason i make a point of mixing disks up a little in an array, its never happened to me but ive heard enough stories in the past to be prepared
I also seem to remember (I programmed this one in the late 80s, back when my memory was good) that overflowing the 16 bit register did not set the proper flags.

Still, compared to the 6502, this one had lots of comfort.
Elections Canada Issues a Draft Document to Accept Crypto Donations
The irony: Many manufacturers factory-whitelist apps like WhatsApp, Skype, sometimes Telegram. That means that smaller messengers get killed (=no more new message notifications) and users complain to the developer because "with WhatsApp everything works fine"...
See also this post about notifications delivery interruptions on Android and how to fix it: https://onesignal.com/blog/manufacturers-interfere-with-reli...
old problem, new solutions, hopefully with C++17 it's much cleaner
There's an interesting downside about remote work that most articles don't talk about. Pay.

The brutal fact is most companies simply re-brand outsourcing as "Remote" employees. Case in point, a few years ago, a DIY website builder (a company with a name of a coniferous plant species which I won't name directly) contacted me for a "remote" position.

I passed all their tests and we eventually went to the salary negotiation stage. I agreed to this interview in the first place because I read online they paid really well for their employees, particularly in the US (Bay area).

So, when we were discussing the pay, I threw in a number that's common for the Bay area employees and what seemed very, very reasonable for me. In fact, my current salary was almost the same, just so to make it clear to you that I wasn't trying to take advantage of them or anything.

Immediately, the founder got offensive and told me, "What? Are you serious?? You live in Asia (I was living in Singapore at the time, which already had better pay as opposed to PH), for our employees in Philippines we pay 1/3rd of that and I can still get the job done. Why would I want to pay you that salary?" I told him, "Well, this is what you pay your Bay Area employees, don't you? Besides, my experience more than matches the job profile and requirements and my test results just proved to you I am more than capable for this position."

His answer? "But, you don't live in the Bay area". I thanked him for his opportunity and advised him to contact some sweatshops instead of playing the "remote" game. Since then, I very very carefully ask anyone who uses the word "remote" a LOT of questions, qualify them if they really know remote isn't the same as outsourcing before even going into the interview.

I would have happily agreed to a lower salary if it was fair enough. But, asking me to go down to 1/3rd of my price because of where I lived in seemed ridiculous to me. In the last 10 years, I've lived in 7+ different countries and 35+ different locations within them as I'm that sort of person who likes to travel and explore new cultures. Basing my salary or worth based on where I'm from, where I live in at present seems the most ridiculous thing to me about remote work.

Edit: Typos and clarifications
These days the app doesn’t run in the background when receiving an FCM push notification (unless it’s already awake). The message is created by a separate Google Play Services process. It’s only when you click the notification does the target app’s process get woken up.

IMO, the best way to solve this is with an explicit “Let this app run in the background” permission, rather than implementing all these “smart” features which are incredibly non-deterministic. Which leads to developer & user frustration alike.

Take the example of the new “App Bucketing” battery saving feature in Android 9, plus a banking app and WhatsApp....

App Bucketing will basically restrict your background processing based on how often you interact with the app. So for your banking app (where you usually want immediate spending notifications), because you don’t really open the app that often, it’s going to start throttling your notifications (and prevent it from running arbitrary background jobs).

But for WhatsApp on the other hand - because you’ll likely open it more often - it will have full permissions to run in the background any time.

If as a user you wanted to prevent arbitrary WhatsApp background jobs and get instant banking notifications - well tough luck!
If the app is killed that doesn't just delay notifications. It prevents them until you manually open the app again.
You’re forgetting the all important factor of tech-boom fueled demand. Pretty major omission there.

Also, means testing is not the only way of providing service industry housing. In SF what cooks and servers are left are hanging on to rent controlled units. As those are eliminated through gentrification (Ellis Act evictions, etc), the restaurant crisis worsens.
I think you misunderstood the core issue here - it's not that the USER can decide what runs. It's that the USER cannot override those settings and decide that something can run and function if required. There are special whitelists for apps that are allowed exceptions (e.g. Facebook and other common apps are usually allowed to work) and others are killed against the Android API guarantees (e.g. you install Signal messaging app and you don't receive messages because Huawei didn't whitelist the app).
I think it depends on what you want out of it.

In western sci-fi, the story exists to make the reader feel good about themselves. At least, the successful ones are like this. It makes for good movies, and good story telling.

Think about that for a moment. All the western sci-fi that we've been used to: Star Wars, Star Trek, Battlestar Galactica, etc.. All these stories are not really science fiction, but rather, science fantasy.

It goes through the normal story telling, of establishing a good guy and a bad guy. And it tries to pull you in, to empathize with the challenges of the good guy, so that you can experience his trials and tribulations. And then, at the end, the good guy always wins. He always succeeds, in some way or other. And you're left with feeling a sense of joy.

But, Cixin Lui's stories, threw all that aside. He presented you with the cold hard reality, of survival in the jungle. That there are not really any good or bad sides. Just different perspectives. And everyone is just trying to survive.

And the jungle is the galaxy. Western sci-fi is all about being human-centric, as if we are the only species in the universe that matters. Whereas Cixin, presented us with a reality, where humanity is only one of billions of intelligent species. Those that had survived the jungle, or those that hide from the rest, or those that evolved into another form, or those that end up hunting, to maintain their probability of survival.

So, if you want to continue to feel good about yourself, then stick with what you know. Keep reading western sci-fi. If you want to expand your mind, then try out Cixin's novel.

Admittedly, I think something was lost in translation. The translated text was overly wordy. But the concepts behind it, was still incredible.

I especially loved the story about the human computer system, the Qin 1.0 Operating System. That was quite creative.
I watch the evolution (and evolution is the right word here, given the complete lack of intelligent design) of Android APIs with a kind of morbid fascination; a ritual dance between inept API designers with the foresight of a two year old spotting an ice cream vendor across a busy street and app developers who (driven by management) have to buy into the fact that their life saving and community transforming app (CRUD app for ordering fast food or something like that) must support 34 kinds of real time notifications.
Scala Android Template
Yosef
"Dark Forest" is a fascinating idea that would make for an interesting short story, but I agree with you that the characters and plot are extremely lacking.
How to Save Web Pages
The default mail app on my recent-ish Samsung flagship phone notifies me of new email anywhere from 30 minutes to 1 hour late. I used to depend on K9 Mail for business on the go, but it was even worse: notifications were often several hours late. Android was dropping the IMAP connection and not allowing the app to reconnect for a routine poll.

There doesn't seem to be any general-purpose email app on Android that can actually notify me at a reasonable interval (less than 10 minutes, if not immediately). Even after disabling every power-saving feature I could find, Samsung is still killing and crippling their own default app.

I understand that it takes a bit of battery to poll an IMAP server every few minutes. But if I want an app to be able to poll an IMAP server in the background at the cost of having to charge my phone a little more often, that's my choice. Besides, my old phone didn't have this problem and its battery still lasted a whole day.

What's even more infuriating is that the phone allows preinstalled social networking apps that I don't even use to continue running in the background while it happily kills the apps I actually need.
>$3,447 is the asking price for apartments now on the market. $1,600 is the median rent price people are actually paying, including people with rent control and affordable housing. People who have been living in rent-controlled apartments for many years pay a fraction of the current market rate.

Which is why this problem is a slow burn. It's not like everyone was evicted and the worker pool cratered overnight. But as existing low/middle income workers leave for whatever reason, they cannot be replaced. Their numbers are on a one-way ratchet downward.
The ones that are worth hiring don't charge 20 times less regardless of their cost of living, because why would they?
Amazon API Gateway announces service level agreement