skysight-inc/HackerNews huggingface dataset:
My family has employer provided healthcare. But at this point if the premiums go up faster than we can afford I'm switching to an HSA. I can easily afford to fly my family to Cent/South America to have a checkup or surgery compared to the money I'm throwing into the wind with our HMO.

We're young, healthy, with no chronic issues. Just the type of people insurance companies would want to insure.
> Write function in module A that expects some complex data structure that comes in. In a static typed language, you put a type on the argument and thus guarantee, to some degree, the data in the object can be safely manipulated.

Let's question some of the assumptions. Do you NEED the entire thing to be passed around? If your functions are small and only do one thing, can't they be fed the portion of the data they need and only manipulate that? If they are getting unnecessary data, soon someone will like the convenience and that piece of data will now become necessary.

I have seen Java projects with humongous "DAO" objects being passed across all apps. Even if Java had Haskell's type system, at some point it breaks down.

So, you do not enforce that on Python itself. Rather, you have to apply due diligence and ensure your data structures are clean, and functions do what they are supposed to do and no more.

> I can pass in some type of data structure that might behave well in many situations, but in some that function is going to fail because I didn't properly construct the data structure.

Then you construct the structure in a single place, and that should have some sanity checks and sane defaults.

Even if you are using a static typed language, there's no guarantee that what's inside the data structure even makes sense, only that the right type of structure is being passed on. That's helpful, but not as much as people would think.

And you write tests. Lots of tests. It is amazing the amount of Python code that gets written without proper testing. And Java, for that matter. Only Python programmers have less excuses, it's easier to replace what you need for testing.
yeah, reading make man, and also http://nullprogram.com/blog/2017/08/20/
CreditKarma does it for free, if you're in the US (no idea about outside the US). So does mint.com. So do many other credit card companies. I now have 6 or 7 credit scores, all curiously different (though within certain range of each other).
I don't think it's completely insane, but I think the parent comment overestimates the proportion of marriages that have that kind of trust. If people didn't get married without 100% trust then most people wouldn't be married, and evidence is that people prefer imperfect relationships to loneliness.

It's also useful to have a norm against doing these things even if you have 100% trust, because it's probably the case that people are too readily fooled (by themselves or a manipulative partner) into thinking they have 100 % trust when they actually don't. So having a norm against sharing everything protects the people who need it, even if you're not among those people.
I don't want to be that 'if you've got nothing to hide then' guy but why are people so worried about what border agents in particular will see on their cell phone?

I am not saying that I wouldn't mind at all if my phone was searched. But I can't think of anything in particular that I would be concerned about if it was. Sure in theory the agent could remember some personal information and come back later and use that info or pass it to someone for some nefarious purpose. But that's a pretty small chance event. It's more or less the equivalent of thinking you will get sick because you find a hair in your food at the restaurant. You don't like it and you send it back or demand a refund but the actual harm is more mental in nature.

Or what am I missing here?
Why not use the original street-car/suburb model?

Buy cheap land.

Build a highspeed line to a place with very high land values.

Profit.

And of course, start selling the land early to fund the line.
Except that's not true in the least. You say "no involuntary transaction takes place" because in that system, if the transaction takes place, then by definition it must be "voluntary", despite the existence of any coercion that may have occurred. In your unregulated system, you could have me work 20 hours a day, and consider it "voluntary" as long as I did it, ignoring the fact that I and my family would be out on the street starving if I didn't, which would make that transaction far from voluntary.
Baseband too?
People spend as much money on legal defense as they can possibly afford, obviously. But that doesn't make the system racist.
oh god! I guess that's what 10 years in the states did to me! -ashamed face-
The lowest mine reserve copper grade I see reported for any of these big copper projects is 0.25%, for Morenci:

http://www.mining.com/these-10-mines-will-set-the-copper-pri...

