skysight-inc/HackerNews huggingface dataset:
bullshit jobs (but necessary jobs)! every $100 toilet lid or $100K grenade launcher purchased by the military trickles down to hundreds of jobs that otherwise would not exist.

American capitalism is perhaps the most "socialist" society in the world.

Imagine the pandemonium and social unrest that would happen if we wiped out half of the economy that produces weaponry. Literally there would be nothing to do for half of the population.

It is the irony of being the world most efficient and productive society that it has to come with a built-in and pre-approved waste that acts as a channel to fund otherwise non-existing jobs. The genius is packaging this waste as "defense"

Edit: I am amused by the number of downvotes on the post. Looks like the HN crowd hates the idea that military spending provides actual jobs.
Rents in SF are crazy and unsustainable for long-term living. It's like people who pickup bottles for recycling or are Uber drivers to live in SF without a $300k/USD job. Nearly everyone there is living beyond their means (housing >30% of net income) because "it's SF." Also, the oost-of-living is much higher too.
> Copy my .thunderbird and offlineimap user profiles to my new host

Would you be paying for a web-based email client for all your email accounts, in order to avoid this transfer?
I find objectionable his “slippery slope” argument about pronouns and his calls for silencing disciplines with which he disagrees.
WhatsApp will stop working on MILLIONS of smartphones worldwide in 2020
Why should we avoid density? Societies get more urban as they progress. Density is the way of progress. That doesn't mean we shouldn't be smart and thoughtful about it, but ultimately density should be the goal.
This was my experience as a developer on a SOA team that provided APIs for the rest of the organization (a large regional healthcare system). Even changes that didn't officially break the API could break our customers in ways we didn't anticipate.

When I left that position, we were in the middle of an OpenShift (k8s) deployment, and one of the things motivating the change was the ability to more easily run separate versions of services for different customers if the need arose. Yes, this would put a lot more burden on us as the service provider, but it would also allow us to iterate faster while maintaining stability.
Ah, this brings back memories. I signed up for Caller ID when it was first available to me in 1994. Not only did I have the regular caller ID box, but thanks to a fancy modem that could interpret the caller ID encoding, I rigged a daemon to send a zephyrgram instant message with the caller's name and number to my Sun workstation at work.

I distinctly remember people being a bit unnerved when I'd call them back and say "Hey, I saw you called...". My girlfriend at the time was particularly disturbed that I'd know she called even when she didn't leave a message. People were used to treating unanswered calls as if they never happened, and felt a bit violated when you knew that they had been investing effort into contacting you instead of making a casual "what's up?" call.

It's very strange to think about such attitudes in the context of modern communication. :)
With electronic trigger you don't need impact primers, you can just put a very thin electric wire in each cartridge that gets hot when you pull the trigger and ignites the powder.

So you can make magazines that aren't possible with the traditional cartridges - like pipe magazines for strong rifle cartridges for example (hard to do with impact primers).

I'm thinking a long plastic pipe with cartridges inside that is attached paralel to the barrel. Then you just discard it with a button and put another pipe magazine under the barrel from the front. Should be fairly comfortable even with bullpups.

Additionally you can make a side port in the magazine so that you can load it with single bullets like with old wild-west rifles :)
Obviously it was a concern since the very first plastic item was manufactured. But who was aware this was a concern? It's only been in the last 5 years or so that I can recall hearing anything about it. And only in the last 2 years or so has it really risen to the level of concern for me. Maybe we are reading totally different sources that it has been on your radar for decades.
const realClientIpAddress = (req.headers['x-forwarded-for'] || req.ip || "").split(',')
const ip = realClientIpAddress[realClientIpAddress.length - 1]

X-Forwarded-For is appended-to for every proxy the request passes through. You want the first IP address, not the last one.

Example, if your app was on Heroku behind Cloudflare, the request will look like this:

IP: <Heroku's load balancer addr>

X-Forwarded-For: <Real user addr>, <Cloudflare addr>

