skysight-inc/HackerNews huggingface dataset:
I'm curious to know what the mean and median number of movies watched per customer are. I don't think you can see the same movie twice, and there are only so many movies that a given person would want to see in one month.

From the consumer side, if people think they're going to see at least 2 movies per month, then this is a win. So the bar is pretty low, and I could see the mean/median being around 3.5 movies per month. I'm sure there are some heavy users, but there are probably also folks who forget to use it some months (but don't cancel).
Guide to help you master arrays
> Having a too small battery is the exact definition of planned obsolescence!

That’s not true. Having a too-small battery on purpose is planned obsolescence. Having a small battery (what does "too small" means? Compared to what?) has nothing to do with that. That’s the purpose of "planned" in "planned obsolescence".
Trying to raise awareness to the fact that Apple's battery letter is only available on the american store. We in Brazil already experience absurd prices (a battery replacements costs R$ 449,00, equivalent to US$ 136,41), but I doubt will see equivalent reductions...
> Instead of capital flowing to those who are best able to convert it into the most happiness for the most people

This isn’t the natural progression of free market capitalism though. The money will flow to those who are best able to use it to control the behavior of their customers spending. Making someone happy is just one way of controlling their spending, but there are many, many others.
Not even that much of a pain. Apple makes the batteries fairly easy to replace (with the right tools) to lower their own cost of warranty repairs, staffing, etc.
Google retires the Pixel C tablet as it shifts focus to the Pixelbook
This looks like someone's picked out a variable and missed the bigger picture.

If people from Dunedin do have a positive correlation between lead in their blood and criminal convictions, then I'd be asking why the convicts have more lead in their system in the first place.

From a quick google it looks like lead paint can cause higher blood lead levels. Perhaps the use of something like lead paint could be highly correlated to poverty. I know my gran has wallpaper on her walls instead of using paint - perhaps people in order to save money on their properties used lead paint instead of wallpaper. Perhaps state houses have more lead in them than richer family houses.

The point is without knowing much about this area, and from a quick scan of this article, it seems that they're trying to find evidence to support their current position of thinking around lead poisoning and crime.

I don't know if what I've mentioned above around housing is accurate at all, but it's a quick thought off the top of my head to demonstrate a potential for missing the forest for the trees, or an attempt to find 'evidence' for your preconceptions.
> Give more power to users to make their own decisions about browser, battery, OS, etc. But they won't.

To be fair: what do you expect from Apple? Power to the power users? Because that’s not happening.
> OTOH, the roads can be pretty empty in rural South Dakota.

This, I suspect, is the big difference in attitude.

In a suburban area, you have a significant chance of hurting some else when you drive drunk.

In a truly rural area, you are mostly likely to harm only yourself when you drive drunk.
Yes I was mainly referring to desktop and laptops. Phones were mostly in the 2x range for a longtime until other companies began to push their 'flagship' phones at high prices as well. I've never been an Apple person but I used to recommend Apple to my non-technical friends and family and say, 'Your going to pay a bit more but not have to worry about it not working, getting viruses (back when this was an issue), etc...' but I don't feel that way anymore.
> I think the non-manufactured part of the scandal is having your phone throttle itself w/o telling you it's doing that is pretty annoying.

If you have a laptop then I have bad news; your CPU throttles itself. Especially if you play games.

It gets too hot and slows itself down to prevent damage. There’s not even a direct way to detect this. Which I do admit is annoying.

Apple deserves this PR egg on their face. But they aren’t doing anything super wrong. Additional battery life info will go a long ways towards doing things right.
> doesn't degrade horribly after only a year

That doesn't happen unless you have an absurd number of charge cycles. It usually takes 2-3 years of normal use to reach a point where the battery degradation is a major problem.
the theory is that your battery was already worn out, putting your device at at greater risk for sudden shutdowns.

when you updated your software, it started throttling.

per that theory, a new battery should put you right again. (or wait for a future software update, which will tell you for sure if it was throttling.)

i think there is a little more going on, though, because my old ipad mini is slow a.f. w/ the new software update, and it shouldn't be affected by this throttling. my guess is it's simply lazy software engineering: apple doesn't seem to try to target good performance on old devices.
Think before you React. Zam – A perfect tool for your next single page app
I have never seen anyone implement such a policy for sysadmins that actually prevents an attacker from running arbitrary commands. As soon as you permit running e.g. vi on some file, you can just shell out from vi. Or if you can sudo apt-get install, you can downgrade a package to a vulnerable version and then exploit it. Or if you can sudo tcpdump, you can write a dump file to /etc/cron.d and send a valid cron command surrounded by newlines over the network. Or lots of other things.

sudo is useful for allowing generally non-root users to run specific commands or better yet specific scripts (that they can't write to) with elevated privileges - e.g., letting someone "sudo systemctl restart apache2" but nothing else. But it's not particularly useful for auditing people that you want to have mostly-full control over the machine. It can keep honest people honest, sure, but so can .bash_history.
Ok, if you read my post, I did say "In the case of these iPhone batteries, I think Apple's response was relatively timely."

But even then, my comment is only with respect to the response being timely relative to the problem becoming publicly known.

If you take a cynical view that Apple knew what the side effects were a year ago when they released the software update but chose not to disclose it in the release notes, then the response was not timely.
I too backed and after all these years figured their updates, videos and data were worth my backing.
I like it. I especially like that Alastair Reynolds anticipated it in "Revenger".

Presumably the idea here is to store energy during the day and then return some of it during the night via glow-worm biochemistry. In "Revenger" they actually use growing plants as a kind of electric lighting -- presumably via a kind of reverse photosynthesis converting conduction-band electrons to light.
You've never met a newborn child.
If you had it replaced in an Apple Store I'm guessing they'll make it right for you. Call the store and tell the automated system you want to speak to a manager. It'll get you to a real person and given the PR around this issue I'd be surprised if they didn't give you something of at least this much value.
I lived in SE Asia for over 7 years, and it was customary to see construction workers, and managers asleep on benches or cardboard during what would be tea break time, or lunch. I have mild insomnia, and I cannot nap as much as I try. I have fell asleep on the subway before in the past, and I felt great after a 20 minute snooze; I had a friend seated next to me, so no fear of getting rolled (NYC subways in the 70s and 80s)!
This is so US for me. Soda i easier and cheaper than plain good tasting water.
Your issue wasn't because of a faulty battery though, it was normal battery degradation. You would have had to pay for a new battery in any case. If it was less than a month ago you might want to try to press them to refund the difference, but otherwise you did get a tangible benefit from the new battery in the time since you replaced it, so there's a cost for that.
Any list of "free" countries that has [the UAE](https://en.wikipedia.org/wiki/Human_rights_in_the_United_Ara...), Chile and Singapore in their top 10 is using "free" in the Orwellian sense.

"Labor Freedom" is perhaps the most galling. One might think it would cover the right of laborers to organize and collectively bargain. Or the right to have safe working conditions, sick days, severance pay, access to childcare and healthcare.

In fact, it's the exact opposite. A perfectly free workforce in Heritage Foundation's verbiage would be one with no worker protections or individual rights of any kind and a 100% labor participation rate - to them, quite literally, "labor freedom" is slavery.

Maybe France does have to many workers' rights to compete with other countries, who knows. Heritage's numbers aren't granular enough for me (or you) to assess that. But re-defining the meanings of basic words so one can accuse people who disagree with you of "hating freedom" is pathetic. Please try to find some other way to make your case that's befitting educated adults discussing a serious issue.
> "We know that some of you feel Apple has let you down. We apologize."

Really disappointed, but not surprised, with the wording of this post. We're sorry YOU FEEL disappointed. It's like apologizing for making someone feel offended instead of apologizing for offending them outright.
Romanian hackers took over DC surveillance before presidential inauguration
Not only did they have the right design decision to lower the chance of my phone shutting down when I may need it the most, they are lowering the battery replacement price!
https://www.bloomberg.com/news/articles/2017-10-11/moviepass...
Diffy: tiny framework for building diff based interactive command line tools
I was a business owner before I became a tech guy. Living in a country with good rule of law and meeting customers face to face will help you get your first consulting clients much faster.

I recommend being honest about the proposed solution and the time frame required to meet those expectations. Customer usually doesn't know what they need. They ask for a perfect solution. But you gotta show them why the pursuit of chasing perfection is futile for their business, specially in tech where doubling a seemingly simple metric might end up accounting for 10x the engineering cost.

Here is an example, some time back I contracted a customer with 10K clients in production delivering 400-500 average RPS. The customer wanted real time stats which is hard to do with that much data as it included many dimensions, I proposed a solution which was 10x cheaper and had a delay of 1 minute. The business owner initially wanted 1 second delay but at the end was happy with my solution.

You might not be so confident while talking with the customers but that's ok, just take the problem home, think over it and come back with a solution. As a business owner, I never really wanted a rockstar, I just wanted someone who I can rely upon and you'll be amazed how many failed to deliver just that. You might think that the people with money can always find better folks who can solve their problem faster with a better solution but that's not what happens in practise. I always had all money but still failed to find solutions to my problem. Yea, well that's my own experience :)
Do you fuck batteries?
Not sure this rests at the core OS level. Text encoding certainly adds complexities to many applications but I don't see how abstracting this to the system level would really solve anything. Especially considering the fact that this wouldn't happen across all platforms and thus would just be adding another level of complexity in terms of supporting this specific extension.
The best way to not get your car stoken is to leave the engine in a warehouse in Germany, the chassis in a car park in Brazil and the rest in your garage in California. That's super secure but how do you use it every day?
Sure, for this specific issue. But the culture of increasing hardware requirements beyond the reasonable point of not-that-old phones coupled with the opacity surrounding what is done to support them is systemic (and not Apple-specific of course).
But this is intended as an apology, not a sale. Apologies don't come with big asterisks if they want to be taken seriously. And PacketPaul's experience was even worse because the reps did not believe his story. You can always take to twitter if you want to get something like this fixed, however.
That's great. But they charged me over $100 to get mine replaced some months ago.
> The blockchain is not going to solve the basic issues of human fallibility and gaps in trust

Yet here we are. With a globally traded decentralized token. What more evidence do you need that “the game has changed”?
There's nothing that Apple can do here; trust is hard earned and easily lost. Apple just lost however much of trust the grandparent had accumulated over the years.

Trustworthiness aside, Apple as a hardware company has made many questionable choices that makes me rethink purchasing their hardware. (headphone jack and the touch bar being the most egregious) I don't think I'll be getting the next macbook if these don't get addressed.
> Budgeting for a cab ride home seems beyond everyone's thinking, in this article...

Cabs at the time you need them for this kind of duty are damn near useless except in the largest cities.

It's only the ridesharing services that suddenly made hailing a ride home from the bar a useful situation. And we haven't had ridesharing services around for that long, really.
> what does "too small" means

If a battery has not enough capacity to carry the phone trough a whole day after 1-2 years of use then it was too small to begin with.

I have the feeling that iPhone batteries are just large enough that the phones survives a day of medium use if the phone is brand new. After 1 or 2 years the battery is so bad that it barely holds enough charge for a few hours of usage.
I'm not sure the salaries have anything to do with it, and I vaguely recall Apple being middle of the pack there anyway.

I think it's more about appealing to peoples' ambitions and desire to be recognized in this case. Imagine if a VP of Engineering addressed you directly to 'make a big impact' on the company's new secret product. Many engineers would want to impress this person, consequences be damned.
Makes sense. I'm going to use this as a venue to bitch about my experience with MacOS. I have been a long time Windows/Linux user but have long admired MacOS from a distance as it appeared to be, essentially, a polished Linux distro. Bash along side consistent UX, sign me up.

I purchased a MacBook Pro 8 months ago. I walked into the experience loving it. I wanted to love it. I wasn't some Windows fanboy who hates on MacOS, it's just that after I got using it for a while, I was shocked at how unintuitive it really was. The good things were really great (trackpad gestures, spotlight, it's aesthetic) but that bad things were silly bad (full screen apps, no intelihide on the dock, no window tiling, battery, finder, garbage filesystem support, etc)

I felt betrayed. (NZD, 2017 13" best touchbar model) I paid 3000 of my hard earned dollars for dated specifications so I could have access to what I expected would be the ultimate user experience on a computer.
I ended up selling my MacBook after 6 months because every time I looked at it, I remembered how much I paid and how much the UI frustrated me. High Sierra was the tipping point, I was hoping for an improvement to my experience, instead they gave me a new file system and "ES5 support in Safari" - according to Tim Cook.

I'm keeping up with MacOS and hope they start caring about their MacBook/MacOS product(s), because as soon as they do, I'll buy one.

For the record, Windows and Linux have their own sets of compromises, but I can run them on a Laptop I bought for $800, or a used Desktop I got for $200, being equally as productive.

tl;dr - I was happy paying the premium for UX, however I got an incomplete product and I was mad. /rant
Games Like Roblox – Roblox Alternatives
I've created dev environment VM's with classic operating systems (XP, etc) because my job involves updating lots of really old code (most clients only update when they have to, every 5-10 years).

I could definitely see someone doing that with Firefox. They may already exist. I've just, from experience, had so much trouble with compiling large codebases.

On the bright side, the larger a codebase, often, the more popular. And the more popular, the more likely people will have EXACT dependencies listed.
So are they wreaking the ux to increase the battery life. Why not just dim the screen?
>Sure, you get some binge subscribers who exploit the system, but they're not enough to bring down the entire enterprise.

Especially for movie theaters, where the marginal cost of additional filmgoers isn't as high.

If I watch a second Netflix movie, Netflix has to spend 2x as much on bandwidth to serve it to me.

If I theater hop, the theater doesn't really have to spend anything more. The only cost to the theater is the opportunity cost of me not paying to see a movie I otherwise would have paid to see.

In other words, as long as the MoviePass subscription cost is higher than the opportunity cost of losing the average moviegoer's ticket revenue, then everyone wins. In fact, the theater probably really, REALLY wins because the more often I'm at the theater, the more often I have a chance to buy concessions.
http://archive.is/S4qHs
How would you compare your project to Dragula’s React wrapper?
I don't expect it and I know it's not happening. I was just answering what they could do to make some personally feel better as was originally asked.
Probably the wrong person to ask :). The first time I heard the word "synergy" was downloading https://symless.com/synergy , which was an incredibly useful piece of software and absolutely did tickle my inner engineer (trying to figure out how it worked).
Agreed. It’s also a waste of human labor to throw away devices when they could still be made useful with some simple repairs. To go further, it is wasteful to design hardware to be disposable rather than repairable and reusable.

People with jobs I wouldn’t want to do work very hard to bring us these devices, and the earth gives up resources to mine, transport, and shape the materials. Throwing things away when they could last 5-10x as long consumes our precious resources and wastes our collective capital.

Finally I’ll say that a lack of open software support contributes to this. If I could flash alpine linux on an old iPhone, Nexus, or Samsung, I could find great uses for the old hardware. Such a project is now underway (Alpine linux for Mobile), but mobile devices are still a morass of unpatchable secret binaries with glaring security holes.

I know we can better use our resources than to throw a two or three year old flagship phone in the trash or let it waste away in an old drawer, but it will take us demanding more of manufacturers and calling them out for their waste before they take action on it.
I read the entire article and it does not correlate with the title here at all. Does clicking "Flag" flag this for what you say is just advertising?
Ask HN: What was your greatest accomplishment of 2017?
...and what did you learn in the process
This article is talking about diversification to reduce risk, which is unrelated to "timing the market" and which can be consistent with passive investing.
Hopefully all admins does that. Never allow a user to run any command if you intend for them to run just one.

SSH public keys have the exact same feature however. Look at "command=" under "Authorized Keys File Format" in the man page. This is a good idea for batch jobs that uses SSH to execute on remote machines.

With SSH keys you even have the option of limiting keys not just to certain commands but to certain IP addresses. By limiting the SSH keys you also don't have to give your keys access to an unprivileged shell where you don't need it.
The article does mention price reductions “starting in late January and available worldwide through December 2018.“
As far as I can see, what you described perfectly fits the 80/20 rule.
The right thing is that people who replaced their deliberately slowed down iPhones with new iPhones because of their ignorance about what Apple had done, should have an appropriate remedy not contained in this "we're sorry if you didn't understand that we care a lot about you" press release. It doesn't matter anyway, even though millions of similar batteries in Android phones apparently didn't require a similar secret performance degradation, we are still a long way from reaching the depths that Apple can go to before Apple fans will seriously consider an alternative.
For FF users: about:config - set signon.autofillForms to false.
> Half the OS services break or emit warnings, because the date component considers December 2017 as an illegal month.

This has been frustrating me as well. The console has become a constant stream of these errors, the out of bounds month one is particularly annoying.
You do realize that these websites give zero shits about you, right? “Oh no, this megacorporation is willing to exploit everyone for a profit, but maybe they’ll see the error of their ways and back out of this lucrative revenue model!”

Widen up, dude. These websites don’t care about you as a user. You’re a metric, you’re a fucking dot on a graph at a board meeting where a small number of people in suits decide how best to extract every last red cent from you and the millions of other cattle that only exist to fuel their fucking empire.
I don't see the difference between the Volkswagen scandal and this.

Both companies used software to their own benefit to harm other parties.
Facebook - really?
In no particular order:

* Siddhartha, Herman Hesse

* Man's Search for Meaning, Viktor Frankl

* The Obstacle is the Way, Ryan Holiday

* The Daily Stoic, Ryan Holiday

* The Effective Engineer, Edmund Lau

* The Lean Startup, Eric Ries

* The Personal MBA, Josh Kaufman

* Certain to Win, Chet Richards

* Left of Bang, Patrick Van Horn & Jason A. Riley

* Native Set Theory, Paul R. Halmos

EDIT: list formatting
Yikes. I have zero incentive to update to this OS.
Discussion of said paper: https://news.ycombinator.com/item?id=16012403
Probably the criminals were upset about their withdrawals taking so long ;p

It took me like 2 months to cash out the first time.

Seriously, I don't think this will scare off anyone, especially not exchanges. They make so much money right now they can just hire bodyguards.
MoviePass does allow multiple viewings of the same movie, that was a mistake in TOS wording on their part.

there are only so many movies that a given person would want to see in one month.

True, for the given person you're thinking about. What about a person on disability? A cinephile? A teenager who has the whole summer off?

It's a tragedy of the commons problem. If you have one movie nut who goes to 12 movies a month (not difficult if you live in a city a short bus ride or walk to a theater) then you need 11 users to forget they have it. The outliers have a potential 30x rate.

Not to mention that those outliers could be going to IMAX 3D showings in a major city at a premium theater ($22.75 at the Chinese Theater, for instance), and you've got a $682.50 monthly bill for one user without violating the TOS.

As far as I can tell they're treating this like a gym membership, but ignoring the fundamental difference: Going to the gym sucks, going to the movies is a blast.

This is why I think as the service continues (and the money backing it dries up), they'll introduce more and more restrictions.
Can you provide a specific use case? This is one of those products that seems like a true gap, but I have trouble thinking of many real use cases.