That's 2500 ppm Cu, significantly higher than the crustal average of 50-100 ppm. If resource concentration isn't important, why don't miners just locate for low-cost infrastructure and extract copper from whatever rocks are close at hand? You could certainly save costs on workers/power/water/transport over going way off into the Andes or the Atacama Desert to extract ore.

Likewise, if resource quality doesn't matter to platinum production, why not do the same for the platinum group metals? Just locate your multi-metal production complex wherever power and labor are cheap. If resource quality is unimportant, China should be a bigger platinum producer than the US or Canada.

As far as I can tell, the only element ever commercially mined from ores of sub-ppm grade was radium. It was also by far the costliest substance ever produced by mining operations. (Some sub-ppm element concentrations may be exploitable when those elements are secondary, as with iridium as a byproduct of primary copper/nickel production.)
The key is ensuring that choice exists. It's easy to jump on the 'Must have Apple!' or the latest Google Nexus. We create the very monster we complain about when it gets TOO popular. This is very much inline with Southpark and Walmart...
Everything's a server, er, microservice, passing JSON back and forth!
I'm replying to your comment here: https://news.ycombinator.com/item?id=15177898

(since no other way to talk)

You mentioned, I think, correctly, that the list is for those who have their basics right and want to step their game up.

I'm assuming you have your basics right? If so, what resources did you use to get there?
I believe Tesla's value has everything to do with what people believe Tesla will be worth in the future, simply because confidence in Musk is so high. I think there's this unspoken expectation that Tesla enters the Pantheon of Large Auto Manufacturers.
Using a “Dry-Run” Dev Environment That Simulates Production
I'm not implying that at all. Everything is on a supply and demand curve, and the claim is that the extraction price increases, not with time, but with amount extracted at a fixed time. So the question is if we hit a point where the 1st ton of asteroid platinum is cheaper than the millionth ton of terrestrial platinum.
had mine out last year. 3 nights in hospital. the bill for just the room and what little food i was allowed to have after surgery was 40K billed to insurance. that didn't include all of the smaller charges submitted by the pharmacy, radiology, anesthesia, the surgeon, the GI doc who visited once...
Node HTTP/2 to HTTP/1.1 Proxy
its not hard to imagine mars needing more water due to increased human activity. i mean earth is mostly water, and it still has a market value.
I am thinking you arent a texan. The 35 corridor is already full of people going from Houston to dallas. It would offer huge opportunities.
Url changed from https://news.slashdot.org/story/17/09/14/1739234/every-major..., which points to this.
This is one of the most unprofessionally written science journalism pieces I've ever read; it was unbearable and I couldn't make it past the first third.
They have a big mayonnaise industry too, or did when I was there 15 years ago
For this reason, I generally test scripts like that with a small slice of the data, or small set of dummy data. Then one can also verify that the output is reasonable -- which is good to do even with a compiled language that would catch all syntax errors ahead of time.
Not only games, movies and sci-viz rendering have little to do with UI/UX design considerations and tooling for consumer applications.

Which is why GNOME and KDE to this day, still need to try to advocate to get more UI/UX developers involved into their projects.
A little known result from Cybernetics is that any self-regulating system must contain a model of itself to function.

When people first witnessed the steam governor [1] it was common to say that it seemed alive.

What you and the other guy are basically saying is that if we pile up a bunch of cybernetic devices together you eventually pass a threshold where subjectivity (aka consciousness) begins.

Now, I don't agree nor do I disagree.

My point is that we are far from having a scientific theory that says how this happens. It's no good to wave ones hands and say, "Complexity!" or "Model-building." I want to know why red looks red as opposed to some other sensation?

We can't even describe sensory inputs! We can only correlate our experience with the reports of experiences of others. Maybe you see "green" and I see "blue" when we both look at a "red" object. How can we "do science" to/on subjectivity?

Really, I'm just glad that people (in the West) are finally taking this seriously.

[1] https://en.wikipedia.org/wiki/Centrifugal_governor\

