skysight-inc/HackerNews huggingface dataset:
> Now according to this system you are not poor so state won't provide lawyer to you.

I never said that is system is perfect. You can create mechanisms where you look at incomes and look at percentage of fees to be paid to a lawyer. Similar to how fines are calculated in some countries.

The larger point being made was the current system of representation of giving a public counsel definitely doesn't work. We need to move towards better systems.
Sorry, that's just repackaging the problem and pretending it's fixed.

The trolley problem is "there's something everywhere inside my stopping distance, we will inevitably hit something"; yours is only a possible solution for it: "Don't hit objects [evaluated as negative]" with a fallback of "hit the brakes, horn, and do the robot equivalent of pray [ok, gonna hit whatever is in front instead what's front left or front right]".

TL;DR: Saying "let's have this one hardcoded solution to the trolley problem" does not make the problem disappear.
A huge selling point for me is that the client explicitly enumerating all fields they're interested in allows targeted deprecation warnings and finely grained usage statistics.
VS handles it just fine, this is something specific to the parent.
Not sure if this is true but I heard that currently less then 1% of the world population holds bitcoin deposits. Only a handful of people are holding large bitcoin deposits. Now if you believe that Bitcoin will get widely adopted then why is it so difficult to believe that the price will go up? And why do you care how much a single bitcoin is worth? As if we are going to be trading in whole bitcoin numbers. Fractions are perfectly fine and if you have problems with them just use multipliers.

Apart from the lack of legal structures, is Bitcoin that different from bonds or holding stock options which you bought for pennies? Alaska was purchased for mare $7m in 1960s which is worth $100m in today's money. You no longer can attach a price for Alaska because it not for sale but it is certainly worth a lot more. Similarly, Bitcoin is by far the largest wealth distribution most of us will experience.

Now you may disagree that with the fact that Bitcoin is currently traded for prices way above to what it used to be worth 6-7 years ago but similarly from the 1960s to 2017s the average inflation is about 1430.1% Keep mind that the 60s were neither globalised nor connected as much as today. And in a global, connected world everything happens at much faster pace.

Btw, I am not an economist, neither I claim that I have a good grasp of cryptocurrency. I just have an opinion :) and that all it is.
Not trying to belittle the project, it's very cool - just might make sense to use existing commodity hardware. Yes the software would be crucial - FLIR One + Android/iOS software for analysis would be a quick route to market
The article is titled "Rent-a-Friend" but the whole story is about a "Rent-a-DAD" for a little girl.

That is so much different than Renting a Friend....
Multithreading in Rust with MPSC channels
To be fair, that's not because they're aiming to push you towards the self-hosted product, it's just far easier to be fast at small scale than at gitlab's public scale.
George Soros: From Popper to Rove and Back (2007)
an initial prescription of just a few days' worth of pills can trap patients into using the highly addictive, often deadly drugs for a year or more

I call BS on this. Maybe if you have an unresolved underlying chronic pain, this could be true. But many people get a hydrocodone prescription after surgery or dental work and do not go on to become addicts.

And no, Tylenol is not great for acute pain. It does very little for me in fact. Ibuprofen or aspirin work better in my experience.
haha someone from a competing firm
It could be fun to use some code from this Quake version and something like the drawille [1]. As a result one could play this Quake on a terminal.

There is C implementation - libdrawille [2].

[1] https://github.com/asciimoo/drawille

[2] https://github.com/Huulivoide/libdrawille
But when a transaction costs $5, it's tough to buy into that.
Rules of thumb work a lot better, and are often easier to explain and remember, if you understand their rationale.
It's usually the other way around (at least in germany / europe).

You "buy" a telephone contract and get the smartphone on top (priced into the contract of course).
It's such an interesting discussion to me because it's kind of an open question: is the problem really with exploiting human psychology per se? Or is it with exploiting human psychology to achieve non-constructive ends?

