skysight-inc/HackerNews huggingface dataset:
Solution: The facade pattern.

Tl;dr: Y'all need better API designers.

JS modules are still bleeding edge but they're a necessary requirement to put the facade pattern to work.

Each library should ideally be separated into multiple modules internally.

The main source file imports all submodules by default making it easy to get started.

import 'rxjs';

As a project matures and it comes time to optimize dependencies for performance, the main import can be swapped with feature-specific imports to trim the fat.

import { Observable } from 'rxjs/core';
import { FlatMap, Debounce} from 'rxjs/operators';

Optionally, an additional facade layer can be included to import specific classes of submodules.

import 'rxjs/operators';

Or, alternatively:

import { OPERATORS } from 'rxjs';

A facade is nothing but a js file that contains a bunch of imports that are logically mapped to one or more exports.

The 'real' issue is, it wasn't really possible to use this before the ES6 module standard because of the divergence of implementation-specific features of the existing module pseudo-standards (ie AMD, UMD, CommonJS) and the overreliance on bundling required by the expensive overhead of HTTPv1.

JS has a lot of baggage and it's going to be a while before the community as a whole learns how to design non-sucky APIs.

If you want to see this in action, take a look at http://github.com/evanplaice/ng2-resume. In it, I use facades extensively at multiple layers to compose smaller components/directives into larger ones. It maximizes reuse while allowing a great degree of flexibility.

I still have freedom to break off chunks of the source for reuse elsewhere. For example, I'm planning to move the models to a separate repo for use on the server-side. It's trivial to bring those chunks back in via the ES6 module loader and a package management utility like JSPM/Webpack.
No, it definitely works with multiple clients. I have ERC connected to ZNC at all times in the office and at home I have ERC connected to ZNC when I'm off work. I get buffer playback as soon as I connect and I don't miss any messages.
Basic stats: http://www.cbpp.org/archives/4-8-99socsec.htm

You can go a lot deeper on this. Even today, about 50% of seniors would be below the poverty level without Social Security.

That's mostly okay, because the majority of seniors have the major expenses covered by guaranteed benefit pensions, Medicare and private savings, usually in the form of a house.

But things would get pretty grim without the government programs.
Not socializing these costs means externalizing them. Should we all chip in to take care of this very social issue or should we just accept the costs in the form of living in a dysfunctional society with all the ramifications of huge numbers of poor elderly folks? We bear the costs as a society one way or the other.

It seems what you're saying is: you just wish every elderly person just had a wealthy enough family that could comfortably take care of them. But that's completely useless fantasy talk.
That exists, it's called Social Security.
You do know you're talking about a generation that essentially had every opportunity to provide for themsleves, but squandered decades of prosperity out of their own selfishness, most easily seen in the recent $4 TRILLION spent on war as the domestic infrastructure crumbles, medical care costs skyrocketing, and the largest ideological gap in politics according to some scholars?
Tesla applies for a franchised-dealer license in Michigan
For most of us with dependents, that's what private life insurance is for. The social safety net is for people too poor or irresponsible to have life insurance.
> Do you honestly think thats reasonable?

Not only do I think it's completely reasonable, I have done it myself and know others who have done it as well. Come to Minnesota, there's plenty of work, both remote and contract, and your cost of living can be very low depending on where you live. We also have great mass transit, are the most bike friendly city in the country, have the lowest unemployment rate in the country, and the best parks system in the country as well.

> If you do, i'd love to hear why you think it should be impossible for a secretary, or a janitor, or an accountant to be altruistic and to work towards altruistic goals.

Why can't these people work toward these goals in their spare time? Why does it have to be an all-or-nothing proposition? And if it does, why can't you start a non-profit where you can pay yourself a living wage and take donations from others who don't have the time to help but have the money to help. And why not just cut your expenses today, keep your high paying job, and donate your additional money to causes you believe in?

People can be altruistic without being rich or privileged. To suggest otherwise is completely offensive and short-sided. And being rich and privileged doesn't automatically equate to someone being more effective altruists. In fact, it's often the opposite case because their experiences are too isolated and foreign to be relatable to the causes they support (see charity-as-tourism).

But what it comes down to is you not wanting it to be hard to do something. And I'm not saying it isn't hard, because it is. But most things worth doing are hard, and complaining about them doesn't do anybody any good. Instead of complaining and creating long lists on internet forums of all the reasons why something is too hard to do you go and actually test your assumptions.

I don't mean to sound harsh but I can't help but respond to such negativity with anything other than exasperation. I can't motivate you, but I hope you find somebody or something that can because it sounds like you want to make a real difference in this world.
Exceeding the speed limit isn't exclusive to the poor and downtrodden. Should fines for breaking the law be different for different incomes?