Edit: my original point was just that "qualia" (which I use as a name for the content of awareness) exist. I don't know what it would mean to deny the existence of the contents of awareness, since we quite literally only know anything by way of those contents.
>That's not even to mention the fact that more vulnerable Blue seats are up for grabs than Red in 2018. I just don't see the current roster of the GOP supporting anything the Democrats put forward, especially something as radical as medicare-for-all.

The GOP is going to oppose anything the democrats put forward, so it makes political sense for the democrats to aim for the most "left" solution possible so in case of compromise they can still get a lot. They learned from their mistake with Obamacare.

>I like Sanders as much as anyone else, but can anyone who supports it explain how Single Payer is obviously better than expanding the current system to provide universal healthcare?

It's cheaper. Taxes will go up, but bills will go down by more (for most people.) The political difficulties are actually part of the point, it allows the Sanders wing to set a litmus test for more traditional corporate dems. The Hillary-wing of the party is fighting a war on two fronts, single-payer and economic issues are what progressives are flanking them with.
Fuck Nestle
Yes, of course. Even ad block plus has 'acceptable' ads. Especially in the case of Google, their ads are def 'acceptable' :)
And instead of a track we've got an evacuated tube. I'm not saying that it it's not technically feasible, I'd just like to see the finance numbers. Surely London-Edinburgh would be well north of £100 billion. That's a _frightening_ amount. I suppose it's possible that hyperloop might replace future maglev systems: https://en.wikipedia.org/wiki/Maglev#Operational_systems ?
How's the proposed Dubai to Abu Dhabi route coming along? Hyperloop One announced that last year. That's the ideal situation - flat undeveloped desert between the endpoints. Few routing problems. Short distance. Enough money to make it work.[1]

[1] https://www.youtube.com/watch?v=pi8o8gB_F24
Why? It's really convenient to offload bandwidth and DMCA etc. to YouTube, and that lets creators double-dip if their content can be monetized there.
This sentiment sucks. The "player" here sets the rules of the "game". I hate the player.
Still worth a lot to me.
But we already have that with things such as style sheets, where you can specify font styles which transform the text to all upper case, all lower case, small caps, etc. And as another comment pointed out there's even ligatures, which interpret a sequence of characters and render them together with a different singular glyph.
yes that's how expedia and kayak make money
I think Linux is just such a big ecosystem now, with such a huge variety of dependent parties, that nothing can change fast anymore, and nothing can ever die. So many products are built around iptables, so many docs assume iptables, etc. It's just cheaper for people to keep using iptables. Doing an ipchains->iptables style conversion where the next version of Linux just completely removed the old thing, wouldn't be feasible today. Linux is orders of magnitude bigger than it was from the transition 2.2 to 2.4 (I think that was when the iptables switch happened).

It's "only" been four years since nftables made it to mainline kernel, so we're not quite into Python 3 territory, but I wouldn't be surprised if we're still having this conversation in five more years. There's just no movement toward nftables, at all, that I perceive. I think it's partly because firewalls matter less today than they once did. So much is in the cloud now, where the firewall is somebody else's problem. It might even end up being a Perl 5->6 situation, but we won't know for a few more years.
It's asking for the last 6 digits of SSN and name. Considering that is 1 million unique numbers, out of 146 million potentially compromised accounts, you could probably put any number in there and be reasonably sure of getting a hit.
> One of my clients recently replaced a major chunk of their C++ code with Python and achieved a speedup from multi-hour to sub-millisecond.

I'd really like to know what they were doing and how they could do it so wrong that the C++ version took hours while the Python version was faster than a blink of the eye.
> why can't I run bash, GIT, ssh, and a decent package manager on Windows?

bash, git, ssh and package managers (choco/OneGet) are all natively available on Windows. Bash may be a bit iffy, but the others work perfectly.

> that will be it's downfall because the hardcore devs are all on Linux and OS X

