skysight-inc/HackerNews huggingface dataset:
Ok, this is probably a silly question, but who holds all the debt now? The avg US citizen would say China holds much of the US debt, but now it sounds like China is borrowing their way into trouble too... it's not any of these third world countries... who is it?
to reinforce one's own understanding. you're motivated to get things right if you know that other people will be reading it, rather than, say, writing something in your own private notes.
I appreciate the sentiment, but without rigorous testing this exercise could be a shot in the dark...
For this subject I would like to offer this counter view: Why China bears are wrong: An interview with Andy Rothman (http://supchina.com/sinica/china-bears-wrong-interview-andy-...)

As it is likely for someone to mention the Ghost cities, I recommend this video https://www.youtube.com/watch?v=AyBBQ-wF87M&list=PLxh5xkC0W-...
Windows S announcement and a new Amiga X ... let me drag up this http://drupal4hu.com/future/freedom seven year old blog post of mine. Especially because:

> Microsoft can [...] make it so that any new app needs to be sanctioned.

which came to be true with Windows S.

The other half of my prediction where free PCs become "cool, obscure and expensive" computers like the Amiga X series has not yet come to pass. Not yet.
does altruism count as vanity? people often feel good sharing information with others and helping others. perhaps that's still "vanity", but i don't think so.
Not just a heavyweight VC with A16Z, but founder of it. A16Z = Andreesen Horowitz (A to Z with 16 chars in between).
Punished? Late stage first world economies with structural issues (an aging population, enourmous entitlement obligations) can escape recessions (stagnation, really) no more than humans can escape the heat death of the universe.
Can you elaborate?

From the article, Pettis assumes the following is true:

1) China has overinvested in infrastructure and manufacturing capacity to such an extent
that in the aggregate the cost of additional
public sector investment exceeds the present
value of future increases in productivity generated by
the investment

and

2) China's long-term sustainable growth rate is substantially below the economy's current GDP growth target

Why does he make these assumptions without also analyzing the technology improvement aspect? I don't see anything about that in this article.
Dog sits on the editorial boards of seven international medical journals
The rate of people recruiting me for interesting work had an uptick after a technical blog post. I've had several professional recruiters tell me they liked one of my non-technical posts that they could understand -- so people do look at it.
If I'm on my Ubuntu machine I just use the different workspaces it provides and move between them.

On OSX you can achieve something similar with multi-desktops.
it's debt, all the way down :p
Currying and composition, I think.

I actually think he has a point on those two in the context of Clojure specifically. The process of explicitly currying or composing functions (again, in Clojure specifically) is usually more verbose and IMO harder to read than just writing an anonymous function that expresses the same thing.
WordPress is used by 28% of all Internet websites
Can I ask what disease you have and what lifestyle changes you made? I understand if you don't want to share, I'm just curious.
I find it a good way to think through ideas in more detail.

For example, I always wanted to implement a few financial trading software ideas using programming languages I don't use at work, such as scala and javascript. By writing a blog post, I force myself to make the project at least somewhat complete and understand it enough to explain it to others. It is a good way to commit to something, at least for a few weeks.
> This is a two-edged sword, though. I agree it's best practice from a technical point of view, but enabling wilful ignorance on the part of someone above you in the chain will eventually lead to a showdown when you really do need a week to fix it and it really is critical, and they tell you not to, and they'll stick to their guns because (as far as they know) they've been right every time.

Yeah, pushing that too much requires either (a) sufficiently-padded early estimates so it's not a slippage and a nasty surprise (a good practice anyway, but hard), or (b) a sufficient level of don't-give-a-fuck, or (c) really good judgment around "when this is necessary to give them what they need vs what they want" and when not to e.g. truly critical and immediately messagable stuff.

A healthy dose of don't-give-a-fuck/willing-to-say-no is often a good thing anyway, though, if you're able to do it politically/smoothly enough :)
Curious if copying homedir except Documents, Downloads, etc. and chown'ing could be sufficient. Maybe it should be more selective than that, but still possible?