Your code, as written, will be geolocating the Cloudflare node.
Yet more more proof of the adage "never fight a land war in Asia" ?
Came here to say exactly this.
Trying to quantify any positive effects on the country itself is completely pointless. It was never about helping Afghans.

Mission accomplished.
No, that is not what is happening. The too-big-to-fail banks were lending to the repo market, and hedge funds were taking the cash to buy more assets. Then the tbtf banks decided to buy treasuries instead of lending in the repo market and the hedge funds were SOL. It's the hedge funds that were the problem. When your fund relies on overnight funding for its existence, you won't last long.

From the article:

This [repo] market, which relies heavily on just four big U.S. banks for funding, was upended in part because those firms now hold more of their liquid assets in Treasuries relative to what they park at the Federal Reserve, officials at the Basel-based institution concluded in a report released Sunday. That meant “their ability to supply funding at short notice in repo markets was diminished.”
I'm guessing this is for teams who have an "open-window" setup.

I don't really think there is a market for this as a standalone service, however it can be something I'd experiment with if it came as a plugin to Google Meet (or another service that is used the same)
> C++14 is still the safest bet for portable code

There are supported versions of RHEL that still only support C++11, FWIW.
While I think you are largely correct, there's also a more general effect that contributes and magnifies this, the "women are wonderful" effect.

https://en.wikipedia.org/wiki/Women_are_wonderful_effect
PENN & TELLER: BULLSHIT S02 E05 Recycling
It's from 2004 and basically nothing has changed

Enjoy https://www.bitchute.com/video/j0Hd6UfA4MKo/
I would never claim that income/poverty is the root cause of obesity, as obesity poorly correlated with income in the US.

Obesity is prevalent in both the middle class and poor, with the middle class slightly leading the poor[1]

>39% of people ≤130% of the federal poverty line (FPL) are obese.

>40.8% of people 130 to 350% of the FPL are obese.

While individuals should be brought out of poverty for other reasons, it is not a cure-all for obesity. If anything can be implied by the correlation, it will make the problem worse, and the healthcare system should prepare for this.

[1] https://www.cdc.gov/mmwr/volumes/66/wr/mm6650a1.htm
Modern web development really makes me miss "copy some files to /var/www/html" as a deployment system. Or maybe a cute little `ln` shuffle if you wanna get fancy.
I think that's the GP paraphrasing, the real issue seems to me to be the fact that "du musst nicht" literally translates to "you don't have to".
>> First you assume that this project even existing is some kind of statement about how important it is; a connection I can't make myself unless I try to be extremely cynical.

That would be cynical, but I did not make this assumption. I questioned the justification of the high cost to maintain the project, not the existence of the project per se.

I did not doubt that people enjoyed the project but, again, I don't understand how a research lab justifies paying such a high cost to provide entertainment.

If the project could be maintained for free then I would not have any questions. But if a lab is spending $10k to keep a game running then yes, I have to wonder why.

I do think that the game shows up GPT-2's weaknesses. Do you really think it's "bile" or "cynical" to recognise weaknesses of a technology?

Perhaps I'm cynical to assume it's advertisement. I apologise if that's the case.

Note also that accusing me of bile is a personal comment that I think is unnecessary.
> $30 billion on other reconstruction programs
> Much of that money was lost to corruption and failed projects.