This is total nonsense. There is a disproportionately large number of "hardcore" devs on linux, but there are still many on Windows, and far more than macOS. Most "hardcore" devs use all 3, knowing that they each have their own strengths and weaknesses.
> The sun can hit the roof all day and it will not heat a normal house

This is completely false. An attic that's heated up to 130+* will have a significant impact on the temperature of the house it's attached to unless you use an uncommonly ridiculous amount of insulation. This is why things like attic fans are so effective in reducing AC load...
The Law of Unintended Consequences may yet have the next laugh.
10 Random Ideas for September 8, 2017
Not to mention those $35 bags of saline...
Outstanding! Thank you.
It could be useful when going from the 10 million people on Mars to the 10 billion people on Mars stage. However, at that point 'colonization' is already a solved problem.
Well, I suppose you could always try applying for a credit card with the leaked info and seeing if you get approved!
I think the water quote is unfair, that's not exactly what he said. If you watch the interview of him on his desk, which is what I think you're referencing, he says there should be a difference between what a person needs and what you should be able to treat as a commodity. Obviously Nestle would love to sell the water out from under you, but to say that he doesn't think people deserve _any_ water as a right is disingenuous.

His specific number could be argued - I don't remember what it was, but I think it was in the liters per day. Regardless, I think it's interesting to think about the idea that the commoditization of something begins after a certain amount, unlike chocolate for example.

That being said, I wouldn't trust the current political climate to be able to come up with a reasonable number here
Ok now I'm not sure what you are arguing: are you saying this is a bad idea because it is too hard to implement?

Or a bad idea because of how it would increase corporate taxes, which would land on consumers?

I can't see how it would be a net negative for those countries that would get a nonzero corporate tax from megacorps that today contribute around zero. Even with price increases, the net effect seems like it would be positive
Wish now worth more than $8B
We do that. Try developing a complex code base with a medium sized team. It becomes very hard to make changes!!! You just need compiler support, IMHO. Python offers ease and fun, and that has led to an explosion of functionality. But there is a tradeoff. And at some point we will hit that wall, as an industry.
And post / re-post: "I tried that crypto-coin ad alternative thing and you won't believe these results!" ;-)
What features are you missing?
DoorDash acquires YC startup Rickshaw
"Hey guys - how can we get people to click on our dying business' website?"

"Bueller. Bueller."

"I know: let's link the iPhone X to the Unabomber."

"The who?"

"The Unabomber - you know, that nut job that sent mail bombs back in the 90s. Lived in Montana. Wrote a man-i-fes-to."

"Ok. Might work. Get on that."
What I don't understand is that bitcoin is always referenced in value to USD, but there isn't enough fluid USD in the exchanges to match what the bitcoin network is theoretically worth. How do they decide what Bitcoin is worth, if the money that it's worth isn't actually around?

Also what happens when a big holder of BTC decides to cash out? Wouldn't it become similar to a typical bank run, collapsing the exchanges (and thus the market)?
Does the author think people usually stand to drink soda?
The I-25 corridor is ideal- 20 miles to the east of it is basically BFE so it should be relatively simple to acquire right of way compared to, say California or the Northeast corridor. Also easier to deal with one state gov't instead of multiple.
"Toronto <-> Montreal" would be very interesting. It could help close some of the cultural gap between Québec and Ontario.

Edit: Why the downvotes? Canada is a big place. Being able to move quickly between the two metropolitan areas would be great for both provinces. The nearest city from Montréal is the city of Québec (3h drive) and the next closest is Toronto (5h drive).
Download Waltr 2 v2.0.12 Full Cracked (Mac OS X)
>> At her trial, a former friend testified that Jones confessed to having beaten the boy and then leaving him alone for days in their apartment, eventually returning to find him dead in his bedroom.

Jones was sentenced to 50 years in prison, but released after 20 based on her good behavior and educational attainment.

