skysight-inc/HackerNews huggingface dataset:
I think the change is that Apple isn't closing the plant all-together.

"Apple made the previous Mac Pro in Austin, Texas, beginning in 2013. But with the new Mac Pro unveiled this month being made in China, Apple is "shifting abroad production of what had been its only major device assembled in the US as trade tensions escalate between the Trump administration and Beijing," The Wall Street Journal reported today."

https://arstechnica.com/information-technology/2019/06/apple...

That said, this all feels somewhat self-inflicted. One wonders if the tariffs on imports from China hadn't been put in place, perhaps Apple wouldn't have wanted to move production of this model out of the US.
OK, I'll bite. Why?
That is correct. Tor Project has really struggled with negative connotations in the media with the so called "dark web" so I believe the terminology does play a part.
Manufacturing jobs in the US has been on a long, steady decline[1]. My pet theory is that 1) people don't want these jobs and 2) people elsewhere (like China) are more willing to take manufacturing jobs because it provides a greater life quality boost there than it does here. What value does it bring for the government to subsidize these industries? Other than helping someone's chances in election cycles, I don't see the point.

I think the only reasonable way to stay relevant long term is for the US to forget about manufacturing and focus on intellectual endeavors. Focus on creating new technologies, exploring space, giving people greater mobility and less red tape. Just my 2 cents.

[1]: https://en.wikipedia.org/wiki/Manufacturing_in_the_United_St...
API Gateway gets expensive when things get busy. App load balancers also let you point methods at Lambdas though, so nowadays that's likely a better idea (and certainly more serverless) than doing the routing in nginx.
I didn't know you could do this. For anyone interested here's a simple CF template that illustrates this scenario [1].

[1] https://github.com/s0enke/cloudformation-templates/blob/mast...
I'm interested as to whether this has a quality impact, or if it is purely a marketing gimmick and tax thing.

I closely with the fashion industry in the UK, and one of the things that surprised me a lot was finding out that "Made in the UK", at least for clothing, meant lower quality. While we used to have great manufacturing expertise, that has all been lost over the last 50+ years as manufacturing was shifted overseas.

Now not only is getting clothing manufactured elsewhere cheaper, it's also better quality, going against what consumers typically expect, because we lost the skills that we had.

I'd imagine that the US has similarly lost manufacturing skills as operations have been outsourced. Does US-based manufacturing (of computers in this case) actually result in higher quality products? Is there any evidence of this? Or is it all just PR and looking good for politicians?
[meta] Please stop downvoting this. Clearly those comments were years ago and clearly the author has been doing the right thing for years since.
The simple reason is pharma wants to develop chronic use drugs or cancer drugs, and why would they want to make antibiotics that are carefully rationed, if profits are lower? Seems to me, we may need a socialized, international effort, an ISS of antibiotic development.
We’re Reducing Our Carbon Footprint
I was hoping the article would go into how one can travel without a phone. But it's just the "look at your phone less" story (which is also true, I totally notice it myself when I'm in situations where I can't look at my phone). The issue with this is that I don't know how to get anywhere (conveniently) or find public transport connections without my phone.
I'm with you. These kind of images stay with me forever, particularly at 4 o'clock in the morning.
What we need is curators to hand-pick for us what content to read. Much of social media is extremely bad at this, their "feeds" are one-size-fits-all so automated engagement-promoting algorithms can't do any better than just target the lowest-common-denominator. Even YouTube has had this problem for a long time, although it's supposed to be better now.
Python is kind of a strange beast - definitely imperative but with some FP-ish features: functions first-class citizenship, list comprehensions, generator functions/expressions (and there is the functools module). It is gaining more and more native immutable collections with each release. This multi-paradigm approach is what makes it one of the best glue-languages out there.

Python lacks tail call optimizations and recursion dept is limited to ~1000, so if your algorithm is not O(log n) or better you may have to convert from recursive to iterative (there is a recipe that makes conversion trivial) but other than that I'm content with its FP-style features.
"Web 2.0" was where the mistakes really started.
Of course the printing press was one of the forces that caused the reformation and all the wars that where caused by that.
Based on the price, I figured it was going to be made in outer space:

"When you look at how much the components inside the base Mac Pro actually cost, you'll be shocked at Apple's profit margin. But when you understand why Apple is charging you so much cash, you'll just be angry." [0]

"The top-end Mac Pro could cost $45,000" [1]

[0] https://www.zdnet.com/article/deconstructing-the-base-mac-pr...

[1] https://www.techradar.com/news/the-top-end-mac-pro-could-cos...
This is some SERIOUS misrepresentation of the facts. Just as an example: "One-third of the debt is money the government owes to itself". To itself? And whom might that be? Oh right, THAT'S US.

That money is owed to the people, and they're probably doing to need it. Especially considering that Social Security, Medicare, and Medicaid account for 36% of the federal budget - which is....let me do the math - one third.

https://www.thebalance.com/u-s-federal-budget-breakdown-3305...
One need only read the words "private blockchain" on the referenced page to interpret this as "not a consensus blockchain".

I agree it's misleading; people need to understand that the words "private blockchain" are meaningless in the context of what they probably expect Blockchain (the capital B being what is on the page, again) to mean.

I note that the link for "private blockchain" attempts to explain this. But no one is going to convince me they aren't using the term for marketing hype.
I'm betting the author of this has manic depressive disorder.
No... it's not the same as signed HTTP exchanges, which you'd generally use inside TLS, and involves signing all of the data in an exchange. It wouldn't work very well for streaming, either.

The important feature of the scheme that I mentioned is that there's no per-client encryption needed, except maybe a small operation on each client seek in the stream. In general, you just serve the file, and the file contents are self-authenticating against tampering.

You might use signed HTTP exchanges to push the first hash in the chain on a seek, I guess. Or just run it over TLS. Or just have a 64k block pre-signed at the beginning stream with the hashes of 2k chosen seek points that the client can store.
I think that you mean the Decorator pattern
https://en.wikipedia.org/wiki/List_of_public_corporations_by...

Microsoft, Amazon, Apple, Alphabet, Facebook, Berkshire Hathaway, Alibaba Group, Tencent, Johnson & Johnson, JPMorgan Chase.

6 surveillance corporations in top 10, 4 american and 2 chinese. If 6 out of largest corporations in the world were oil companies, we'd call it oil capitalism. If they were banks, we'd call it financial capitalism. It so happens that our age is the age of surveillance capitalism.
Brake pads? A garage can lift my car up, take all four wheels off with a pneumatic driver, and be mostly done in a few minutes; for me, that's a hand-jack lift of each corner of the car one at a time, with a hand and foot lug wrench to remove and re-fit 20 wheel nuts, then a trip to dispose of the brake pads, and several hours.

Framing it as "ignorance" and "voluntarily incompetent" is incorrect, I don't reject the knowledge of brake pad changing, I desire to avoid the work of brake pad changing. It doesn't need doing often, I don't have the tools and experience to do a good, quick, job (pneumatic wheel nut removers, or a car lift). I already have to get my car inspected annually (UK), and that's a perfect time for a garage to change things. Worse, if I screw something up by being inexperienced, I'm in trouble - I can't drive my car to a garage, and a tow would cost more than the work. Assuming I can afford it and am not on a tight budget, then were's the compelling reason to do it?

> improve their independence

An illusion. I can't legally run a car without a garage doing an annual inspection, I can't make my own brake pads. I don't become more independent by removing and replacing 20 wheel nuts.

> [improve their] knowledge

Brake pads need changing every ~24,000 miles, that's every 2 years of average mileage, or ~25 times you will use this knowledge in your adult motoring life. Rough numbers. (Electric cars with regenerative braking will reduce wear on brake discs and pads). Is that a priority thing to learn? The best available thing to learn?