Edit: for those of you saying 'yes': who decides what is "fair"?
Yet most of the "viable" basic income schemes I've seen provide benefits at the social security level or less.
http://www.epi.org/blog/social-security-effective-anti-pover...

http://www.cbpp.org/research/social-security/policy-basics-t...
Nobody is a terrorist until he plans or engages in terrorist activity. Do you have evidence that they did something like that?
> Its tricky to feel sympathy w/ the lady in this article.
...
> and by world standards she's won the lottery to even be alive and living comfortably at her age"

Why does that need to be trotted out whenever a story about someone's misfortune or bad circumstances is written about? It would be nice if people could just be happy with what they have because they aren't living somewhere else, under worse conditions, but unfortunately that is not the way the majority of people think and in fact it wouldn't necessarily be healthy if they did. [1]

I don't wake up in the morning (and don't know anyone who does) and think "wow I am so lucky to have a job and to earn a decent income that slow driver in front of me shouldn't annoy me so much!". If I get a meal that was expensive but was "bad" in a restaurant I don't think "thats fine at least I am alive and can afford to eat here how lucky am I".

You compare yourself to your peers and what your expectations are growing up and what you experience.

Of course life for anyone alive today is better than almost anytime in human history but people's baseline is today and where they are not another time period or where someone is living in a third world country.

[1] Because for only one reason it would also prevent people from striving and trying to make their life better in some way.
And in some ways that is sort of worse. Does that mean that Jihadists are buying AdWords? Is Google trying to set an auction floor on the price of those keywords by offering grants which, they watch to see how high they can push up the ISIS bid price? How is this not like letting a shill at an auction bid up the price with the company's money? So the NGO wins? Fine they feel good about putting an opposing message in the ad slots, the Jihadists win the bid? Hey double win for Google, they get more Ad money and they didn't have to give any to the NGO to buy that Ad.

What's next, giving Grants to people who want to buy Anti-vaccine creatives next to searches of "measles" or "rubella" or "polio" ?
A net-petro-exporter USA is still a USA the economy of which is mostly not based on resource extraction. That's why the USA dollar has appreciated against those of e.g. Canada or Australia.
> Why should I expect that to result in us killing each other over arable farm land, any more than we're killing each other over arable farm land now?

Arable farmland and access to fresh water have been a fairly common thing for people to kill each other over historically, including in the modern era. To the extent we aren't, its because many countries have reached settled states with their neighbors that are stable given a relatively stable distribution of those resources.

Major shifts would leave large existing populations without support and others newly prosperous, giving the former little to lose and the latter something quite valuable to defend.
An other similar software is Sketch[1]. It generates tikz images that you can compile in LaTeX.

[1] http://sketch4latex.sourceforge.net/
Deterministic games with limited information, for example Stratego.
No matter how much social security is, some people will manage to spend so extravagantly that it is not enough. An anecdote of one such person is not very convincing.
Wait, wait, wait. Hold the phone. You're going after me for glorifying trolling, you say (I very clearly wasn't; I was cautioning against throwing mental health around as it complicates understanding), and you subtly included an inference that GamerGate was, quote, 'hurt' by trolls and we just needed to 'let the facts sit?' Oh, boy.

The incongruity of you defending one of the Internet's largest havens in history for trolls to demean, harass, and harm women by threatening to rape or kill them simply for being involved in video gaming, by then going after me for "glorifying" trolling and complaining that trolling harms people, is probably the most shockingly hilarious irony I've ever seen in my life. That's not hyperbole. You just seriously used GamerGate to attack trolling, which is either the work of the most master troll I have ever seen or, as seems more likely, your genuinely and outstandingly horrible opinion. I can't even comprehend the thought process that would take you there.

HN is definitely not the place to positively speak of GamerGate; I don't know about others, but I don't want anybody to ever speak of GamerGate positively again, and I'd extend this to even hiring if I could get away with asking about it.
Opodo Review: Worst Online Travel Agency Ever
Cost of living is not the problem (except for healthcare cost inflation, which Medicare could mitigate if someone could gut Congress of representatives preventing Medicare from negotiating with pharmaceutical companies). The problem is that everyone who collects Social Security is living longer.

The question is: How can you continue to provide a high quality of life to seniors without bankrupting the country.