She could be brilliant and a huge asset to science, but personally don't think she deserves to get out after just 20 years. My opinion. For certain crimes, there's no coming back... You could "murder" your child by hitting him/her accidentally with the car, leaving them unattended etc etc, but this is way different. Real murder.
> The real reason it is growing so much just recently is of course due to ML.

This is certainly a potential explanation. But I don't think it is self-evident that the trend of recent growth is entirely due to this.

Edit: The article supports the claim - I should have read it before commenting.
because there is no choice

You could be using R or MATLAB certainly, there are still choices in this space
KNN is quite a simple operation in ML. I might be underestimating the effort but... Why is this an achievement?
Article is poorly written, makes some un-logical leaps, and glamorizes a horrible murder's wacko ideas.
Wow, that was a journey. Thanks.
I'm using kubernetes with kube-lego, and my experience is exactly the same.

Automating all routing, API gateways, TLS termination and certificate management makes life so much easier.
That seems like it will lead to some monopoly-style legal trouble
Keep in mind that there's python development practices which might be adequate to solve your problems.

> Things like direct access to data members

I think you're complaining about (lack-of-) encapsulation. Between methods, functions, and properties, there's ample opportunity for encapsulation. The convention is for internal-use-only members to be prefixed with an underscore.

> No compiler to check the code.

In fact there are many static checkers. pylint, pyflakes, etc.

> This is not even to mention the topics of Black.Holes.In.Your.Code because you can't tell what types the functions receive.

In fact, you can use type hints [1] to do this.

> The other day I dumped 800 extra lines into a file as a typo. Many, many duplicate functions. Of our whole test suite, how many tests failed? One!!! Ugh.

This isn't quite explicit enough for me to understand. You unintentionally redefined a function multiple times in the same file, and your test suite caught the error. You think that instead Python should've refused to execute/import this module w/redefined functions? Hmm, I suppose it's a very uncommon need to redefine functions but it's not uncommon to assign a function to a file-scope name. Also keep in mind that both pylint and pyflakes detect this mistake.

[1] https://docs.python.org/3/library/typing.html
At that cost would you not be better off saving it?
The fact that the author wrote a sizable post about how big Python is and is growing, but then says he's more of an R type of person instead of Python. Obviously that's interesting to see when authors aren't giant fans of what they're trying to promote.
I would hope they'd start. And there's no reason it has to be anything like a auto worker's union or anything like that. The Screen Actors Guild, the Director's Guild, and the Writer's Guild are all unions, and no one is complaining that SAG is hurting the ability of a "rockstar ninja actor/actress" from making huge amounts of money, which is the main complaint I hear about unions here.
I understand what you're doing, shifting the work to me, but it is generally courteous in a discussion to provide an argument to support your points. Why should I do the work for you and then let you sit back and pick at my arguments? I am not making a positive statement either way on the issue. You are the one that has made the assertion that illegality of heroin is the primary causal factor in it's being harmful, so you are the one that has the onus to provide supporting evidence for your claims.

I'm being downvoted because I started this off being snarky and, frankly, an ass to you. I think my points are still valid but it's not a kind way of communicating them, and for that I apologize.
What's especially infuriating about the advertisers' spin here is that Apple appears to have gone to a lot of effort to not destroy their business model. They're not simply blocking third-party tracking cookies, they're expiring or partitioning them more rapidly based on how infrequently the user interacts with a given website.

https://webkit.org/blog/7675/intelligent-tracking-prevention...
"you can't go around sticking the entirety of a parsed file in a std::string"

Sure you can. C++ is at best programmed like python. Just throw the working first version together - and once you hit a performance gap, you can optimize it.

Using a profiler.

Premature optimization is mostly pointless because for most non-trivial performance critical apps the bottleneck wont be where you expect it.

The faster you find the actual problematic hotspots with production content the better. The way to get there fast is to treat C++ like filthy python.

Don't trust anyone trying to goad you into premature optimization unlesa they understand the specific problem you are trying to solve, and only then with skepticism.
I know some people complaining about the noise from child care in their neighborhood.