skysight-inc/HackerNews huggingface dataset:
China can do things at a scale the West in general, and the US in particular can't even fathom.

I was in Tibet with some friends in October. At one point, our tour bus was detoured, because the bridge on our scheduled route wasn't big enough for it, so we drove a couple hours out of our way, and just happened to pass a 10MW solar plant. In the middle of Nowhere, Tibet. A thing we wouldn't even have seen if we hadn't had to detour down a dirt track road, still under construction (to the point that we had to stop and wait for the equipment that was carving the road bed out of the mountain face to clear enough room for our bus to pass). Who knows how many other such hidden infrastructure gems there are, down other roads that tourists don't get permission to use?

Later, we passed a seemingly endless convoy of dozens of fuel tankers and flatbeds loaded with construction equipment — all military green — headed south, as we were returning to Lhasa from Mt. Everest base camp. Doing some digging, it turns out this materiel was all accumulating at the Nepalese border.

See, just a week or two previously, Nepal had passed its new constitution, which favored closer ties with China over India. India, used to being Nepal's big brother and pushing it around, subsequently closed their border with Nepal — the border which, by treaty, was the only route through which Nepal could import fuel. Consequently, Nepal was starting to experience a ridiculous fuel shortage. (Talking with a taxi driver in Kathmandu a few days after having seen this convoy, the petrol rationing was down to 7L per family per week. Our flight from Kathmandu to Lhasa — about a 90 minute flight, going the long way, so people could get a view of Everest — was on an Air China A340, because they needed to send a plane that could carry enough fuel for the round trip, as there wasn't enough Jet A at KTM for the return.)

These convoys of fuel and construction equipment were waiting for a new treaty to be signed between Nepal and China, allowing emergency fuel imports from China. The purpose for all the construction equipment? The Nepalese side of the road that runs from Kathmandu to Lhasa was still destroyed from the Gorkha earthquake. The estimates I was reading suggested that, once the border was opened, the Chinese would be able to rebuild the road from the border to Kathmandu in about three days, and have fuel continually running down the repaired road as long as Nepal needed it.

China just happened to have the materiel on hand, in Tibet, to respond within days of India closing the border and Nepal going into crisis, with sufficient manpower, equipment, and fuel to rebuild a hundred-odd kilometers of mountain road in a few days and keep a city of a million people, and who knows how much of the rest of Nepal, from collapsing.

But they're completely backwards and corrupt, and have no idea what they're doing.
Your toe?

I'm only half joking. I wonder if a knuckle or something would work.
Which developers?

Not everyone is writing POSIX only code.
I don't agree at all with the new Thinkpad keyboards being garbage. The old ones were nice (maybe even nicer than the new ones) but the new ones are still the best laptop keyboards in the market at the moment.

The keyboard has no flex or mushiness. The keys have some resistance and a nice feel when depressing them. Finally the keys are slightly curved inwards so that the fingesrs easily find the centers of the keys.

Still, I've heard of a lot of people that don't like the new keyboards. Maybe there are different versions for different models? I've only used W530 and T440s.
Show HN: LocationManager – Location Library for Android
Humans are not computers with fixed rules.

You look at the scenario at hand and see if it makes sense to search this person or that.

I said it to someone else today, I'll tell you too: The law is not like a mathematical proof with exact rules. People with STEM backgrounds tend to think of the law that way because it seems to be all about rules. But it's not. It's about human judgment and gut feelings.
Building standalone apps from Pythonista (iOS) scripts
That's an excellent point. And Ben Thompson is super insightful as usual (I'm a huge fan of his).

I certainly do think the value prop to consumers for Zenefits' rule breaking was not very clear. However, I'd argue that lack of clarity stems from the fact that they were breaking rules in small and kind of sneaky ways, and not in a clear way baked into the core of the product.

If they were totally unappologetic about bending laws from the beginning - ie their pitch was more like "Zenefits lets anyone sell insurance and provide other services to small businesses, making these things more accessible and affordable" - then I think people would credit all benefit they get from Zenefits to its rule bending, and put up with a lot more of it.