But my point is not that it's a bad trade, my point is that framing it as "the only imaginable reason is wilful ignorance" is little more than a putdown, and it's wrong. There are other reasons. You're selling the Heinlein-ian "if you can't do Everything yourself, then you're not a Real Man(tm)" worldview with a slightly different wrapper on it.
Agree. In my previous project due to very tight schedule I had to find a better way to generalize the models which ended up using a lot of FP way in addition to OO way. In the project I was using Groovy which I didn't explore its FP potential before. Then recently I began to read Scala(A similar language but might be better) books and take course. I've used Scala but not very much. Because of pressure of the previous project now I understand how useful that abstraction can deal with so many problem beautifully by generalization of common patterns.

FP Makes Everybody Think Hard. Go METH! (Andrew Yang want to Make American Think Hard)
>Is this sort of a "if you don't make us pay tarrifs on component X, we'll build component Y in the USA?"

They're basically responding to these stories by WSJ and Bloomberg saying that they're moving production of the Mac Pro back to China. That was never confirmed by Apple and Tim Cook denied it when asked on an earnings call.

https://www.wsj.com/articles/apple-moves-mac-pro-production-...

https://www.bloomberg.com/news/articles/2019-07-23/apple-see...
The United States has a variety of techniques for making sure its business interests get what they want. Aircraft carriers are one (see Iraq, and possibly Iran if things go south), CIA-sponsored coups another (Guatemala, El Salvador), economic sanctions a third (Iran again, Russia, much of Latin America). Negotiation at gun point often takes the form of crippling sanctions until and unless a US-friendly regime is in power - there's no actual guns, but there's also no free elections.

Noam Chomsky is a great resource if you want to go deeper on this topic.
Look up petro dollar and how anyone who tried to build an alternative was overthrown or invaded.

The US will use all its might if someone threatens the stability and dominance of the dollar.
i can wiggle my ears at will... most of the population can't... thats a biological anomaly.

This is an entirely different thing then Racism. Know the difference. Let's not let political correctness erase our ability to state things we believe to be biological facts.

If I were to say that you are an inferior race because you can or can't wiggle your ears and therefore must have inferior treatment.... THAT is racism. But the fact that I can wiggle my ears... well there's no denying that this ability is anomalous as I am simply describing a feature of reality as we know it..
> You say that FB is using MySQL because "changing is basically impractical", but also say MyRocks "provided major wins", which seems to be a contradiction.

I think I must not be expressing myself clearly. 3+ year projects involving a large number of teams to get back to where you started are impractical. That's what migrating to PostgreSQL would be. Perhaps I should have written "switching from MySQL to PostgreSQL would be impractical"?
No, all you need to disprove this is to look at the achievement rates for beating a game. When barely 1/4 of people finish the game, which ideally is what a developer wants, the idea that players muddle through is a bit much.
Building an app is the new 'starting a band' (2012)
That defeats the point of the exercise. The fact that the information could be damaging is what makes it powerful.
In fact it is a bit more severe than that as you are effectively deanonymizing yourself. If everyone else is using a 3-hop circuit but your crawler is using just 2 hops, it wouldn't take much effort to isolate your activity in the network since you're effectively standing out.
Indeed, you could say the same thing about IG vs FB, it’s an empty criticism.

Also, curious why we always see these “Snap must regret not selling to FB for $7 billion” comments parroted so often? Snap currently has a market cap of almost $24 billion, and it’s stock price has nearly doubled since the start of 2019. Still not quite at their IPO price, but close. Seems like they should be very happy they went the IPO route?
This is the least important reason to maintain species diversity, but... Olympia oysters are delicious. Very different flavor from the dominant Pacific species. I'm hopeful there's a win-win here where we're able to improve the ecosystem that also benefits from a financial incentive.
Ah yeah, that's the unfortunate part of those communities haha. But every community has some of those. :)

When you say "conferences", do you mean academic conferences or industry/language-specific conferences?

I found that there were plenty of people deep into category theory at ICFP this year (an academic conference), but most of them had very reasonable perspectives on the utility of CT and things to that effect.
Only a century?

