skysight-inc/HackerNews huggingface dataset:
A big problem with lifestyle creep - IMO - is that the environment you're in, will/can influence you a great deal.

If you're a millionaire hanging around with avg. Joe's making $50k a year, then there's really no external forces to influence your habits. Your buddies aren't going to come around with their $300k sports cars, or invite you to their million dollar homes, and you won't be going to diners or clubs, spending thousands of dollars.

The more you see, and hang around those above things, the more normal they become. Peer pressure, even if not intentional, can be quite powerful.

If you're a $1.2MM fund manager / senior banker / law partner / management consultant / etc., then I'm gonna go ahead and assume that you:

A) Live in a very expensive city (NYC as stated in the article)

B) Mostly hang around with peers of your own socio-economic class. (Co-workers / business partners, clients, friends - friends of friends, social activities / clubs, etc.)

C) Are regularly exposed to expensive lifestyle events (expensive client diners, first class business trips, expensive homes, etc.)

All that stuff becomes so normal - it's easy to get sucked in.
I think you'll find that you're mistaken about any difference you think that would make. Please step this way for re-education.
This brought Portrait of a Lady to mind. Although Gilbert Osmond is an American ex-pat, Lord Warburton isn't. While the parallel isn't exact, the era James describes is.
Ok then, that is pretty cool. Can't wait to get the Discovery kit [1]. Pretty much a 'super chumby' :-). Next up the 1K price point for these things.

[1] https://www.st.com/content/st_com/en/products/evaluation-too...
Or perhaps I simply do not find any joy in such activities. Just because you find some enjoyment here doesn't mean that others do.
Understand what? That public vs. private is a spectrum and not a black and white area? Or that consumers can discover they don't like something about the product they're using and demand changes?
Medical facilities, government (where cameras are almost always disabled at the software/MDM level), any secure area where a front-facing camera isn't ideal.

Military and hospitals alone would strike me as being a big enough market to at least deserve a SKU/option.
> This isn't true. OEMs have been forbidden from publishing "incompatible forks" of Android. Incompatible being: Not having Google's apps, which are required to pass the CTS.

I'm writing this message on a Fairphone 2 running an incompatible fork of Android that has all Google services removed. This fork is provided by the manufacturer of the phone.
Popular Note-Taking Apps Share These Security Flaws:Security Tips for Developers
It's just a wrapper around iptables...
> The word religion itself originally was all about worshiping a god.