Btw your idea is very cool. I have at least three contexts too: personal, job-related and somewhat job-related (trial periods that I always miss without touching, etc). I tired of relogging into different accounts and being careful with my From field, thanks for the hack. Cannot believe I didn't figure it out myself.
BTW, the author of the paper, Dr. Wada, also created the Happy Hacking Keyboard.
I'm starting to write TILs (Today I Learned). At the beginning of the day, I open up a markdown post, then proceed to write whatever I'm learning that day. It's not very polished or finished, but I publish it on my site at the end of the day.

I've tried writing blog posts before, but there was too much friction, as I was trying to write for a fictitious audience.

TILs help me write for a specific audience - me.
The Conservatives set back the possibility of having single-payer universal health coverage by taking "Death Panels" off the table. In fact, the only way it could possibly work is to only cover standard cost-effective treatments to benefit the most people for the least money.
WebGL Skeletal Animation using small modules [tutorial]
Serena Williams is joining the SurveyMonkey board
Well, all it checks is that you modified the base case to look like one of the two other cases. That doesn't actually tell you if you resolved the conflict though, just that you copied one of the cases over the base case.
Out of curiosity (and with the danger of hijacking this thread as a stackoverflow discussion), I changed the awk code so that it could be used with GNU parallel - the "reduce"-step is essentially the same program as before:

(cat ngrams.tsv \
|parallel --pipe awk -f map.awk \
|awk -f reduce.awk )
max_key: 2006 sum: 22569013

This now runs in 17 to 18 seconds... :-/

$ cat map.awk
{ a[$2] += $3 }
END {
for (i in a) {
print "ignore", i, a[i]
}
}

$ cat reduce.awk
{ a[$2] += $3 }
END {
for (i in a) {
if (a[i] > max) {
maxk = i
max=a[i]
}
}
print "max_key:", maxk, "sum:", max
}

[ed: However, there are faster awks than gawk:

$ time mawk -f sum.awk ngrams.tsv
max_key: 2006 sum: 22569013

real 0m2.826s
user 0m2.391s
sys 0m0.422s

mawk is (a little) faster than pypy on my machine.

]
I feel that this rebuttle is silly. Nobody outside HN (and similar) will understand what this means. And, even if they do, many users cannot afford to buy an iPhone (the only real competition) just because of one security flaw that might affect them. Even then, the opportunity cost of switching is not minimal.
MediaGoblin – Self Hosted, Decentralized​ Alt to YouTube, Flickr, SoundCloud
not capitalism as it defined in pure terms, or not capitalism in terms of how it always practically plays out? Can you point to a capitalist system that doesn't function like that? Can you lay out how buying regulation and manipulating market structures is not a core part of the incentives that a capitalist system lays out, and can you point out any practical ways in which you can protect capitalism from this particular pathology?
I'm disinclined to support even an ex- plagiarist and app fraudster. Besides, Dash requires me to go to a separate app to look up docs, it's much better to have them integrated into one's editor.
Early in the design, we have looked at various modes of proxy deployment and found that there are pros and cons for each. You are right that the sidecar model is not always the optimal choice, it's a trade-off (see the referenced document in the discussion). The sidecar is the least invasive approach with respect to Kubernetes and was the focus for the initial release. We'd be happy to hear arguments for a more centralized proxy model, and if needed invest effort into making it happen.
There is no indication that direct-to-consumer advertising of drugs improves health outcomes.

Do you have an citations to back that up? Because I do. And it's from the FDA.[1] I'll spare copying it all down and just leave these takeaways:

- FDA research, of patients who visited their doctors because of an ad they saw, and who asked about that prescription drug by brand name, 87 percent actually had the condition the drug treats. And in 6 percent of those DTC-generated visits, a previously undiagnosed condition was discovered.

- Only 7 percent of doctors said they felt "very pressured to prescribe" a particular advertised drug.

- According to the FDA study, a majority of doctors feel that DTC advertising increases patient awareness and involvement, improves compliance, and enhances the overall doctor-patient relationship.