The time investment that Facebook exacts from its users far outweighs the benefits it provides — e.g. social cohesion. So we feel much less comfortable with the platform's effective psychological hooks. But take an app like stickK[1], which cleverly recruits social and financial pressure to incentivize user-defined good behavior, and the effectiveness of the hooks don't make us so uneasy. Nir Eyal recently discussed this distinction on the Indie Hackers podcast[2].

I suppose a part of this is due to consent; stickK users consciously sign up to be manipulated. But consent can't be the entire equation, or else we'd let modern-day cigarette companies off the hook. It's 2017 — smokers know what they're signing up for, and yet they sign up.

[1] http://www.stickk.com/

[2] https://www.indiehackers.com/podcast/023-nir-eyal-of-hooked#...
Would a TCH infused candy not be good for acute pain or is it mainly beneficial for chronic pain? Its less addictive than opioids.
the difference in regards to adoption is that adoptive parents actually love you, while in this case is strictly for show. I'm not sure why you would lie about this anyways.

"We also generally find it ethically acceptable to form and especially continue relationships based on factors other than true love, including stability of a family environment and economic stability"
In this case, both of the people involved are grown adults and usually know reasonably well what's going on.

The real problem here is how deep a break of trust this would be if they ever found out, and how wrong of an idea this would give ppl of relationships.
Chromium: Expanding user protections on the web
> If the return reason is "defective," why would mark as sellable ever be possible?

Hope the next sucker doesn't catch it.

Something something, free market, YOLO.
Why didn't you notice the dirtiness before heroin?
The TypeScript compiler is the canonical corpus of code written by TypeScript experts, and I learned a lot of interesting style from the time I've spent with it. (Fun fact: they don't use 'class' in the compiler at all, but instead have a different pattern for passing around interfaces+state that is much more TypeScript-y.)
Virtually none of Apples profits are made in Ireland and Apple doesn’t claim they are. Ireland is where they’ve invested the profits, after paying taxes on them to the countries they were earned in.

The controversy is only on how much tax they should pay on the interest on their profits. Ireland gave them a sweet deal because it cost them nothing to let Apple deposit $100B+ in Irish banks.

And all corporate decisions have basic levels of privacy attached. No accountant, tax or otherwise, should talk about their clients tax and business decisions.
I was talking about Belgium, which is the country the comment I was replying to had used as example.

https://en.wikipedia.org/wiki/Belgian_national_identity_card
> I disagree. The company is now imposing on you for something that is absolutely not your responsibility

Ok. What if my payment processor has an issue, through no fault of the seller, and I end up getting charged twice? Do your rules still apply? It seems unreasonable to just assume a 'screw you' attitude from the get go.
Agreed that opiods are overprescribed, but for acute pain there's no comparison. At least in my experience.

I was rushed to the ER with an excruciating condition, and i popped quite a bit of ibuprofen at home before going to the hospital (i think 4-6?). Nothing.

In the triage room or whatever, that morphine drip (plus saline IV to replace all fluid i vomited up due to pain) made the 8/10 pain reduce to a 2-3/10, allowing me to bear with it until i was put under general anesthesia for surgery.
1%? I would have guessed 0.1 - 0.2%.
PoW costs money. As PoW difficulty increases, and mining reward decreases, it makes sense for value to increase to make it sustainable.
A New Way to Find Bugs in Self-Driving AI Could Save Lives
Well, it's so vague that it's impossible to draw much conclusion. The word 'can' could mean 'at least one' person had that experience.
If you want to learn more about 3d engines (game or rendering), I would recommend BabylonJS: https://github.com/BabylonJS/Babylon.js

It has fairly good docs: http://doc.babylonjs.com/ as well as an active forum for developers and users: http://www.html5gamedevs.com/forum/16-babylonjs/