And some of the tropes Mr Trump appeals to are rooted in Sectarinisiam - don't forget the KKK started as anti Catholic.
If you want to introduce them to more DOS stuff. When I was young my daycare had a DOS computer with Space Quest III and Where in the world is carmen san diego.
You can probably get freeware versions of those.
Agreed. It's hard to read this post without feeling some sort of judge-y "back in my day" kind of vibe from it. Even if this person is young, it still gives that impression.

Different strokes for different folks. If you enjoy traveling sans smart device, go for it. That will never be something I do and I don't feel bad for it one bit.
> This happened when ~5C degree warming from millions of years of the Siberian traps eruptions caused methane hydrates to be released into the atmosphere, triggering another ~5C warming and the greatest mass extinction on Earth, the End-Permian Extinction, also known as "the Great Dying" where 96% of marine species went extinct, and 70% of terrestrial species.

That's a theory for what happened, but as I understand it the cause of this extinction has not been conclusively proved.
Ok fair. Elixir is nothing short of amazing.
Maybe that's how he got the job.
I wonder how long it will take until growing organs from the recipient's own stem cells is actually viable. There definitely is some interesting research, and it would completely circumvent the problems with the immune system.
> For example, when Mr. Zuckerberg met with the founders of startups, including Evan Spiegel, chief executive of Snap, and Dennis Crowley, co-founder of Foursquare Inc., he presented them with two scenarios: either they accept the price he was offering for their companies, or face Facebook’s efforts to copy their products and make operating more difficult, according to people familiar with the conversations. In both cases, after the companies rejected the overtures, Facebook soon after released features that mimicked the products from Snap and Foursquare.

This seems to be a critical bit
That's fair. We didn't have any particular problems with WiredTiger itself.
Snap Detailed Facebook's Aggressive Tactics in 'Project Voldemort' Dossier
Greta Thunberg: 'How dare you? You have stolen my dreams and my childhood'
Not just employees, there's basically financial incentives for anyone who holds facebook stock.
Vulnerability found in counter strike source
Is this related to the OpenAg thing that was discussed on HN earlier? Because as I recall, there were quite a few doubts about how that sort of thing would work.
Which part of that wikipedia article strikes you as characteristic of a "long, steady decline"?
It seems to me a bit narrow-minded to say that techno-utopianism stands or falls based on the effect of social media. There might be a bit more to the effects (for better or worse) of technology than that.
That's not what I've understood "stateless" to mean. Sure, anything more complicated than a calculator app is going to rely on data stored elsewhere, and in Lambda world that means you're reading from DynamoDB, S3, RDS or whatever. Those are definitely dependencies and that's where the state lies. But the pattern encouraged by Lambda is that your instance contains no state of its own. The disk is used as scratch for each invocation, objects are created for each request and not shared between them, etc. That's what people mean by stateless.
Everyone who runs a business, just like everyone in any other life circumstance, must balance multiple concerns at the same time. So, the need to make money, and the need not to be a jerk. They can and should overlap in the same individual.

We've gone through periods in our culture where we glorify greed and self-interest. (Commentary like yours makes me think of Reaganites or Ayn Rand.) We've gone through other periods where we acknowledge the need to band together. (Think 1960s hippies.) A functioning person probably needs both types of influence at various times of their lives. I get really tired of how many people glorify or worship the former and neglect the latter.
> this is textbook sexual harassment

Saying that doesn't make it so, you have to actually back your claim up with some reasoning.
My (Canadian) grandfather retired early (50-ish) and travelled extensively for ~15 years with my grandmother. I'm a bit envious of their ability to do so before the modern hoards of tourists and social media.