It can be done, its simply a policy decision.
Unfortunately that means that you absolutely need to enable word wrap in your editor, people cat-ing your readme on the shell will see ugly mid-word wraps, etc. Not the end of the world or anything, but somewhat inconvenient.
Most reputable journals charge processing fees when publishing.
How to boost startups if you’re not San Francisco
We put it in the second-chance pool (described at https://news.ycombinator.com/item?id=10705926 and earlier posts linked from there) because the story seems significant and it wasn't discussed earlier. That gave it a few minutes near the bottom of the front page and user interest took it from there.

Lord help us if we're not interested in things from 3 days ago.
Pretty clever, but do intel CPUs guarantee that xmm regs are zeroed on boot?
Don't Panic: Seeking Points of Agreement on the “Going Dark” Debate
Then solve the mistery. What use that is truly good?
There is an annual COL adjustment to social security.
First, most new loans are made by the federal government. A lot of people that graduated with their last degree a while back remember the FFEL system+ and think that's how it still works, but it doesn't anymore. There's some private loans, but it is a small part of new origination and has been for years. So if any entity would be "getting theirs now" would mostly be the federal government.

Second, loans are principle and interest. Some people are still paying off loans made by the federal government with an interest rate of 8.5% (PLUS graduate loans from 7/1/06–6/30/10). Other loan programs or origination times are lower, but still fairly high.

There's a private market to refinance these high interest rate loans at a lower rate, but it still pretty small and selective. If the Fed were to buy repackaged refinanced loans it would tend to increase demand and capacity by companies to refinance loans and thus decrease the average interest rate paid and the number of loans refinanced.

The same thing has happened (and is still happening) in residential real estate. The Fed isn't forgiving anyone's mortgage or writing any new mortgages, but by buying up enormous amounts of repackaged mortgage debt it is driving private companies to seek out mortgage debt to repackage and thus lowering mortgage rates. That was the entire point of the exercise.

+Under FFEL loans were made by private companies but guaranteed by the federal government. Many of those loans could be refinanced without losing the government guarantee.
There's also a theme:

Should she go to the dentist, or take a guided tour of buildings designed by her favorite architect, Frank Lloyd Wright? Each cost $100. She picked Frank Lloyd Wright. Her teeth could wait... The biggest blow came in 2013 when she faced $8,000 in charges for emergency dental work and rig repairs.
Why not? They are in some countries, like Finland. It seems to work OK.
See my reply to your sibling comment. You can measure very real changes in SEO, user engagement, bounce rate, conversion rate and sales on even small changes (100ms) in page load times. I have personally seen conversion rates vary by 4x based on page load speed.
Yes, but is not that polished, and the look/feel is akward across OS
Conversation with IPython / Project Jupyter core devs [audio]
Yeah, but those without are going to be continents away from those 'with'. Not really in a position to fight, especially as they're starving. Not talking knights in armor fighting over a moor here.
If you read the article, it sounds like rent hikes in the mobile home park she lived in made her unit unsellable.
Good point. I never really thought about it that way.
I agree that a lot of people would chip in for #1. Especially if he does prominently call out Goddell in the Kickstarter. Could he get more than $30,000? I'm not sure, but even if not, I feel like it would be worth it.

I think option 2 is way too risky, and those who want the video will want the SB recording. Those people would still not have rights to air or show it.
Err, I of course meant "strip trailing whitespace", not "strip newlines", but apparently everyone understood.
Just to say, he's quite well known amongst artists and art historians, though I don't recall learning about him in my Western art history course. Along similar lines, but more well known is Hieronymus Bosch http://lmgtfy.com/?q=hieronymus+bosch.
> My jaded view would be that the banks would just borrow free money, but not pass anything onto the consumers, instead using it for more high risk trading.

Regulatory changes following the financial crisis make it harder [1] for banks to engage in proprietary trading and pose stricter limits [2] on how much risk they can take on.

[1] https://en.wikipedia.org/wiki/Volcker_Rule

[2] https://en.wikipedia.org/wiki/Basel_III
Bacon to Kevin Bacon?
Absolutely. How is it just to punish one person with financial catastrophe while another with mild inconvenience for the same crime?
The basic problem is that it requires IV infusion, not oral or nasal administration (trials of the latter have issues with consistent dosage, AIUI), and that requires trips to a doctor to do, weekly.
"most benefitted generation"?

Is there a website that does the accounting for this?
Do you have a link?

[ Serious question, has anyone done an analysis. I keep hearing "boomer ripoffs" but I'd like an impartial analysis. Also, I don't think the 80 year old in the article is a "boomer"; more likely she's a "boomer's" mother.
]
In some places it is:

http://www.theatlantic.com/business/archive/2015/03/finland-...
Why don't these people move to a place where it is much cheaper to live? Costa Rica, Panama, and Mexico all come to mind.
Living in the US is expensive and you can live much cheaper in other countries and have the adventure of living in another country.

https://internationalliving.com/countries/costa-rica/cost-of...
> she pulled into the Town & Country Family Restaurant to take the edge off her appetite .... After much consideration, she ordered the prime rib special and an iced tea — expensive at $21.36,

I guess that is really bad for US.
Here's a breakdown of the US 2015 combined (Federal, State, Local) government spend:

Total Spend: 6.18tn
Total Revenue: 6.08tn

Healthcare: 1.32tn (21.3%)
Pension: 1.20tn (19.7%)
Education: 0.93tn (14.8%)
Defense: 0.80tn (13.1%)
Welfare: 0.50tn (8.2%)
Other*: 1.43tn (23.1%)

*Other = Protection, Transportation, General Government, Interest

Currently, social security is taking in ~$74bn less in payroll taxes than it pays out in benefits. The $2.83tn fund is invested in federal debt that pays 3.4% interest. So the interest payment (from the Federal government) of $96.2b is enough to cover the deficit.

By 2020, interest will no longer be enough to cover the deficit between revenue in from taxes and expenditures out to retirees. At that point, the SS fund will need to start redeeming treasuries for cash. The federal government will then need to issue new debt and/or raise taxes to cover SS treasury bond redemptions.

If the Federal Reserve follows through in its quest to raise interest rates and inflation, it will be relatively expensive to raise the $2.83tn in debt that we will need to fund SS through 2029, when it is projected to completely deplete its reserves of treasury notes. At this point, SS will only be able to pay out 75% of promised benefits given the current tax rate and demographic trends.

Healthcare expenses lean heavily towards the old but are funded by the working age population. What happens as the birth rate decreases and the average individual lives longer? Expenses increase for the working-age population.

I'm less concerned about spend on education (which is broken) than I am about how we plan to fund our health care and pension systems. The only feasible way I can see is through increased taxation. I just started working last year. Hell of a time to enter the work force!
Overall it seems to me like we are paying an increasing amount of our federal budget on the older population than we anticipated we would need to and that we did not adequately provision for.
“A philosophical case against sleeping in”
Gradient-Based Hyperparameter Optimization Through Reversible Learning
Replace the speeding ticket with medical treatment, and that no longer holds true. Either way, you're missing the point, which is that no one (elderly or otherwise) should have to live a life in which a necessary expense of a couple hundred dollars can cause you to go hungry.
Shared genetics between cognitive functions and physical and mental health
Software only virtualization was faster than the first generation of hardware supported virtualization.

See page 7. of this document: http://www.vmware.com/pdf/asplos235_adams.pdf
> Does that mean that Jihadists are buying AdWords?

No, it doesn't mean that. And if Google knew they were and were accepting money from them for that purpose of buying AdWords for recruitment, there'd be all kinds of legal liability.
Who Runs Silicon Valley Boards?
What is the purpose of the fine? Is it to discourage people from breaking the law, is it to recover damages, or is it to make income for the government?
That's worse than a short. A short pulls the Vbus to 0V, leading to high currents on the source, so whatever overcurrent protection it has kicks in. What he had here, instead, was -5V on the Vbus pin, way outside the acceptable voltage range (which is probably something like from -0.5V to 5.5V). It's no wonder everything fried.

The protection against reversed voltages like that would be a crowbar diode between Vbus and GND, to convert the negative voltage into a short circuit. But even if it had that reverse protection, if the current was high enough (since the negative voltage was from a charger, it's not unlikely) the diode could burn open, and then you have negative voltages again. And I don't know how common these crowbar diodes are; they probably are rare, since the USB connector is keyed so it can't be plugged "backwards" (the type C connector is mirrored instead, either orientation connects the pins the right way).
Feels like a poor kind of "social security" to have to work if you are elderly. Either something is missing in the story, like an expensive addiction, or the minimum benefits (minimum pensions or social security) are simply too low to actually allow someone to retire on.
...and totally, completely avoidable.
You compare yourself to your peers and what your expectations are growing up and what you experience.

Life is much easier if you don't have that mindset.

I, in fact, do wake up every morning thankful for what I have, even if it's not as much as my neighbor.
You're still in an "altered state" for an hour or so after an IV infusion, according to several practices I've seen offering the service - not necessarily dissociative or hallucinating, but definitely "out of it".
What are their returns, compared to say, social security investments or private pensions?
I don't think Columbia needed any significant amount of fuel to maintain orbit. At these altitudes, orbital decay is a matter of months or years. The report says that it "would have been placed in a tail-down gravity gradient attitude that would require very little propellant."

According to the accident report, the time in orbit was limited by breathing consumables, specifically the lithium hydroxide used to remove CO2, and the onboard oxygen. Both were probably good for about 30 days.
Yahoo Plans to Say It Is Exploring Strategic Options
OK, we have a misunderstanding here.

I was talking about the scenario where the Fed gives out a credit in exchange for securities. This usually is accompanied with postive interest rates such that the banks have to pay back more.

Are you talking about the scenario where the banks deposit money to the Fed?