Not really, it was specifically about life under monastic vows (which, where it was coined, involved worship of the Christian God, but that wasn't the feature “religion” referred to, but instead the life bound by vows.)

In fact, the Catholic Church still used the adjective and noin “religious” in that sense, while it uses “religion” in the newer modern sense; a monk or nun is a “religious", a cleric in an order is a member of the “religious clergy” while those outside of an order are members of the “secular clergy”.
The point is no one would try to make Linux because someone already tried hurd
I spent years driving to remote sites in the desert for field work and have spent countless hours listening to audio books, podcasts and music. Often times on the return journey home I found myself thinking in silence or listening to my thoughts and the road in silence. Maybe it was sort of an active meditation but it seemed to happen naturally and felt great.

With all the screens around us, people or content, if you will, we often don't have long periods of time with the option to tune it all out. You allude to our ancestors and I think being still of mind is an important part of our being. Many people are anxious these days in that environment. My favorite part about doing extended river trips (1-3+ weeks) is tuning completely out for large stretches of time.
If the $10k tickets provide a private area separated from the other passengers with a partition that prevents observation then I'd expect privacy from being recorded. Likewise in a hotel room, it's a solitary space separate from others and I'd expect privacy from being recorded or observed by employees entering my room. I'd share your same outrage!

However my experience stems from two long haul flights in economy and a handful of domestic flights in the same class. If someone was recording me while I was sleeping there I'd treat it the same as if I was napping under a tree in a national park. I wouldn't be concerned.

If there aren't measures in place to prevent other members of the public from observing then I expect recording is a possibility.
Yes! So much yes. Many developers write crappy Bash scripts because they don't see it as a real language, but it's an interpreted language just like Ruby, Python, Perl, etc.

If you're going to design modular libraries and scripts with best practices, unit tests, etc, for those languages, then you should be doing the same with Bash.

If you're writing production scripts using Bash, you should be following software best practices - don't give me any "it's just Bash" excuses.

Mocking In addition to bats-mock (part of the bats library in the article), there is another mocking approach: https://pbrisbin.com/posts/mocking_bash/ They both have their uses.

Documentation NaturalDocs ( https://www.naturaldocs.org/ ) can happily parse & extract doc comments from your bash scripts & libraries: https://www.naturaldocs.org/ Just define your own language:

https://www.naturaldocs.org/reference/languages.txt/#adding_...

Format: 1.4

Language: bash
Shebang Strings: bash
Extensions: bash sh
Ignore Extensions: bats
Line Comments: #

Linting Use shellcheck, it's amazing: https://www.shellcheck.net/ If you use Vim, w0rp/ale knows how to integrate with it for real-time feedback: https://github.com/w0rp/ale/tree/master/ale_linters/sh

Argument Parsing Use Docopt ( http://docopt.org/ ) to get modern arg-parsing in your Bash scripts. Don't waste your time trying to roll your own or use the built-in anemic arg-parsing. Shells implementation: https://github.com/docopt/docopts

Use Bash built-ins Stop invoking external processes for features already available in Bash: https://github.com/dylanaraps/pure-bash-bible

More good resources:

* http://www.tldp.org/LDP/abs/html/

* https://www.gnu.org/software/bash/manual/bashref.html

* http://mywiki.wooledge.org/BashGuide

BUT why are you using Bash? Go use a modern language and don't suffer the idiosyncrasies of Bash where you have to re-invent many common libraries already available like JSON parsers, etc.

My favorite Bash replacement is Python + Plumbum: https://plumbum.readthedocs.io/en/latest/ All the convenience of Bash when invoking commands (no more subprocess()!) with the joy of Python.
iptables-persistent on Debian. Or iptables-services on redhat
The overwhelming availability of gum in an airplane cabin might suggest a solution to the privacy-conscious.
Yet another article with a focus on gradual wearing rather than suddenly turning into a brick, which is the actual common real-world case.
Gattaca (1997) Trailer #1 | Movieclips Classic Trailers
https://www.youtube.com/watch?v=W_KruQhfvW4
Based on my belief that developing software for it would not be cheap (hello, contractors), and that I don't see a use case how it could make more money for the airline (fine maybe I'm just not creative enough).

They could have analytics that say "Passenger X (profile: male, paid with a platinum credit card, flew 5 times in the last 6 months) watched movie Y for 40 minutes before looking up the price for the WiFi connectivity and deciding against it (pressing Cancel) after 2 minutes. Passenger turned off the display and only turned it on again 2 hours later at 9:45 PM (the flight attendants started serving food at 9:40 PM), suggesting the passenger slept until they started serving dinner.", but for that they don't need a camera, they can just use analytics software that already monitor your activity inside mobile apps.
There's security cameras in every mass transit vehicle I've ever been in. Why is this a privacy issue?
How about this? Tax goods from (or with large inputs from) China AND the US. Heavily. Harshly. Punitively.

Between them, those 2 are most culpable in terms of greenhouse gas emissions.

If you are truly motivated by a genuine desire to address what IS the single most grevious threat, then you ought to agree.

Wholeheartedly.

If you're just going to harp on about China, and ignore the US as being equally the problem (and if we take history into account, the US is the BIGGEST problem), then there's another word for that motivation.

And that word is not "environmentalism"
So when you're sitting next to your significant other and talking about personal issues, you have no problem with being audio/video recorded?

Most people expect some level of privacy when sitting at their seat. This is not a general/overview cabin camera, this is literally a foot in front of you and pointed directly at your face.
What Programming Languages Should You Learn?
Whenever someone says "most people don't write large Bash scripts", I have to chime in and say that I would consider most GNU/Linux distros to be giant piles of shell scripts.

A year or two ago, Arch Linux migrated the tests for dbscripts (the server-side of how package releases happen) from shUnit2 to BATS. https://git.archlinux.org/dbscripts.git/
You realise that Indonesia has 15x the population of the Netherlands, right? And that Norway is tiny, literally like 2% of the population of Indonesia? Maybe if Indonesia was more careful with birth control and didn't have babies that it can't afford, it wouldn't have such a problem with poverty. Having babies is not a debt on other people.
What are some of the top tech companies? I have to imagine the normal ones like Google, Facebook, and Amazon. But then more local companies would be UOL, Itau, Banco do Brasil, Bradesco, etc?
A friend of mine is a translator, and similarly "earns money with" over a dozen languages. Apparently once you've learned a few it gets a lot easier. It's kinda fascinating that someone can learn so many languages.

My own experience with it is a it more organic and less deliberate, but I find similar things. Once there's a sort of logic to each language that you've acquired it gets easier to learn stuff, the holes kinda fill themselves. I've never reached full confidence -say enough to do a degree in a non-language course- in all my languages but a couple, but there's enough to build on for most of them, and a lot of everyday stuff is okay. I also don't beat myself up over grammatical issues like keeping loads of gender/subject/etc agreements.

On the software side it's maybe similar. You can group languages by various traits like declarative/imperative, GC/manual, static/dynamic types, and a few others. So that allows you to in gross terms translate a program from one language to another, but it's not quite the same as knowing a language inside out so that you fully use all the useful features.
> The dead have no property rights, Mill claims.

Should any contract be void if all of the parties to one side or another die? I think we can at least say "no" if parties on the other side are responsible for the death.

If I make a contract with a mortuary to bury me (preferably) after my death, should they be released from the agreement by my death? It seems like this principle would also do serious damage to life insurance. Isn't a life insurance policy a property right?

Companies and other organizations are sometimes bound by contracts that have only been agreed to by people that are now dead. Is that an argument for not allowing a company to be a party to a contract? Or do we say that a company is a legal person for that purpose, and so since that "person" persists, so should their contractual obligations? If so the issue of control by a dead philanthropist is trivially fixed by incorporation.

I hear the U.S. Constitution described as a social contract. Should it be relevant (as Lysander Spooner believed) that all of the signatories to that contract are dead? Or does democracy nullify the principle? If the last legislator who voted for a law dies, should it have any affect on the law?

With a philanthropy, maybe the solution is to simply transfer ownership to the trustees, who then have the power to amend their own charter as they wish, breaking any hold by a dead hand.
Sounds like a stunning victory for (unorganized) labor—almost too good to believe! Does anyone with more details know if there are caveats or exemptions (other than the mentioned contractors)?
>Our minds aren't constructed to understand reality, they're constructed to help our bodies survive in a savannah a few hundreds of thousands of years ago.

I agree with your main point, however I don't find this a compelling argument. Regardless of what our brains are constructed for, with pen and paper and a set of rules we can roughly approximate a turing machine. Everything we as humanity know about computation suggests that at minimum this is equivalent to any computation possible using all known physical properties & interactions with some amount of overhead (even quantum can be simulated classically).

Thus, while it's possible there is an unknown kind of interaction that we cannot understand or simulate classically, the fact that our brain is more or less designed around survival and reproduction is irrelevant; change or optimize our DNA and the new super-human will still be at best roughly equivalent to a turing machine in terms of computation.
Totally agree. If you have to scroll up to be reminded what some variable means, a longer name is good. But if its usage is a few lines away from its declaration then there's no reason to add visual noise to your code.
> Safari removed support for DNT so that users are not presented with a misleading and ineffective privacy control that, if anything, only offered additional browser fingerprinting entropy

Predictable, but still a bit depressing to read.

My appreciation to the WebKit team for working so diligently on behalf of their users.
Realm Is Not Open-Source
Intel Officials Believe That ARM Macs Could Come as Soon as 2020
Stripe - Long Way from Tipperary: How to Build a €20bn Firm
I've been thinking about this as a startup idea for a few years now, every time I gave up because of legal concerns and regulations. Stripe also does not allow betting. I am guessing Balto had to use a payment provider that works with adult and gambling companies... Most likely international (yikes).
Someone please explain to me the benefits of having forced arbitration at all; what's the benefit of having disputes (including sexual harassment disputes) resolved behind closed doors without any possibility of appeal?
What does having CP have to do with moving - I have CP also (mostly my left hand,a very slight limp)?

I couldn't deal with the cold weather though. It makes my CP worse.

Get on a plane and pay movers.
And, then, after years have passed and the hardware it's running on starts failing, developers have to scramble to update components to a version that's actually supported.
Not sure I agree re: the seat being semi-private. Surely it must be expected that there is surveillance in general on airplanes? As there is in any other public transportation (train, subway, taxi, etc..)

I guess the whole controversy seems very knee-jerk and out of touch with the existing level of monitoring already on board the plane and in the airport.
> I don't even use "i" for loop variables anymore.

Yeah, I noticed that for myself, too. so instead of i I might use frame_index, or whatever it "actually is". Up to a certain length it seems faster to just read what is there, without an additional mental translation step. But to be honest, I just do it because I like it.
That was a frustrating read. You kept scrolling waiting for a table of failure rates like their other posts. But it never came.
For me Config just isn't one of those cases, HackerNewsOnYCombinatorMessageBoard on the other hand becomes an opaque mess to eyes when it is mixed with other variables of similar length and complexity.
Seems like a clear benefit for the company if there's no backlash, right? Even if you expect the same outcomes, it's surely cheaper.
Then we have to hope that someone leaks a cell phone video of the incident as it plays on a screen in a security hut somewhere. No way any airline is going to publish video of airport security dragging a paying customer down the aisle of an aircraft.
I believe arbitration is still optional. If you're an employee, there's no benefit whatsoever to forced arbitration.
This is a hefty revenue multiple, but I still think this platform is very under monetized. Of course I'm a shareholder and so am very biased :)
Hayabusa 2 Touchdown Live
Bash is proper programming language, though not necessarily modern nor ergonomic.

The problem is:

1. Bash is assumed to be everywhere, so people use it for maximum portability or bootstrapping.

2. It started as a 10-100 line "quick" script, but then grew into a monster and nobody wanted to take the hit to rewrite it in a modern programming language.

I've found when you enforce the same software best practice requirements regardless of language, people start choosing not-Bash since "they have to do it right anyway". Many devs see Bash as a shortcut to avoiding the extra work.
HTC or Samsung aren't allowed to manufacture Kindle Fire devices per their Google contract
Massive, Nightmare Bee Was Once Thought Extinct
Actually surprised there's no cameras on planes (that I know of at least). Buses, subways, other mass transit have cameras.

And I've seen no one complain about the cameras some food chains use in their table-side checkout systems. Red Robin is the first that comes to mind. It sits there your entire meal... Obviously it's to take your pic when you swipe your credit card (and apparently scan coupons and gift cards).
You're not supposed to use your camera in customs areas in airports. Some airlines get really weird about people even taking photos on the plane (though that has relaxed a lot), so it might not be against FAA rules, but I think someone purposefully recording a sleeping person would still be frowned upon and would be one of those activities that could get a plane turned around if the passenger didn't desist when asked or delete the footage.

But aside from that, I'd posit that it's actually a very different thing to have a random passenger recording you (which is still gross) and the airline (which may be owned and operated by a foreign government, which is the case for most of the airlines in the Middle East and some in Asia), which has your name, your passport number, your birthdate, your address, and other very sensitive and identifying information on file.

One is creepy and uncool. The other could be flat-out surveillance. Especially since when you travel, the government data you give to the airlines isn't negotiable (meaning unless I'm flying domestic, I can't use a fake ID and name to travel (and even that would be against the law), I have to use my passport, my full name, my address, etc.
You're right--I could have made my point differently. I just pulled up the Ramses Github and didn't see much activity whereas I knew of a different repository with thousands of lines of working code.
"It wasn't even that long ago that mobile phones didn't exist, and it was common for an entire household to share one fixed-line telephone number."

And not long before that, it was common for several homes to share one fixed-line telephone number.

https://en.wikipedia.org/wiki/Party_line_(telephony)
I'm not sure how to say this constructively, but your comment reads as if there are only 2 countries in the world! Why is 'Made in USA' your only alternative to 'Made in China'?
That is actually a really solid point. I still don't know that it's necessarily the right way, but I'd certainly rather those scripts be tested!
The public officials could just do a good job of either finding good contractors or doing the work themselves? Or is that so far fetched we are not even considering that possibility?
Longer functions are much more prone to causing errors, and errors that are harder to find. It is honestly much better to have functions that do one thing and one thing only. Might not always be possible, but it is always the best way to code.
I could be wrong but I understood one of the problems is misaligned incentives. If the arbitrator is to be kept in business then it's tough for them to rule against businesses that bring cases to them consistently even if the case merits it, which disadvantages employees. In reality I've heard it indeed doesn't turn out fair.
> ...reading those posts made me revisit using B2 for my own needs.

I can echo that, since reading those articles, I have been using B2 more, and gifting years of BackBlaze to beloved lusers. I think it just takes time to generate good data like this though, and it seems that SSDs from the last ~3 years have considerably lower rates of unforeseen failure than hard disks, which makes measuring failures more difficult.
Those kiosks have cameras in them? I've used them dozens of times and never realized, and I'm sure I'm not the only one.
mxnet is also on Clojure https://github.com/apache/incubator-mxnet/tree/master/contri...
Much cheaper, faster, and more private for all parties, plus I believe it prevents class action lawsuits. And don't forget the possibility that the arbitrators (who are paid by the company) favor their benefactor…

For example, you mention sexual harassment; the victim (and certainly the accused) might not want all those details in the public record.
I used to keep fish and my brain wanted a fuel pump skimmer to be something like a protein skimmer in a salt water tank. Like fuel tanks need something to skim the scum so it doesn't ruin your car.

Why do I care if someone hacks that, can they blow up the gas station?

Ten seconds later: ooooh.
This was the conference: https://dataworkssummit.com/sydney-2017/, but they don't seem to have uploaded any of the sessions from Sydney to the SlideShare.

The one I did the previous year is nicely linked from http://hadoopsummit.org/melbourne/agenda/
I don't know the details, but I do believe that high-skilled labor like Google employees likely have more bargaining power than your local pizza delivery driver. It wouldn't surprise me if we see these kinds of victories in other tech companies.
People is just the plural of person. Journalists are people too.

A small amount of disgruntled air travelers stranded on the tarmac led to the establishment of a Passenger Bill of Rights: https://www.transportation.gov/briefing-room/us-department-t.... So I wouldn't say that this is worthless or that this is not impactful.
Not only does it blow my mind that betting is legal, states run their own goddamn lotteries and made more than $70 billion of revenue doing that in 2014. [0]

I'm pretty sure lotteries have destroyed more lives than all of the drugs combined.

0: https://www.theatlantic.com/business/archive/2015/05/lotteri...
Ask HN: Project Ideas to Learn C++11 Features
Hello,

I know C++03 and I want like to learn modern C++ features(at least C++11), but I always forget them with no practice.
Please recommend some mid size project ideas.
It is 3 transactions. Alice deposits money into her savings acount, then subsequently withdraws money from her checking account. In the meantime, some concurrent process transactionally reads the balances of both accounts.

Since there is no internal causality tying transactions 1 and 2 together, transaction 3 is allowed to arbitrarily order them without violating serializability.

I think the answer to your second question comes down to what anomalies you are trying to protect against. In order to prevent causal reverse, all read-write transactions must be strictly serializable, but it is safe to reorder read-only ones.