I was a kid at the time, and they'd mail me postcards from each new place they went.
Land is a type of capital, landowners could produce agricultural products, accrue wealth, and debt was a thing back in the day as well. Often projects would be bank-rolled by wealthy landowners or even royalty (who accrued their wealth by taxing others). Labour also used to be extraordinarily cheap (or free). Go back far enough, everything was produced by individual labour, and things were simply traded for other things.
Not only that, but the Nixon administration cut a deal with the Saudis to ensure that all OPEC oil would be sold in US dollars. This creates a demand for US dollars.
I would say that shaggy dog jokes are buffer overflows.
You left out the fact that nearly 2/3 of Americans are net tax recipients. Everything that the government does at all levels is paid for by either debt or the highest 40% of earners.
Chinese court offers bounties to catch deadbeats
Manufacturing employment has been on a long, steady decline. Manufacturing output is experiencing steady growth and has never been higher.

The US is the second largest manufacturer in the world and will stay that way for the foreseeable future. Giving up on it would be a huge mistake. What we can’t do is count on it to employ the masses.
Fresher data in your site’s Search Performance report
When you write modern software, most of your executable ends up being third party code for commonly done things, it's both wonderful since you can move fast, and a curse, because you inherit others' bugs.

My example with libcurl was very simple, but in real systems, things are less clean. You may be using a network tool that hides libcurl from you, and your code is being passed into a callback without you even knowing it until it causes a problem. Other places where C++ exceptions fail would be when you dlopen() a module, or one of your binary C++ dependencies is compiled without exception handlers. The code will compile just fine, but exceptions will be lost, there's not so much as a linker warning.

Google uses RAII just fine, it's just you have to be careful with constructors/desctrucors since they can't return an error. There's no way it burns 15-20% CPU not using RAII - where are you getting these numbers? I used to work there, in C++ primarily, so I'm well familiar with their code base.
Circumventing censored websites is a legitimate use. VPNs are more popular but the thing is that the VPN obviously knows who you are and what you're browsing. Tor makes you anonymous to the middleman as well. Tor wouldn't know if you're watching porn but a VPN would. By the way, that's not a recommended use of tor since you consume a decent amount of bandwidth (:P)
Hear, hear. I have a use case where I need to run some data extraction a few times a week that takes a few minutes and a few GB RAM to complete. I could simply squeeze it in on one of our other servers but that means the whole setup there would get slightly less elegant and would pollute the logs with weird load spikes.

Lambda is just perfect for such a use case, and the number of processing minutes makes it almost free.
I would walk my creditcard toa store and buy a new one.
A view to the possible habitability of ancient Venus over three billion years [pdf]
Out of all the product's in Apple's lineup, the Mac Pro is probably the one with the smallest price differential relative to competitors' products. Go ahead and spec out a similar workstation from Dell or HP: you won't see much difference in price.

Base price doesn't really matter to the buyers of these machines anyway, they're not consumer products. These are being used by professionals who generate revenue way in excess of what the computer costs, and stuff like enterprise support contracts (where you can have a replacement machine at your desk ASAP if yours dies, because otherwise you're losing money by the second) matters much more to them.

The articles you linked are just dumb clickbait using the logic of consumer product pricing where it isn't applicable.
>Agreed. It's hard to read this post without feeling some sort of judge-y "back in my day" kind of vibe from it.

And there's nothing wrong with a judge-y "back in my day" kind of vibe in itself...

Some things were better "back in the day" while others are improved today...
It's a back up. I planned my route at the beginning of the day. That alone is worth it's weight in gold even if the phone breaks or get's lost mid day. If so I'd buy an overpriced burner phone at the next town (although in years of traveling I've never just lost or broken a phone at a critical time).

I would never have made it to many of the places where I was at without a phone or at least some other GPS
unfortunately C# pattern matching is really only a glorified switch with destructuring that doesn't provide any level of exhaustiveness checking that is very helpful in maintaining code under conditions of change.
Hm, sounds interesting but looking at rates of entrepreneurship in Fig 1. amongst the top are (you can't really tell because they are so jammed together): Vanuatu, Yemen, Cameroon, Zambia, Uganda...I am not sure how smart it is reason about entrepreneurship in a developed economy against these nations (and the difference between rates within this chart suggest to me that most variance is going to be a function of income level).