Instead, Zenefits was kind of trying to have its cake and eat it too, which just pissed people off.

To be fair though, I suspect that creating an explicitly unlicensed insurance brokerage would be much, much harder to pull off than an explicitly unlicensed taxi service.
Homebrew is certainly not as good as a regular package manager you get in Linux.

It's actually better, for three reasons:

- If a library is not in Homebrew (which happens frequently when you are a developer ;)), you just install it into /usr/local/Cellar/<name>/<version> and you can use all the regular Homebrew tools (brew link <name>, brew unlink <name>), etc.

- It's much easier to build and distribute your own stuff in Homebrew, by providing a repository of formulae. I have packaged both Debian packages (distributed via Launchpad's PPA) and created Homebrew formulae. Packaging for Homebrew is much easier.

- Homebrew is packaging is decoupled from OS packaging/updates. This means that you can update a new application without having to upgrade half of your system. In Linux, you usually have the choice of: stable OS, outdated software. Up to date software, in-flux OS.
Not if you care about graphics or GPGPU programming.
The Aging American Farmer
Urubu is used in Brazilian Portuguese as synonym for ugly
I concur. It's excellent hardware with excellent features and excellent battery life.
StopLight Launches a Modeling Suite to Design, Test and Document APIs
I'm not very familiar with this issue but could you please explain how China can soak up $1T of LIQUIDITY when most of this $1T is, as I understand it, in bonds. Wouldn't this debt being in bonds mean that 1) there is a schedule of payments that have already been accounted for in the budget and 2) that they cannot "call in" the debt?

Certainly China could refuse to buy additional bonds that we put out which may impact liquidity but there are always buyers for US debt - Japan was the largest foreign holder of US debt just last year.
How much RAM do you need for gaming? However, I have 8GB RAM but the game hardly takes 4GB for functioning. One of my friends has 32 GB RAM but I think he is more paying for it. Is more than 8GB RAM needed for gaming?
Question for those running Linux on an Apple laptop:

If you had a hardware failure, did having a non-Apple-approved OS cause any problems when you tried to get it fixed?
Have you tried using an anti-glare (matte) screen protector? I haven't, but they're reasonably priced and it seems like an easy product to get right.
What does a 'true difference' mean? (retina screen) => (mediating factor) => ( more productivity / better eyes )?
Well, not by 'any' measure (as others have pointed out). Additionally, do you find Metal to be a wholly unique creation? It certainly 'borrows' ideas from other low level mobile GPU APIs out there...
If the law is never enforced, that's almost as good as it being repealed. Given the lack of any other effective mechanism for obsoleting laws, I would book 'this joins the thousands of other bad laws that are never enforced' as a win for anyone who thinks we could do without it.
>> "Just go to your security settings and click on “View completed document”. We have pre-filled the documents for you."

Services like these are part of the problem. They can verify that the service they provide is compliant, but nobody can determine remotely whether or not you are compliant with something like PCI. You cannot outsource compliance. It is something you have to actually do.

And fyi these "iframe" services that allows a merchant to opt for SAQ-EP rather than the longer SAQ-D, that might be going away in the next couple years. Merchants may have to go with a full redirect, not a frame, if they want to wash their hands of chd.
Mostly true, but you may want to look into Divvy (which makes it very easy to maximize and manage windows) and TotalSpaces2.

I'd rather deal with these issues and run a ubuntu VM for some things than deal with the cornucopia of crap that is the PC laptop market but hopefully some day that will change.
You don't generally get much inflation in a credit crisis so your points tend not to be the main issue.
I actually love Coldfusion as a product. I especially liked the SQL support build into CFML, makes it easy to build a webpage
Dell XPS 13 is an amazingly good laptop, very well supported in Arch Linux
Did you somehow just read the paragraph where he was disappointed with Lenovo, and miss the entire rest of the blog post where he was also disappointed with a bunch of other manufacturers?
I think part of it is that household income has increased overall - women now work more often and at higher salaries than they used to, and other goods have generally become much cheaper. The leftover part, "housing + disposable income" is a larger proportion of the overall. As a result, people pump more money into the 'housing' bit - individually, it's 'have a bit less disposable income for a bit of a nicer place'. But at a demographic level, it'd put a lot more money into the market.