Back in HS we had a local veteran/father come in to our classroom to talk about things. What stuck with me the most was his experience with distributing aid funds to Afghan citizens. Apparently there was 0 accountability in this process: he would pick up a package of raw cash, take it to a school/hospital/whatever, hand it to some "in charge" person, and walk away. No contract, progress report requirement, or anything. Further, the recipient didn't even need to sign for the money, because of this he felt concerned that US Govt. might some day come after him on suspect of money mishandling, so he took pictures of him handing the money over to each person. He showed us the photos, but says the Govt. has never requested them, or any other confirmation that he didn't just pocket it all.
This functionality for Docker was proposed by NetApp (https://netapp.io/2017/06/22/snapshots-clones-docker-volume-...)

There was also a github issue with numerous people voting for it (https://github.com/moby/moby/issues/33782)

But for whatever reason, the docker team apparently decided not to build it. We still don't have a properly easy way to snapshot or share docker volumes.

So I came up with my own method.

Basically, you have to mount the volume and then tar the parts of it that you want snapshotted (typically your data directories). You can do this with any linux machine image. Here's an example (where "foo" is the docker container you want to snapshot):

mkdir -p docker-volume-snapshots && docker run --rm --volumes-from foo -v $(shell pwd)/docker-volume-snapshots:/docker-volume-snapshots debian:stretch-slim tar -czvf /docker-volume-snapshots/snapshot.tar.gz /var/lib/my_data_folder

Then, to restore the snapshot, here's what you do:

docker run --rm --volumes-from mysql8.0 -v $(shell pwd)/docker-volume-snapshots:/docker-volume-snapshots:delegated debian:stretch-slim /bin/sh -c "cd / && tar -xvf /docker-volume-snapshots/snapshot.tar.gz"

(Edit: Don't forget to start up/initialize and then pause/stop the running "foo" docker container before you run these commands to snapshot the volume)
If you need a deep copy you also need to write a copy() function for the object without RAII. (Although one could argue that that is still RAII, just without operator overloading.) But in any case, for deep copies, the copy code needs to be somewhere.

If you don't need a deep copy (which honestly you basically never need once you already have some container classes), you can pretty much always just use an unique_ptr or write a unique_handle class or something to that regard, which means you never need to write any of the operators.
Some CSS Properties You Should Be Using
Already possible in Windows [0].

[0]: https://docs.microsoft.com/en-us/windows/win32/api/processth...
She’d never seen a smartphone or heard a radio. She’s racing to catch up
AI is too big a term, Its like asking if there is a math bubble. AI is a lot of different disciplines.

There is likely a mis-prioritization of applications in the market.

You should look at bubbles in the context of applications, and perhaps dependent on strategy separately. Context ~ Health, AutoBI, NLP...; Strategy ~ unsupervised, explainable, deep, symbolic...

Another way to look at this is identifying Misery stocks. If the economy takes a hard dip, what will continue to be funded. Those are misery stocks. Some AI will survive misery at varying levels, others will not.
> This led to the development of the current one-time-use thin-walled PET bottle.

I'm drinking from thick reusable/reused plastic bottle everyday here in Berlin, even coke is sold in them, they still exists

> it ended up being more expensive to clean these plastic bottles

Which is a shame because what we save in $s now will cost us much more than $s in the future.

> It is far more likely that those marks come from handling in the bottle washing-, filling- and labelling machines where the bottles gang and rub against each other.

Could be, either way it's a sign they are indeed reused. Thanks for the link.
> What am I missing?

There are a couple of things. First off, academic funding for things like AI-capable clusters is a whole thing, let alone the support staff for them. This is difficult for a host of reasons, some good and some bad.

Secondly, this isn't about hosting files really, it's about providing a suitable environment to run the model in. You can expect a AI research lab to have figured out how to do training in a reasonable way, but what they have here is more of an inference in production problem. That's really outside the expected expertise of a research lab. In the old days you just wouldn't be able to access this simply. Today there are turn-key(ish) solutions with built in scaling; they used one - it scaled and now they are wincing at the bill.

This isn't crazy, as the google->google egress fees are not obvious.
FWIW - this is an argument against creating any new languages. "Just use what's there, or X or Y if you don't like it". We'd all still be writing assembly or C if this advice were followed.

If people didn't tinker and experiment and introduce their ideas into the wild, we would basically never make progress.
Please stop with these low quality articles. That's not on-topic HN material. https://news.ycombinator.com/newsguidelines.html
Volcker taught the world how central banks should reconcile their multiple, sometimes conflicting mandates to effectively manage monetary policy.

When he became chairman of the US Federal Reserve in 1980, the US was suffering from stagflation, or stagnation + inflation, which economists previously believed was impossible to have at the same time.

The fear was that solving stagnation by lowering interest rates would drive higher inflation, possibly hyperinflation, but conversely that raising interest rates to solve inflation would exacerbate the stagnation, possibly into a depression.

Volcker showed that focusing on and killing inflation by raising interest rates, even to extreme levels (briefly up to ~20%), you end both inflation and stagnation. For one reason, low, steady, predictable inflation, better enables businesses to plan, hire and invest.

And that has been central bank policy ever since (though they arguably mistakenly deviated from it under the latter part of Greenspan’s tenure). As Bernanke said, “He personified the idea of doing something politically unpopular but economically necessary.” It’s rare to have such an impact on one’s field, especially under such adverse circumstances.
This guy has written basically the same article multiple times (heroin, suicide, mass shooting). I can't seem to find the sites he is claiming to drive traffic to. There seems to be little to no evidence that these experiments actually took place.

It kind of seems like these pieces are elaborate adcopy/SEO for his company.
Does some part of my YouTube premium membership fee go to the content creators?
Jacques Mattheij's setup, I'm so sorry about butchering the name.
How Mind Control Saved Oddworld: Abe's Oddysee [video]
>it's the same transaction...

Actually, it isn't. The financial aspect might be equivalent, but look beyond the purely financial characteristics from your phrasing and you also relinquish any utility you'd have gotten out of the monitor in that time. Depending on number of monitors you have and other circumstances, that lends the transaction a very different character from the first.

EDIT: Downvotes without substantive replies or explations do nothing to further overall discourse.

I stand by my assertion that a classical collateral secured transaction is fundamentally different than a repo as described.

I'm open to having my mind changed. Just be aware, I don't look at transactions of value as only being financial in their entirety unless explicitly set out. Other forms of circumstantial value can and do emerge.
in a nutshell. .

- We went after the Taliban and failed to extinguish its power and reach.

- We attempted to equip and train afghan forces to defend and maintain peace in their own country and failed. I have several family members who have done numerous tours in the Middle East and they've referred to the Afghan "trainees" as "clowns" who don't care at all about what they've been tasked with doing. All they care about is getting a few extra dollars to give to their family.

- We spent a ton of money of economic development but most of it was siphoned off because of corruption.

- We spent a ton of money of additional reconstruction programs but most of that money was wasted because of poor planning and corruption.

- And we spent a few trillions taking care of the vets who fought in the war. Not sure why this on the list, since you would think we should take care of our veterans regardless of what conflict they fought in.

Despite all this money. . .

Still, life has improved, particularly in the country’s cities, where opportunities for education have grown. Many more girls are now in school. And democratic institutions have been built — although they are shaky at best.

To conclude, it would seem the Afghan people are just fine living under an oppressive regime in the Taliban, delight in taking the US money and siphon it off to their tribal leaders or families who are in positions of power and have no desire to be free or to even fight for their own freedom. The middle east has become a bottomless money pit and its time we get out and let these people fight their own wars and secure their own freedom on their own.
I would guess that if you look at the northern midwestern states (which were heavily settled by people from the Nordic countries) with a population around 5 million, most of them are as well run as Finland.
Mind your Logs: How a build log from a Jenkins leaked everything
> If you want to build a ship, don't drum up people to collect wood and don't assign them tasks and work, but rather teach them to long for the endless immensity of the sea.

...and after that:

- give them clear, measurable objectives.

- provide concrete feedback on performance.

- plan, update & communicate

only setting wishy washy north stars and visions is a fantastic way to drive your company into an unguided chaos.
The worrying rise of 'cyber-flashing'
Amazon Bid Protest on Jedi Claims ‘Improper Pressure’ from Trump
That's great news! I'll tell everyone the ladder is finally sinking! We don't have to climb anymore! The top is gonna come to us!
That won't magically make it feasible to manufacture such precise objects in space anytime soon.
I meant economically. We don't pay people to raise kids.
Am I not mistaken in saying that the USA has gotten the new afghan government to pay all the war costs in the form of issuing sovereign bonds?

Those bonds may stay outstanding for decades or even centuries, but if afghanistan is ever successful in the future, they will end up paying for the whole war plus interest.
China bans all government departments from using US-made technology
You're mistaking anti-religious-authority behavior for "anti-intellectualism".

Climate change is a long-term issue we absolutely should deal with, but the consequences of not doing as much as ideal are, while large, still normalish-distribution-bad, not apocalypse-bad. Too much of the messaging around climate change to date has been apocalyptic. Realistically, anyone who wants to create a bubble of actually constructive discussion and action in this area in a public forum in 2019 should ban all apocalyptic terms/discussion on sight, to avoid triggering a huge number of people who are offended by bogus apocalyptic claims.
I remember seeing the hearings on local television in NY about Caller ID. It needed state approval to be rolled out in NY in the early 80s.

There were two opposing but very emotional factions.

One was a women's advocacy group saying that caller ID was bad because if a woman hiding from an abusive husband or boyfriend needed to make a call to him, her location would be revealed by caller ID. (See https://books.google.com/books?id=3IATAAAAIAAJ&pg=PA47&dq#v=... )

A second group, also advocating for women, claimed that Caller ID would allow women to know who was making abusive obscene phone calls.

Of course, we have Caller ID now, and it's generally liked by all.
This already exists.

Windows had a janky way of naming threads before 10, but it has a supported API now.

The problem is that svchost is a host that runs a thread pool with various services being invoked as needed. You'd have to rename each thread every time you ran a function for a service.

That's probably more doable now with the supported API. The previous way involved raising an exception, so I can see why it wasn't done.

Seems like Windows has a more systemic testing problem though. We used to stress-test the crap out of various NT components back in the day. Don't know if the elimination of SDETs means there's no one doing that other than the NT perf team, which never did targeted stress.
A mid-size jet Cessna Citation has range of 5,100 miles - it's one of the most popular mid size jets.
There is quite a difference between friendship and approval-seeking, in fact one of the quickest ways to end a friendship with a man is to keep seeking approval from them.
It's also exactly what happened to John F. Kennedy Jr., though not entirely his own fault (he wasn't going to do it until his wife and sister-in-law pressured him to).
The problem is we want the Iranian people to stand up to the Mullahs, but if we press too much, they are a very, very nationalist people and will side with the Mulahs when push comes to shove for them.

It's a balancing act on a razor's edge.
I remember seeing something about a very low percentage of viewers being YouTube premium, but accounting for something like 40+% of revenue.
When microservices fail
Zephyrgram - that's a name I've not heard in a long time. For those unfamiliar:

https://en.wikipedia.org/wiki/Zephyr_(protocol)
I could tell a story around your work about how you are focused on the ultimate bottom line and how your efforts bring that clarity to the people around you, and I bet you'd eat it up.
The melting point notion is throwing you off -- manufacturing new aluminum requires way more energy than glass. The reason people will pay you to recycle aluminum is because of the huge differential in (electricity) cost between making new aluminum vs. recycling aluminum. The energy differential between making new steel vs recycling steel is about 2:1. For aluminum, it's 20:1. This is because making aluminum involves first melting bauxite ore, then running a shit-ton of current through it to perform electrolysis.
It's "set higher" due to egos in it.

I don't see any personal attacks in my comment, outside of the fact that my original issue was with how a culture of people I've encountered carries itself.
Israel ended up a lot safer, so it wasn't all bad.
Knowing a modern war costs $2T means there are probably a lot more effective ways to take out bad leaders (bribes anyone?). What if the future of war was simply monetary leverage - no more boots on the ground.

For example: Want to take out Mawlawi Hibatullah Akhundzada? Offer $40MM for the head. Has to be literally turned in.
The Pixel Art Masterpieces of the PlayStation 1 Era
While you could argue about:

> install packages for a single user

because of the security angle, Not allowing this:

> install multiple versions of the same package

is completely indefensible.

Who are you, package manager, to decide that I shouldn't be able to use different versions of the same package? Do you know more about my context than I do?