Other options mentioned are also good - the Typescript compiler (https://github.com/Microsoft/TypeScript) is good to get started with especially if you read this Gitbook: https://basarat.gitbooks.io/typescript/content/docs/compiler...

You could also search popular typescript github projects that are more closely related to what you work on, but the Typescript compiler and Babylonjs 3d engine are both well written projects with fairly good documentation in my opinion.
Happy to review resumes: itamar@codewithoutrules.com (20+ years experience, so I've seen many resumes over the years).
Context: I've been programming in Go full-time for the last 2 years and come from a Python and C# background.

> No Generics

The lack of generics was something I was hung up on, too, but TBH I haven't found myself reaching for them for a while now.

> Error handling

This is not a problem for me, either. I can easily handle different `error` types and if I want to provide more context I pull in github.com/pkg/errors

> gofmt

gofmt is great

> go test

go test has been totally sufficient for me and I was quickly writing and running tests. The testing package itself is builtin and writing tests is dead simple.

> dep / dependency stability

Dependency management has been a huge PITA with Go and is my largest complaint. Personally, I've used everything go GB vendor, godeps, glide, and now dep. dep has been Just Working for me and is decent enough working on a team. As for dumping the dependency code in your source tree-- it lives in a folder called ./vendor so it's easy enough to not look at it.
Bitcoin’s Biggest Tech Player to Release AI Chips and Computers
This suggests you need a better IDE.
You're outnumbered on HN.
That is true. With the paid plans that are being phased in, pushing you to self-hosted makes them loose money
I agree. Also law firms used by companies have massive resources (thousands of employees) so a regular person can't fight against a machine like that even if he/she can afford to hire a single lawyer. The system needs to be changed from ground up to give people better options to defend themselves.
A fake news site owner said conservatives are more likely than liberals to believe and spread fake news. In fact, he said fake news didn't take off with liberals at all. I want to verify this. How easy would it be too replicate this experiment?

Edit: Found some links. Couldn't find the original article though.

0. Republicans seem more susceptible to fake news than Democrats (but liberals, don’t feel too comfy yet)

http://www.niemanlab.org/2017/05/republicans-seem-more-susce...

1. Article that says both left and right visits his fake news site.

http://www.politifact.com/punditfact/article/2017/may/31/If-...

2. Democrats are falling for fake news about Russia

https://www.vox.com/world/2017/5/19/15561842/trump-russia-lo...

3. The rise of left-wing, anti-Trump fake news

http://www.bbc.com/news/blogs-trending-39592010
No, but valuation wasn't what OP and I were getting at. OP said "We're no more interesting than your average gas cloud." and that we are nothing special.

I disagreed and said that even in the eye of much more powerful or advanced species, we would still be considered a curiosity.

At least to some. It's entirely possible that we could be blown away by the next being. But at least some members of the same species would regret that.
> Replace that with some other subsystem that is practically necessary for safe operation in a commonly encountered subset of driving situation requires manual activation and we require vehicles to have.

> Lights, wipers, brakes, seatbelts, defrost, etc.

> See the problem?

No, I really don't. I think a human driver would and should obviously be prosecuted for not using lights, wipers, brakes, or defrost in a situation that called for them (seatbelts have specific laws about them). It's not at all obvious to me that this would ever happen with the horn.
And what if the truck keeps backing into it? Does the car just keep avoiding it forever? When is the truck driver expected to take responsibility for doing something technically illegal.
Will it beat clinical diagnosis in the first world, maybe not. But if it's cheap, it could be made available gloabally and potentially save a lot of lives.
Didn’t you just name a reason?
If we're talking about actual C++ code, auto is a reserved keyword (so it wouldn't be used as an identifier) but it was useless, so it wouldn't be used as a keyword in any real (C++) code.
There isn't?
https://mickybnovels.files.wordpress.com/2014/03/03-emergenc...
* US spreads propaganda and lies around the globe (Voice of America) but doesn't like it when RT does the same.
Kured – A Kubernetes Reboot Daemon
Try Resharper C++ from JetBrains.
You're in luck, there are libraries that can do it for you! https://github.com/stems/join-monster

And even a system that generates your whole schema: https://github.com/postgraphql/postgraphql

Plus, the Graphcool framework allows you to bring your own DB: https://github.com/graphcool/framework
Cloudflare supports Privacy Pass
Apples tax planning is no more “aggressive” than a person not taking money out of a retirement account. The US allows taxes to be deferred (not avoided, deferred) on foreign earnings until they are brought back in the US. That’s all Apple is doing, parking their after tax foreign profits in the cheapest location possible until the US fixes its awful tax code.
I'd just put them in the centrifuge that they use to liquefy mice.
I've seen this before, in a movie - "we cured cancer", then, suddenly, zombie apocalypse.
Yeah the benefits are mainly when you have many different consumers all of whom want to look at the data in different ways, or when you have many different data sources in your architecture and want to aggregate them on the fly based on the exact incoming query.

If you're writing rest endpoints for an SPA and you have one backing store, then the benefits are not really there, it's just another layer. There are some nice things in relay like intelligent caching portions of the data and only refetching the parts needed, but it is very likely not worth it if you can just handcraft your endpoints and make your consumer change in sync.
Ask HN: Best way to search and collect platform-agnostic podcast links?
I'm looking to introduce my parents to some podcasts I've been listening to in an effort to expand their minds and stave off their inevitable senility (kidding [kinda]).

I listen with the terrible Apple Podcasts app (open to suggestions here too), but my parents use Google and so I'm not going to link them to the Itunes page.

However, I can't seem to find a good search engine that will allow me to search "Philosophize This!" and get back links that they can use to subscribe and start listening easily.

Does such a service exist, or is there a better approach I can use?
The statistic is not the "racist" part. It's the context, which is usually reflective of other conditions that certain races are exposed to, often through racism, that leads to lower income levels, worse housing and neighborhoods from a sociology standpoint, and eventually increased crime rates. I suspect that the countries refrain from reporting crime rates by race because most people will not look at those deeper causes but take them to imply that race X is more delinquent than race Y. You see that type of logic all the time in the US.

I would say the solution is to add that context to the statistics when reporting them instead of not reporting at all, but I don't think even whoever is choosing to not report the crime rates by race believes the statistics themselves are racist.
No. You're simply wrong and have it backwards

The default rules of the are basically "big class of vehicle takes precedence" and "speed takes precedence within a class of vehicles".

People yield to golf carts yield to fork trucks yield for semis which yield for trains which yield to container ships.

Traffic on slow roads crossing fast roads waits until it's clear. Stop signs codify this pretty directly. Even if you removed them it's pretty obvious who has the right of way in many cases.

The rules of the road are specifically for reducing ambiguity and managing traffic flow within a class of traffic and managing interactions between those classes. For example, the procedure for a (rule following) pedestrian crossing a busy road will be very different where there's a cross walk than where there isn't. The cross walk provides a specific exception where the right of way defaults to the lighter traffic.

However, people don't crashing stuff and there's many levels of redundancy built into "the rules" so it all gets a bit fuzzy and situation dependent. (e.g. the pittsburg left or an agricultural vehicle crossing a not too busy road)

Accordingly, if you as a pedestrian or cyclist (or golf cart driver) just cross into a busy street not at a cross walk people will stop for you giving the appearance of you having the right of way.
If soft drink mfgs had to actually pay for the water, sugar, pollution, and diabetes treatments, they wouldn't be profitable.

Externalize costs, privatize profits.
Not to toot my own horn but I quite like my personal project, an HTTP client for the Toxiproxy server (a programmable TCP proxy).

https://github.com/ihsw/toxiproxy-node-client
The other fun thing is that opioids are often cut with ibuprofen or acetaminophen. So even if you are taking an opioid for chronic pain, you might still be getting a long-term dose of Tylenol, which can damage your liver.
You can still avoid dual taxation, they would just pay tax on the max(all country with worldwide taxation).
You are (willfully) conflating biological characteristics with social ones. Statistically, more women are physically abused than men. Do we shrug and say, oh well, tain't nothin' you can do about it -- it's biology, like being blonde or a super-taster?

Nevermind. Don't answer that. :(
How to Create a Productive Mindset
Yeah, I wasn't trying to say that, which is why I didn't say it! I do think a truth-based approach to drugs should be a part of general education, and that the current older generation has failed embarrassingly and awfully in its drug policies.
Nothing. That's the end goal. My team is hired to make their website fast. Unless we recommend a total hosting change which is rare (but it exists) there's little involvement necessary from the client and it's usually in making the necessary compromises. Like, your posts will take two minutes to be searchable but in turn your search will become 400 times faster. Is this acceptable?
Key strategies to keep your crowdfunding momentum going post-campaign
That was an entirely different auto. In C89, auto just "variable on the stack". It still had a type. The new auto is just borrowing the keyword since it (a) makes sense and (b) is already a reserved word.
> But if you are in UK or Germany or country like that there is no need for credit card really.

There's no need, indeed. But as I said, a month's grace on paying for everything and free plane tickets every so often.
Functions can return local types whose name is then not accessible to other code. Other code can use that type via auto though.

As mentioned in another comment, not being able to name or even easily refer to a type without auto is very common in generic code.
Less Dollhouse and more Eternal Sunshine for a Spotless Mind (except making memories instead of removing them) .. makes me thinkg of the new Blade Runner a bit too
Sounds like you live in a country with a compulsory national ID card.

Not all countries have or want that.
The later seasons explained things a bit more if I remember correctly. There was more to it than what was in the first season.
This is really rude
You are correct. I work in Sublime Text.
Yes, exactly. The point of Limited Liability is not simply to create a guaranteed path to profit (in fact it does no such thing; LLCs go bankrupt every day, and members can lose every penny they have personally invested).

Though there is no explicit "benefit to society" clause, that is the basic rationale for limited liability. It's an incentive to allow members to define the extent of their personal financial exposure. In so doing, they are more willing to invest in businesses, which can produce a net benefit to society (e.g. by employing people, paying taxes, etc.).
There needs to be a reason to refactor this stuff out. Usually that reason is that you need to use it somewhere else. I am not a huge fan of refactoring simply to enable tests.

The initial method (with logic in the controller) was longer to read, but I still could quickly understand all the dependencies (mailer, database, etc)

With the new method, if it's a service object, module, concern or whatever, the implementation is now obscured and I have to look in two separate places.

That should be considered into any decision before simply trying to make your code look "cleaner".
Google shares represent a stake in Google's revenue stream. It has an intrinsic value beyond what you could currently sell a share at on the stock market. Likewise gold has some intrinsic value in manufacturing and ornamentation.

Bitcoin has no intrinsic value. Its value is just what you can trade it for at the moment.
I first read the title as "We made a really addictive fart app" :D
The one place where I've found autolayout makes things much easier is dealing with variable height table cells. Manually measuring the heights of cells is a lot more work compared to using self-sizing cells and having autolayout do it for you. Especially if you want to support Dynamic Type which means that every table cell containing text potentially has a variable height.

On the other hand, there are situations where if your views are highly dynamic then the complexity of autolayout starts to negate its benefits. Any time you need to save references to a bunch of constraints so you can adjust their constants or toggle them on/off later. Or if you have one set of constraints to start but need to replace them with other constraints at runtime as your data changes. Or if you have a lot of subviews to layout and you need to start coordinating content hugging/compression resistance/layout priorities between them. (This is the worst cause it starts to feel like you are adjusting arbitrary magic numbers to make your layout behave the way you want.) At some point you cross a threshold where your autolayout code gets absurdly complicated and you might as well have done it all manually.

Ultimately I've found it best to treat autolayout like any other tool in the box: use it when it makes things easier, but don't hesitate to rip it out and do things manually when the situation arises.
Best Practices for Your REST API
Visual Studio is fine with auto.

Are you using a plugin like Visual Assist? It's a great plugin, but it does have issues where it behaves as you describe.
The only GPU shaders that are C like are the OpenGL ones.

The Metal, DirectX, PS3, PS4, Nintendo and several middleware engines are C++ like.

Also the fact that OpenCL lost to CUDA for being stuck in C for so long, shows what most GPU devs actually prefer.