Totally a gut intuition, not supported by anything in particular. Things outside housing have become cheaper. And most people consume their full income in some way - I just think that housing seems to be taking up the slack from other things being cheaper.
If APT fails catastrophically, your complete system could be in limbo. If Homebrew fails catastrophically (which never happened to me), the rest of your system is fine, you wipe out /usr/local and are up and running again in a couple of minutes (since most large packages are bottled).

By the way, aptitude does not really help you in the typical error case: a package (continuously) fails in dpkg-reconfigure, which causes the complete install/upgrade to fail.
If I were getting a new laptop right now, I'd get the Dell XPS 13 (2015). I get the post's sentiment though, but what really sucks IMO is not the PC/laptop market but mobile...
Another issue that seems to be a major hangup in my jurisdiction (which has banned Uber from operating) is the lack of "proper insurance" for Uber drivers/cars.
> The problem is people using R without trying to learn about the language itself

It's not the user's fault.

Like, congratulations on being better at R than the author of TFA. Maybe you're smarter than him, maybe you've put in more time learning, maybe you've just spent your time more intelligently, maybe you lucked out and bought better books...who knows.

But this line of reasoning completely misses the author's point, which is that despite having used the language for years, he still finds it inscrutable. "It would be easier if you were better at R" is a tautology, and unhelpful. The issue is that the author finds it hard to become better at R.

We can disagree as to whether or not it's objectively hard to become better at R, but this is a perfectly valid criticism to make. It's not the user's fault.
Are you referring to the "(100*drive-failures)/(drive-hours/24/365)"? There's no multiplication of total # of drives and # of failures in there.

It's all just a scaling: you have a number of broken drives in a corner of the datacenter in the wire bucket that says "broke during 2015", you count them, divide by total hours of that type of disk running (since they may have been brought in commission at different points), and then scale it so you get it in percent-per-year, not likelihood-per-hour.

It smells of someone explaining code, rather than illustrating an important engineering formula, but there's nothing wrong with the rescaling calculation per se.
Agree. I just don't understand why MS has to call it a Surface. It's confusing since there are so many different MS devices that are called Surface.
It is so strange to me that OS X has not adopted some kind of Divvy-like solution. Manipulating windows on OS X is a frustration to me.
Angular Services Are Just JavaScript Objects
Show HN: Stripe for speech to text (transcription API)
Well, sure. 'Literature' is used for all kinds of things, from classic novels to poetry to scientific papers. But in (non-specialist) bookshops, it's primarily 'classic/good fiction' with some other stuff thrown in. Those shelves are usually marked 'Literature', not 'Literary Fiction'...
I see you have a theory. So do the guys who write all these China crisis articles, but the empirical evidence proves them wrong and they don't care. They just write another article every six months. I'm sure I'll be back here in another six months arguing the flaws in the antiquated quantity theory of money.

Briefly, the problem is that you are only looking at the supply of money and not the demand. If China increases the money supply 2x and goods and services output increases 4x there will not be inflation and this has been roughly the case during China's economic expansion. A country like Venezuela or Zimbabwe that has falling output will have hyperinflation if they tried the same thing.
The 4$ smartphone
Some people are using their nose-print instead of a fingerprint. I'm assuming you can also use a knuckle or some other part of your anatomy.
Urubu is for Python 3 also, from a single codebase. The regression suite currently tests for 2.7 and 3.4.

Update: I see where the question is coming from - the Quickstart site suggest 2.7 only. Thanks - will update.
$1T is a joke for US economy. The fed pumped how many more than that with QE programs?
openGL was a good idea. But drivers were buggy as hell and every vendor was adding their own extensions like crazy.

Vulkan is the F-that solution. They removed most unifying abstractions, made the API turn the video card into a general computer and let the engine developers do the hardware compatibility layer instead of the developers, since they were doing that work indirectly on top of the drivers bugs anyway.

