skysight-inc/HackerNews huggingface dataset:
This is an obscure law still underlying (so to speak) much of resource extracton, in the US and elsewhere, even if moderated somewhat. It played an outsized role especially in the history of oil and gas development (see especially chapter 13 of Daniel Yergin's The Prize, as well as many contemporary accounts of the Pennsylvania, Spindletop, Kern River/Longview, and East Texas oil strikes), and has echoes in present attitudes expressed in surveillance capitasim as practiced by Google, Facebook, Amazon, telcos, financial firms, and other data brokers.

And yet information on it is exceedingly hard to come by.

Quoting TFA on the law's history:

Much of this fussing and fighting comes courtesy of the Rule of Capture, an archaic piece of British common law carried to these shores. The Rule states that whoever owns a piece of property owns the water beneath it. The Texas precedent was set in 1843 in the case of Acton v. Blundell, when Texas was a republic and people were largely ignorant about the nature and movement of groundwater. The Rule of Capture was upheld in 1861, when Frazier v. Brown was decided, and again in 1904 when the Texas Supreme Court heard The Houston & Texas Central Railway Co. v. East case. The court upheld The Rule by reasoning water below the soil was too “mysterious, secret, and occult” to regulate.

Copies of these rulings are hard to come by. Should anyone have access to PDFs, please contact me at dredmorbius <at> protonmail <dot> com.
I appreciate Newports work on productivity and think there is a ton of insight here. But I often find myself wondering - what are we optimizing for when we talk about career success?

I understand that these principles can benefit people in figuring out their direction, they have certainly helped me, but I'm often let down that "purpose" is treated as an afterthought. At the end of the day you are going to die one day, large or small, don't you want to feel that you had a positive impact on the world? Shouldn't that be a defining metric of career success?
This is only convenient for users who can afford to be without their phone for a day or two, and also those who are anywhere near an Apple store / service centre. Perhaps there is data that supports the statement "this is most users", but as an Apple customer who travels a lot and is not anywhere near an Apple service centre most of the time, this is very inconvenient. I'd rather just be able to order a new battery, receive it in the mail, and do the replacement myself - having to go through hoops to get Apple to do it, even if its free, is a serious hindrance to productivity. Some of us use our phones for work, and the delay of days, for a service cycle, compared to minutes, if I can do it myself, makes a huge difference to that productivity...
Unless the alcoholic is the only employee that will do the job (zero competition), which means he can steal from both warehouses and still not get fired. Same situation with Google/Facebook/etc, they're too big to fail and can do nasty things without any consequences.
Muting hack to restore your chronological Twitter timeline
Oh, but I have... 30 years here (Cambridge and Southern NH) and every one of mine and many of my friends have been done by me.

Air tools, acetone/ATF mix, and a propane torch are your friend at times.
Is this Outcome Health? http://www.chicagotribune.com/business/columnists/ct-biz-out... seems to line up with some of the details provided.
Context: https://news.ycombinator.com/item?id=18005310
In German you would be described as a Kampfradler, literally a warrior cyclist. Please slow down, for the safety of others and yourself. Just like a car driving 2x the speed of everyone else is dangerous, so is a bicycle.
I bet that if the Mac OS developers had eschewed Objective-C, Apple would had fix all the ongoing issues with the Java bridge.

Also we shouldn't forget that Java semantics and execution model are closer to Objective-C than C++, thanks to OpenSTEP project collaboration.
Phone lifetime is bottle necked by performance moving on, not by wear and tear.

Even so holes in the wall fix the common hardware issues for like $100.
Growth of cryptocurrencies in Afrika as Luno announces Afrika head office
This is an intriguing idea! Thank you for bringing it forth.

Out of curiosity, how familiar are you with how ad systems work? Generally there's a huge inventory of ads, each with different criteria attached to them and metadata about bids. When a request comes in, ads whose criteria are met are selected out and an instant auction takes place. The resulting ads are then shown.

I cannot think of a way that allows for both honoring the ad criteria and keeping personal interests and preferences solely client-side. You can't even take advantage of any form encryption here, as the results of the filtering would allow the server to infer the private data. This means you'd almost certainly have to get all the data to the client to allow querying locally.

OK, fine, that's workable. Then you just track impressions and so on to figure out when advertisers get charged. A potential drawback is that it's very possible that with impression and click data it could be possible to reconstruct most or all of the data a user might wish to protect. And there's no way to get away from this, either - pretty much all online advertising models rely on tracking one of impressions, clicks, and actions.

As for your two conditions:

> - A way to ensure that ads don't try to harm me by e.g. leading me to websites serving malware or abusing my computer's resources (e.g. miners)

Policing the contents of ads can be quite the task. Ensuring the contents of arbitrary external websites is next to impossible. There are no good ways to do this in a fully automated system at scale when someone else controls the other server and can change what content it serves at their discretion.

The best way I can think of to ensure this is to limit access to this hypothetical advertising platform to entities with the expertise and resources to protect themselves and anyone who comes into contact with their servers. Works for me, but being shut out of access to the biggest and best advertising systems might be a problem for many groups.

> - A way to keep my privacy and control what data is collected about me (and who has access to that data)

You know what? I think I know exactly what you want. You want the newspaper model. Collects no data from you, preserving your privacy. Only accepts advertising from partners that can be trusted, ensuring your safety. Doesn't need to closely track impressions, views, or actions.
How to Create Content That Gets Links
> Apple did popularize firmly bonded batteries

Have you disassembled an iPhone or even watched a video on it? There’s a pull strip which makes the battery pretty simple to release. It’s not like it’s superglued to the case.
We fully embrace Javascript as dynamically typed language and when one does this, types on most cases will become irrelevant. Then also using === in the code means that the usage is explicitly required in this specific place and == will cause wrong result. But when === and == are the same, then we use strictly ==. Also read this: http://dmitry.baranovskiy.com/post/typeof-and-friends

If you are curious, please post some real life real working code where in your mind usage of === is absolutely needed and I try my best to explain how I would tackle that with ==.
Here are some alternative numbers (apparently with a lot more references):

"The first conclusion is that the mean value of emissions over the course of the lifetime of a nuclear reactor (reported from qualified studies) is 66 g CO2e/kWh, due to reliance on existing fossil-fuel infrastructure for plant construction, decommissioning, and fuel processing along with the energy intensity of uranium mining and enrichment. Thus, nuclear energy is in no way ‘‘carbon free’’ or ‘‘emissions free,’’ even though it is much better (from purely a carbon-equivalent emissions standpoint) than coal, oil, and natural gas electricity generators"

http://www.grid.unep.ch/FP2011/step1/pdf/003_Sovacool_2008.p...
> In fact it's against the law for them to do that.

No, it’s not. The corporation’s interests must align with the shareholders, but there’s no law that says short-term profit is the only legal goal. Companies can and have sacrificed in order to build the community.
Zero to Deep Learning
I thought we had already five that by making coffee mainstream?
Plus it was found to be the main component of cancer cells, so I'd be really cautious here.
It's sometimes nice to have 3, 4, or even just 2 1/2 day weekends if you want to go somewhere for a weekend trip. Which I do sometimes. But unless I have specific plans for the weekend, I'd rather have any days in excess of the usual two available for use for longer trips.

People obviously vary. I've worked with people who didn't have any particular trouble taking time off but they just didn't like travel and preferred just expanded weekends. For myself, I'd rather have most of the time for longer trips with just some longer weekends here and there.
> You would have to look at the data of people living in areas where Immigration just begins/recently started to see if they are happy about it

I live in Munich. Aside from exorbitant rents caused by politicians ignoring housing issues for decades, we don't have a significant problem w/ immigrants and refugees. We do have a couple Nazi groups (two different Pegida groups, plus the "old" NPD nazi party plus the AfD neo-fash) with maybe two dozen people on the streets, but no one except Antifa gives a flying f..k about them.
Sending the first five characters of the SHA1-hash of their password - not the complete thing. (Though I appreciate that if you care about potential privacy-leaks that might not be much of a mitigating factor.)

I would assume that this module would be installed explicitly and deliberately by a company, organization, or group, and that the people who did that would inform their users.

(i.e. I don't expect this would be randomly installed on a machine accidentally. Though if you use a shared-hosting/shell-provider you probably have bigger concerns than a side-effect of this being present.)
You can still use a first generation iPad today and do all of the stuff you did with it in 2010. Yes you can also redownload older apps from the store.
This was very cool. I'm only 23, but I'm always thinking about the future, always planning for when I get old. I definitely don't ever see myself "retiring"-- and I mean that: I will never not be interested in what I'm interested in now. If I stop working formally I will start to work informally, and I never want to be cordoned off into an "island for seniors".

Whenever I think about growing old I also think about the statement "living while you're young". That statement is a little weird to me. There are people in society who lead unsatisfying lives when they're young so that they can have what they want now when they're older. Then there are those who are against the sentiment and choose to do everything while they're young, waiting to figure out the rest later. There's a balance to strike there and I'm looking for it. I don't want to restrict myself now while I'm full of energy and hope and potential, but I also don't want to blow my paycheque on some novelty toy, or even on trips around the world and possibly cripple myself for the future. I don't want to get into a crazy skydiving accident and permanently damage my body.

Anyways, that was a really very interesting article. I learned a lot.
It's really too bad Apple didn't turn lightning into a standard connector. It could serve the same purpose as USB-C alt-mode (3.1 / DP / HDMI / Thunderbolt) without the legacy USB 2 wires.

Especially if they made it double-sided (16 pin) but kept the form-factor the same.
trace() and break() seem like a good approach for getting acceptable debugging with a minimal impact on the design of the language. Indeed, I've often written something equivalent to trace() to help me debug functional programs.
Why do you do that then?
I hope they find ways to do this while actually complying with GDPR.

A lot of (primarily US-based) sites now say things like "We need to track you to keep running, consent or click this link to enter a maze of poorly documented ways you can try to opt out, if you decline then goodbye".

Some even let you opt out of tracking (taking several minutes to 'process' this opt out), and then tell you they can't serve you a site that doesn't track you.

I'm OK with those - I don't go there any more.
What about the rest of the world? Does every developed country have similar regulatory burdens, or is there some other factor at play preventing newer designs from being developed and put into production?

I'd really like to see the newer designs built out at least somewhere, but I have a feeling that there is more to it than what I've read in the pop-sci articles.
My approach was the Chief Justice test: how does "Chief Justice Firstname M. Lastname" sound? Ideally the same name works with "Nickname Lastname, private eye."
Python Booster Pack – Part 2
>> i would worry there is reason the body doesn't produce more of these.

It's starting to look like the reason is the modern diet. And by modern I mean what we shifted to with the advent of farming several thousand years ago. 3 meals a day with high carbohydrate content. This puts you into the mode of converting carbs to fat for storage and never gives the opportunity to go into a mode of retrieving fat for energy. One specific reaction to eating carbs is an insulin response, which can last several hours. It's looking like people weren't design (evolved) to live that way. Type II diabetes (insulin resistance) is looking entirely preventable and perhaps reversible if one goes keto. You're just not going to produce the chemicals needed for one mode of operation when you're telling the body to do something else. These diets are proving that you can get it to produce another set of chemical in clinically meaningful quantities.
I assume this site is being hammered, because it would otherwise be the worst UX ever. I chose Zork - a classic. The loading icon spins....and spins and spins and spins. Each line of text is actually a POST to the server, and the response is taking upwards of 80 seconds.

This is a time where a SPA would have been the perfect choice.
There are better methods to define who need that help rather than the super rich opinion. The Gates Foundation model goes in that direction, approaching urgent things first: child mortality, education access, vacine distribution, etc... Those topics are more urgent than space travel according to the general consensus. A good way to define those problems is to check which social programs are being supported for the countries in a specific region. In Latin America for example, poverty is one of those social problems, rather than internet access, for instance.
What security flaws do you expect in older versions of apps that were able to escape the iOS sandbox that were later fixed by updating the applications?

What exploit has there been in an app that let it exfiltrate data from another app or read your web browsing history for any version of iOS?

As far as Google, it’s no surprise that Google abandoned older protocols. That’s kind of their MO....
It has been shown that longer lives occur in many species, from yeasts and c.elegans, to primates. Pubmed fetches lots of articles (arguing for both sides) given a search like 'caloric restriction aging'
Ask HN: How to self-learn Psychology?
I want to self learn psychology and wanted to know what books and resources HN would recommend.
How Transactions Work in SQL Server
> For Linus it is more about being far too blunt.

Here is an example that I believe is more than just "being far too blunt"[0], it's not the worst example I can remember but it is the first one I found. In my opinion his major issue is that he grandstands, he goes beyond being just blunt and becomes unnecessarily derogatory. If his issue was with being too blunt (and I suspect you'll find that most people don't consider being too blunt to be that much of an issue compared to his other faults) that email would look something like this:

> The conflict I get is due to stupid new gcc header file crap. But the
> reason I'm rejecting this is that I just don't think it brings in any
> positive value.

> This is the old code in net/ipv6/ip6_output.c:

> mtu -= hlen + sizeof(struct frag_hdr);

> and this is the new "improved" code that uses fancy stuff that wants
> magical built-in compiler support and has silly wrapper functions for
> when it doesn't exist:

> if (overflow_usub(mtu, hlen + sizeof(struct frag_hdr), &mtu) ||
> mtu <= 7)
> goto fail_toobig;

> The above code generates shit code

> <insert evidence that generated code is shit>

> and it's a lot more difficult for people to read.

> The code could easily have been done with just a single and
> understandable conditional, and the compiler would actually have
> generated better code, and the code would look better and more
> understandable.

> <evidence of this statement too>

> Why is this not

> if (mtu < hlen + sizeof(struct frag_hdr) + 8)
> goto fail_toobig;
> mtu -= hlen + sizeof(struct frag_hdr);

> which is the same number of lines, doesn't use helper functions that
> most people are unfamiliar with, and is much more obvious what it
> actually does.

> The second more obvious version is easier to read and understand. Does
> anybody disagree with this?

> Obviously you still could have overflow issues if the whole "hlen +
> xyz" expression overflows, but the "overflow_usub()" code had that
> too. So if that's the reason that this change was introduced then
> it hasn't actually fixed anything.

> I really do feel like this code was designed to use that
> new "overflow_usub()" code, it seems to be an excuse to use that
> function. Am I missing something here?

> Just to be clear I will always try to make sure that code which offers no
> positive value does not make it into the code base, regardless of where
> in the code it's being added.

> Linus

This is still just as blunt (I do think this would be more effective if it wasn't as blunt, I just wanted to try to show that being blunt wasn't the main issue), but it doesn't have the unnecessary grandstanding and derogatory comments. The main problem with the was Linus used to conduct himself is that he puts people on the defensive, and when people are on the defensive they have a much harder time admitting that they were wrong or learning anything.

I don't actually expect Linus to come back any less blunt, I expect him to come back less aggressive and derogatory.

[0]: http://lkml.iu.edu/hypermail/linux/kernel/1510.3/02866.html
Unless I specifically seek them out, I have no interest in learning about new products or services ever. Thus, an ad would never be relevant enough to be content for me.
You're completely correct! In terms of impact, that should absolutely be the priority.

Some people prefer to incorporate difficulty, time costs, and resources required into their prioritization process rather than being purely impact-based. This may lead some of them to a different set of results.
There's a really big difference between the US and Europe that I've seen in terms of bikes. It seems that in the US, only enthusiasts buy bikes. In most countries in Western Europe however, it is much more egalitarian. City bikes for example have to be sold with lights and two brakes, front and back. You almost have to go out of your way to buy a bike without the necessary accoutrements for city riding, be it lights, brakes, fenders or even a luggage carrier.
We look at transactions and SQL Server (again ...)
Can we have costs for all forms of power priced in then?

Let them all include EOL costs, pollution and everything else so we can compare like with like.
Apple allows you to embed JavaScriptCore into native apps, writing some of your logic in JavaScript. See this WWDC 2013 presentation: https://developer.apple.com/videos/play/wwdc2013/615/

If you would like your JavaScript to be derived from ClojureScript, and you would like a live REPL experience, then Ambly can be used for that.

An example library that uses this technique to drive a native iOS app is https://github.com/mfikes/goby
True, but consider utilitarianism. Have you ever tried modeling the economy using a more reasonable set of assumptions ?

Not so easy.

But yeah I get it. Obviously the basic economic assumptions ignore:

1) government in general, but especially tax law. It's WAY too complex to model, unfortunately (and I doubt that's a coincidence), nor is it even constant.