[1]https://www.fda.gov/drugs/resourcesforyou/consumers/ucm14356...
I second this. I actually don't find it improving readability (maybe even worsening it for me) and the unnecessary diff changes aren't useful either.
Supply is the only way to get out of the problem facing US cities today, and it's entirely a regulatory problem:

http://marginalrevolution.com/marginalrevolution/2016/08/lai...

http://noahpinionblog.blogspot.com/2017/05/the-nimby-challen...
> Most of my work consists of reading text, thinking about it, running tests, reading the results of those tests

Vim is quite good at that too, you can set the make program and error format to execute the tests and easily navigate to the source of errors for example.
Tips to BBW Dating Sites – TopBbwDatingSite.com
It seems crazy that marketing takes up such a large percentage of expenditure, it's not only wasteful but also introduces perverse incentives.

How much do drug companies spend on marketing? I've only ever seen article mention SG&A which is an accounting catch all for more than just marketing.
There's a bazillion difference conferences for web developers. Why do you want WWDC to be one too?
> It’s no accident that every good paper includes the phrase “more study[1] is needed” ...

[1] read: FUNDING

Let's distinguish "science" -- the scientific method, the general advancement of human understanding over the centuries, etc. -- from "pork": institutionalized government funding, the establishment pursuing that, and all of the mundane, bureaucratic processes that ensue, and then the resulting hype, pettiness, recriminations, and sacrificing of ideals that it inculcates.

There is nothing wrong with science, although it may be harder these days to recognize it.

Pork, on the other hand, is approaching a singularity.
Mozilla and the BBC Team Up to Deliver Concert Quality Audio Over the Web
It is entirely someone else's elisp: https://github.com/nex3/perspective-el

If you don't need workspace specific buffers, eyebrowse[1] is a good (seemingly less buggy) alternative.

[1] https://github.com/wasamasa/eyebrowse
Yeah but by doing it oneself, one knows that it will work, or at least that if it doesn't work one won't have to sit through interminable conference calls on the topic of Why the Fact that It Won't Work Isn't Actually that Other Dude's Fault.
If you are interested, here's the emulator they use: https://alexaltea.github.io/unicorn.js/
I'd go so far as to advise aggressive use of the threading macros in order to remove visual nesting. It is much easier to read:

(def good-set-of-stuff
(->> stuff
(filter good?)
(map enrich)
(into #{}))

than it is to read:

(def good-set-of-stuff
(into #{}
(map enrich
(filter good? stuff))))

or

(def good-set-of-stuff (into #{} (map enrich (filter good? stuff))))
Similarly, if you use Western standards to measure economic metrics of China, everything looks weird.

China is still pretty much a planned economy, where the government is in control of major state-owned corporations. I wouldn't worry too much about the debts that they owe to the state.
I have a form of cystic fibrosis. I have made a long list of dietary and lifestyle changes. The current best source of information about that is a blog called Mic Eats.

In a nutshell, people with CF misprocess fats, wind up excessively acid and wind up with serious malnutrition. I got very picky about the fats I consume, aggressively addressed the nutrient deficiencies until my body worked more normally, and I eat a diet that compensates for my body's tendency to become way too acid.

I also avoid chemicals that bother me, avoid exposure to germs, etc.

I look fairly ordinary these days. It isn't obvious to other people that my entire life revolves around this. It is sort of like being a kosher Jew who eats only approved foods and so forth.
That is called Tor
A few thoughts since I worked for a biotech company.

R&D management sure as hell looks at the potential returns generated. I've been on projects where the company said "we're going to spend out $500M in R&D funds on this disease because we might actually make our money back. The other disease is off the table since we can't even break-even."

Yes, a lot of basic research is funded by the gov't, but that's minuscule compared to the funding the companies themselves put in. I sat in a meeting when a decision was made to move a promising compound forward. The investment? $400M for all activities post-phase 3. The NIH grants that supported the discovery? Maybe a few million?
> It's the perfect way for clueless js fanboys to write unmaintainable spaghetti code

So you are saying that Vue.js is good for experienced devs because it's flexible and lightweight, right? Then I agree.
MacOS desktops aren't isolated, they pollute task switcher and notifications. They are useful if you use trackpad for primary navigation and not keyboard.
No.... The USA has a lot more assets than just its military assets. EX: the gold in fort knox alone,a single USA asset, is worth 200 Billion dollars (or 1% of our total debt)

We really don't have that much debt, when compared to our total revenues.

We don't even have to halt everything at once. If we just get rid of the majority of our military spending, we would very quickly be able to pay off all our debts and then shut everything else down afterwords.

We could do it in 10 years if we really wanted, which is a very short period of time, as far as nations go.
I'm going to guess it's cystic fibrosis. Vertex sells Kalydeco for a specific CF mutation that only affects about 5% of patients.
Absolutely, but widespread disclosure does nothing to stop that from happening, and may actually enable less-sophisticated attackers to do things they weren't capable of before.
Try advertising on Reddit. Volume on targeted subreddits is super low. Volume on the site in general is only good for very niche products.
I forgot where I read that, but Bernanke said that most of their debt is internal, so not as bad a problem as it sounds.
Ask HN: What's the learning curve like for AWS Lambda?
I'm starting a new web API project and am considering using Lambda, but my knowledge of it is limited. I'm worried that the coding will be hard, or at least the learning curve will be. I'm also worried that hiring Lambda developers will be hard.

I'm attracted to it so that I don't have to constantly fiddle with my AWS configuration to avoid wasting reserved instances.

I'm also attracted because of the potential to make a lot of the complexity of scalability go away.

But I'm scared of Lambda because it's so weird. I don't know what I don't know.
another quick question: in general, would it be considered ok to find recruters (and maybe employees from the same team that's hiring) on LinkedIn and contact them?
Overall execution feels lazy. Can't believe someone funded this team at a series A at that valuation.
Open source: Easily test your iOS app on any screen size in your device
I don't know: perhaps that the company's structures work better for their core expertises, hardware, but software development, perhaps something that came somewhat later and lower down the hierarchy, doesn't work so well in that context?
i am curious where you get the quote from for each book.
See https://en.wikipedia.org/wiki/Tivoization

There's debate on whether the DRM imposed by the App Store qualifies as equivalent to hardware restrictions that prevent executing modified software.
Great point to call out. Also, Alexion uses about 21% of their revenue for R&D. So of the $500K they sell the product for, $100K is profit, $100K goes back into R&D and the rest is paying for expenses.
I use it a lot when writing functions with side-effects in JavaScript, as a sort of informal dependency injection. If I have a function that needs to do an HTTP request, I will curry it so that the outermost function of the service takes the HTTP service as its argument.
US government borrows money from the Fed. People (China) also buy Treasury bonds, but I think this is much smaller than the debt we owe ourselves.

Someone else can chime in with more depth, but basically the US government has been good about not borrowing too much from itself. I just hope we can stay rational as a country and this continues.
This is why, in git workflows with rebases, it's a good idea to create merge commits anyway, even if the master branch can fast-forwarded.

That way, looking at the history, you know what commits are stable/tested by looking at merge commits. Others that were brought in since the last merge commit can be considered intermediary commits that don't need to be individually tested.

(Of course, there's also the rebase-and-squash workflow which I've personally never used, but it accomplishes the same thing by erasing any intermediary history altogether.)
Thanks for the reply.

Certainly, though, you are using PyCharm vi emulation mode?

The interesting thing about your reply is that you focus on productivity/speed. And I think it's hard to argue (though I've seen people attempt to argue this) that time spent moving to/from keyboard is not so relevant considering software development is largely about thinking.

However for me vi-style text entry is not about productivity but about mental comfort. It turns your keyboard into more of a musical instrument and amplifies your ability to express what you want to happen on the screen. That's the case for me. That's why I asked about vi emulation mode, because that's what I think is the salient feature/innovation of vi(m).
The execution overall at Imzy seems lazy. Kind of shocked that a founding team that raised an A last October is folding in May. Embarrassing performance all around.
Have a look at "The Big Short" (the book, not the movie). Reading how clueless those idiots at those Rating Agencys were is fascinating. The had no idea, basically just rating every pile of horseshit AAA because they are dumb and have no idea what they are doing.
Classifying Phishing URLs Using Recurrent Neural Networks [pdf]
7 Alien 'Earths' May Be Swapping Life via Meteorites
clojure-model.el has clojure-align to do this. In spacemacs it is bound to

, f l

inside clojure buffers.
As a developing country, China has lots of easy productivity growth just by adopting current technologies on the technological frontier.

High rates of growth in developing countries, with the rate slowing as they 'catch-up' to more developed countries, is also what the bog-standard macro-growth model (Solow-Swan) predicts.[0] To simplify, developing countries will have lots of labour inputs and relatively few capital inputs. Therefore the marginal factor productivity of each capital input will be high. Eventually, as the economy reaches capital saturation, the marginal productivity of capital will decline and the economy will settle into a low 'steady-state' growth level, where real growth is largely the product of technological advances.

This is why I've always been puzzled by economic commentators who assume China will continue to enjoy 7-9% GDP growth rates forever. Although I'm not suggesting that there's "nothing to see here" in this particular case. China does indeed have a bubble (and massive oversupply) in its residential property market, mostly due to the stimulus deployed just after the GFC. It could make one hell of a pop.

[0] https://en.wikipedia.org/wiki/Solow%E2%80%93Swan_model#Condi...
Agreed, to an extent (though not every 'expert' is equally reliable). Two ways I look at it:

1) Generally, the nature of a bubble is that nobody knows when it will pop. People knew about the U.S. asset bubble in the mid-2000s for years, but even those not caught up in the bubble mass psychology couldn't accurately predict when it would collapse. The same was true of the dot-com bubble around 2000. You can be right that there is a bubble, but be far wrong about when it ends.

2) There was a stock broker looking for new business. He cold called 512 people (he must have been a quant); half he told to sell X stock, half he told to buy. The next week he called the 256 for whom he'd made the right prediction and did the same again: Half he told to sell, half to buy ... several weeks later he was down to 16 people. He called all of them and said, 'look, I was right 5 times in a row ...'.
Europe yes, America no.

We have two americas. Wealthy white people and the rest. The rest have a high birth rate.
> it acts as a deterrent

I'm pretty sure this has been thoroughly debunked. The only thing that carrying a weapon does is make it more likely that someone will die if an incident occurs. Not only because now there's a gun involved, but also because if the criminal's victims are armed with guns, then the criminal is going to be armed with a gun too.

> In fact, those two reasons are exactly why cops open carry when on duty.

What cops do and don't do is pretty much irrelevant to talking about the general public. They actually have the legal authority to do things like shoot people, or just to arrest them in general, meaning the presence of a cop (armed or otherwise) acts as a deterrent to crime already.

> This is the entire reason why the second amendment exists - to be able to protect yourself when the government cannot enforce and defend your rights for you.

No, the second amendment exists because it dates to when militias were common (in fact it explicitly mentions militias). I believe it was also meant as an escape hatch to allow another revolution if the US government got out of hand (which comes back to the whole militia thing). It was not intended as a deterrent for ordinary crime.
Then I'll point to the wide success of monolithic utilities such as systemd as evidence that consolidating typically helps long term.

Which is to say, not shockingly, it is typically a tradeoff debate where there is no toggle between good and bad. Just a curve that constantly jumps back and forth between good and bad based on many many variables.
Where/To Whom do you give money to online?
I'm curious to know who you give money to online.

Recently the Guardian started asking for money online, but not paywalling its articles. I am considering giving them money.

But, in addition to that, I already subscribe to one podcast, donate monthly to certain charities, support a patreon account, have supported friends and acquaintances through kickstarter, gofundme, and other crowsourcing tools.

In the past I have supported Open Source projects with one time donations, when they prompted me.

So I wonder, how do you give online? How do you decide to allocate your money for these new types of optional expenditures?
The zombie robot argument lurches on
I do a poor mans version of this all the time by keeping all files for a project in a folder. .url files for links, copies of emails, .sh scripts for terminals, aliases to other folders and files, etc. But this looks like a more polished approach.