and wow, it is really exactly 200 lines.
After years of jumping at any opportunity to build up China as an economic threat.
The one I found had an Intel Core i7-5500U .. Which is not for power-users.

EDIT: Your guide[0] to intel CPUs

[0]: https://www-ssl.intel.com/content/www/us/en/processors/proce...
"US treasuries are at historically low rates -- if China dumped 'em all it probably wouldn't move the needle that much."

Rates (i.e. yield) and price have an inverse relationship. If China were to sell their bonds, this should reduce the price of bonds (i.e. increase their yield). So, regardless of what we think about the likelihood of this happening, or the magnitude of the impact, 'historically low rates' do not provide any backstop.
" if you have AppleCare they frequently replace it for free" - as long as you have warranty right? I had a issue with motherboard, the official Apple service center near my place quoted a replacement price equal to a new windows laptop with just 6 months additional warranty.
The API itself supports some very cool compute functionality, such as asynchronously scheduled compute jobs. However, this functionality only exists on AMD hardware (to my knowledge). NVIDIA doesn't support it in HW (yet), and I don't _think_ it's in Intel HW natively. I don't think I've seen it in any other compute API either.

I've seen asynchronous DMAs + command execution (copy engine) exposed in some APIs, but not asynchronous compute shaders.
No robot ever lobbied government for special exemptions to robot-owned businesses, which it then used to completely trash the economy while accumulating vast amounts of wealth, which it in turn used to strengthen its grip on government. Also, no robot ever argued that it must own every single thing it says for life+95 years or it will stop speaking.

The occasional malfunction is to be expected.
And that's exactly why I wouldn't feature reviews on my website / shop. It may work for Amazon, but I'm pretty certain most people bothering to provide a review for something as simple as a lightning cable had a bad experience. Nobody writes rave reviews for a cable that just works.
The push for R is enormous. It's not getting replaced.
40 Most Useful WordPress Plugins to Grow Your Blog in 2016
Facial Emotion Recognition: Single-Rule 1–0 DeepLearning
I also come from a coast city on the Atlantic and can fully relate to that.
I'll bet your employees hate ADP. I know I do. Would it kill them to make a useable web interface? It's not like we've been doing this for 20 years or anything.
I have been trying TLP but I failed to notice any significant difference in battery life... is it absolutely needed to tweak its default settings?
Looking forward to the next Linux Action Show which will have a review of the 15" Librem. Meanwhile Chris talks about the Librem on Linux Unplugged, haven't listened to that one yet.

http://www.jupiterbroadcasting.com/
It is heavily inspired by some Jekyll features, and I have tried to add recognition for this in the docs. However, it is not blog-oriented and it is in Python ;-).

The distinguishing feature is that the the website structure matches the source structure exactly, which enables a number of other features such as flexible ordering and wiki-links.
moreover, lock free data structures become easier when you have a garbage collector.
The break key sequence in the password recovery
From your link, hilariously relevant to the blog post at hand:

"First, scalar computations in R are very slow. This in part because the R interpreter is very slow, but also because there are a no scalar types. By introducing scalars and using compilation it looks like its possible to get a speedup by a factor of several hundred for scalar computations. This is important because it means that many ghastly uses of array operations and the apply functions could be replaced by simple loops. The cost of these improvements is that scope declarations become mandatory and (optional) type declarations are necessary to help the compiler."
It's still easy to avoid though. Just take a const reference to the vector and use that in the loop and pass that to the callback. It just requires discipline, and in fact less discipline than writing C.
The Xeon Ds have had a max of 128 gigs, or 37 bits of addressing, since they came out last year. For Skylake, they have bumped up the addressibility to 36 bits from 35 bits, which is where it had been for a number of processor generations. For the E5 Xeons, the amount of physically addressable RAM is at 46 bits, and has been for a couple generations. Intel's used addressible RAM for a while as one of their segmentation methods to push people towards their higher end if their usage is RAM heavy.
Designing and Implementing a Ranking Algorithm
> Yes, the crapware is unavoidable. but who doesn't ship with that?