2) it ignores that the vast majority of markets are supply- or demand- constricted. In reality demand graphs flatten off at some point. Let's take bread. There is only demand for so much bread, and lowering the prices past a point no longer increases demand at all. So you can see it exists.

Supply bound is similar. We are just not going to produce more land than there is. That market is absolutely supply bound.

The weird thing economics glosses over is that nearly every market is either supply constricted or demand constricted, and the common equations just don't work there.

3) information. Economics assumes perfect information, when that obviously doesn't exist. Information spreads though, so over very long time frames perhaps there's a case to be made that perfect information does exist as long as the information is old enough.

The thing is, whilst I might agree that the first one is at least theoretically solvable, it's just too much work. The second and third are impossible to model. And I bet you could come up with 10 more.
Definitely, and that has been proposed tons of times in the form of a carbon tax. Whether it will some day implemented or not depends on the voters.
How Blockchain will open the Art industry up to the everyday person
Show HN: CatchAR – A showcase of Augmented Reality lenses, apps and projects
Everything in moderation.

Don't start wars but be able to defend yourself.

Balancing caring for people with economic realism.

Being pragmatic about cherrypicking policies from both sides of the capitalist and socialist political spectrum - for example nationalised rail but privatised phone providers.

Not holding limiting beliefs that align with either current right/left politics - i.e. support abortion rights for women but also Christian employees to openly wear crosses and pray at work.

Here's a policy that everyone I've ever spoke to who describes themselves as a centrist has believed is a good idea - non-violent prisoners shouldn't be sent to prison but should have to work in recycling centers improving how much gets recycled instead of put into landfill or burned for a longer period than the equivalent prison sentence would be. After all why should they cost the public whilst in prison when they could help the environment?

Everyone I know who describes themselves as a centrist might not agree on everything the other does but we largely agree on 75%+ of policies because they tend to be seemingly common sense when we talk to each other.
We use the same tool (we've built it internally) to put mails to the right inbox folder (interested, unsubscribe, not interested, etc.). Such a useful thing for email automation marketing-related tools. Our customers love it so much as well as we do.
Best migration plan for customers. I really love the design and approach.
What funds are required to "improve the community interaction"?
I wish he would grow up, cut the profanity, sex talk and ethnic bashing so that my kid could watch.