Well Apple for one (unless you count their superfluous apps, but I find those much less intrusive)

I think the crapware is inexcusable. If almost every car manufacturer places a fresh pile of dog poo on your brand new car seat would you be okay with it just because everyone does it?...
The initial port of Genera to an Alpha matched the performance of Symbolics fastest workstations:

http://pt.withy.org/publications/VLM.html
"Version 1.0 of the emulator exceeded our initial performance goals, achieving nearly the performance of our high-end custom workstation."

An initial port to a foreign architecture (in-order execution, 64-bit memory space which is going to overload caches, inefficient 8-bit transactions) matched 15+ years of hardware development on the native architecture.

That wasn't lack of money or development. That was a stunning rebuke that Lisp Machines had an inferior architecture.
We've just given up on OS X for developers at my workplace. There are just too many little incompatibilities. Especially around clang replacing gcc messing with our C++ code, but also different revisions of various gems - especially browser testing - that cause hiccups. And then there's setting up all the ancillary services like databases etc. - not just once, but repeatedly, and reconfiguration when the arrangement changes. We can reuse many of our actual deployment Puppet scripts for setting up developer Linux machines; not so much for Mac.

Various utility scripts need to be written more defensively to run correctly in OS X with its ancient shell and BSD tools.

Overall it's just not worth the hassle, particularly when you need to ramp up new developer machines in minimal time.
Setting Up Java on Ubuntu Linux and Windows
It costs 251 INR to be exact. That's 3.654 USD as per today's exchange rate.

Specifications at a glance:

-- Android Lollipop 5.1

-- 4 inch qHD display

-- 1.3 Ghz Quadcore processor

-- 1 GB RAM

-- 8 GB internal memory, expandable to 32 GB

-- 1450 mAh battery

-- 3.2 MP AF Rear camera, .3 MP Front
Search on Google Scholar or directly on the journal website and copy/paste the url of the article you are interested in in the "search" box of SciHub. It worked for me 2 days ago while the search was down.
- you have way more packages on any Linux package manager.

And Homebrew tends to be more up to date then most distribution repositories. Especially if I want to have a stable OS.

Linux package managers do not mess with /usr/local as expected in a UNIX compatible OS. Homebrew does.

You can install Homebrew in another directory, it works fine.

Linux package managers are an integral part of the OS environment and update process

Which is bad. Application updates are typically tied to base system package updates. Either you use some stable branch (like Debian) stable and you are stuck with old software. Or you use some rolling release, but then your kernel, X11, Gtk+, or whatever could break.

Decoupling the installation of applications from the base operating system is a good thing.

- Aptitude, for example, gets rid of older versions of packages, while Homebrew keeps all previous versions and simply changes the symlink.

brew cleanup

...and old versions are removed and downloads are cleared. Also, you can add the --cleanup flag to upgrade and it will remove old versions. I prefer Homebrew's approach here, because it's easier to rollback.

While compiling from source is nothing wrong, it can take a lot of time depending on what you are building.

Luckily, Homebrew bottles most software that has long compile times. I have a MacBook with a Core M processor and install times have never been a problem (and I have installed Boost, Rust, and ghc, to name just a few larger things).
The War of Art by Steven Pressfield in 4 Minutes
The private sector has never been able to build enough houses, the last time we had a problem on this scale the state had to do it.

The rules for developers have already been relaxed but it isn't making much of a difference.
N.S.A. Gets Less Web Data Than Believed
For coding, I use a smaller font size now than I used before I had a retina display. It allows me to use a physically smaller laptop, which is a huge advantage when working on the train / on the bus etc.
Homebrew lacks many packages. Coming from Debian / Ubuntu, the package repository was always the first place to look when I needed some software.

MacPorts is more complete in my experience, but tends to lag behind Homebrew for the new and shiny a little.
No multilanguage support.

I do use autopulling for some websites, works great indeed.
Show HN: Write code in CodePen.io, and launch a website in minutes