skysight-inc/HackerNews huggingface dataset:
If nothing in an application depends on some aspects of the behavior of a unit interface, what is the point in testing it?

You only need that sort of test in a programming language or public library, because you're publishing the behavior to unknown numbers of users, and it has to work, as documented. If they find too many things that don't work according to the documentation, they will correctly suspect that you aren't testing, and lose confidence.

But if some API is internal to an application, and no code depends on some aspect of its interface contract, then that aspect effectively doesn't exist.

It may happen that someone discovers this aspect in the documentation and tries using it. At that time it is either found broken, or found working. If it is found broken, it can be fixed. Or else it can be striken from the documentation (and another way can be found in the application code to meet its requirements).

If the aspect is found correct, or fixed to reflect the documentation, and is then used in the application, then that use constitutes a test. The feature is tested indirectly, through some regression test case which targets something in the application, which depends on that aspect of the API contract lower down.

If you design units with all kinds of detailed aspects in their interface contracts which end up not being used at all, and test all of them, it can be argued that you're wasting time: you're basically working on your library design hobby, at the expense of the project, which just serves as a vehicle for it.
Crime in SF: Looking Beyond the Stereotypes to the Numbers
> You want to assume people are inherently good actors, but that's not always the case.

Most people are... But reality is subjective, and the people you call "bad actors" in this case surely thought themselves "good actors." The problem happens when, in your good-actor zeal for righteousness (capturing bad-actors), you inconvenience a large number of good actors in order to more completely capture a small number of bad ones... and thus become a new bad actor.

(I believe this would be called "high recall, low precision" if you know stats or have done any machine learning https://en.wikipedia.org/wiki/Precision_and_recall and the goal is to maximize both, not just one- also see https://en.wikipedia.org/wiki/F1_score and https://en.wikipedia.org/wiki/Matthews_correlation_coefficie... )

An example of another (IMHO) "high recall, low precision" practice is AML/KYC laws, which find a very small percentage of bad actors at the cost of inconveniencing a large number of good ones (as well as missing some bad actors).
gitbucket is selfhosted... there was really no realistic way to mix them up
This is a really cool project, and I'm always thinking about doing something similar with RPi or other small computer. In the past, I had built my own x86-based CarPC for music/media/GPS/automation/etc.

However, the rise of dash cams are better solution for video as they are much cheaper, easier to install and run, and video is much higher quality. The cheap $45 dashcam has 1080p with 30fps, no need to buy 12v relay timer and deal with other power issues. Also the video on dashcams outperform the webcam attached to the RPi due to RPi's slow USB2 (we're talking 15fps at best).

For more complete and capable product, I'd suggest using something with USB 3.0 port, or possibly a used laptop, which provides enough processing power to record multiple videos at higher quality, and at the same time, has built-in battery, provide power management (using serial port/other hack to handle automatic shutdown and WOL for reboot).

Note: A lot of the functionality of CarPC has been deprecated due to mobile device/phone/tablets, but it's still fun to have a PC running in a car.
> That is, telling kids they should finish their vegetables because of starving kids in China was silly/stupid/moronic.

No it's not. It's about teaching kids awareness. Of not taking things for granted. Of appreciating their privilege.

The stereotype of Millennials being narcissistic and spoiled has a lot of truth.
No, the name of the game is composition. See ECS in game dev.
Why would I buy this over a laptop?
Except for the whole "run anywhere with a terminal", "high quality packages with decades of bugfixes" and "pretty much extensible in every way".

(I'm a Vim user myself, but I feel like comparing Atom to Emacs is a big... optimistic. People keep complaining about how slow Atom is, how much memory it hogs up, etc. I think it needs at least a few more years of maturation before being able to call it "the Emacs of X")
Math-heavy code tends to involve a lot of very similar algorithms, leading to a copy-paste-rename situation that isn't really helped by using a function.

As such it's incredibly common to end up with bugs from assigning to "x, y, y" and not "x, y, z" etc. Sometimes a clever compiler will warn you that you have done something odd, other times you'll be left to discover the runtime error.
Tim Sweeney: Oculus is treating games from Steam and Epic as 2nd class citizens
Its fine. I'm using it for: Go, Perl, NodeJS, Scheme, Bash, C++, and Rust.

You might have to add some of the syntax highlighting etc, but there are packages for most languages available directly in the built in package manager.
Well, strictly speaking he said "most of the things we’ve funded are mostly crap and largely worthless."

Which isn't that far off from the title -- but still, that just wouldn't have been click-baity enough, now would it. So they just had to tweak it, I suppose.
No, I'm talking about representing your real keyboard, in it's correct relative space, in your virtual space, so you can correctly use it in reality. If there was a front facing camera on the VR set, you would just pass the image of keyboard and your hands through when in that entry mode, but without that you approximate the keyboard position and the position of your hands (with extra hardware, or a leap motion, etc), and represent them correctly in VR so they can be used as expected.
I think the concept is awesome and I'm totally up for building one, though having looked at their Github it's pretty rough and ready right now.

On the one hand I think there is something cool about old school gardening and actually growing your own stuff. On the other, the geek in me wants to hack the hell out of it. One of the major problems I have every time I want to grow salad is that it gets destroyed by snails and indoor gardening solves the pest problem quite nicely. Being able to download an ideal growth profile for a particular seed would be great.
Routing? I'm just saying that OOP is as much of a perfect fit to GUI that Entity Component Systems (composition) are.
Write 'normal' text for example, also if you're including CJK-strings in your app it is kind of nice if they are not rendered as teensy or on top of each other.
Land value tax and state issuance of money and/or some kind of throttle on credit creation to try to get credit creation to track wealth creation.

Right now we have private banks issuing credit against (state blessed) land ahead of wealth creation.
Well, I'm no professional yet but I'm finding it pretty good coding in C while using the proper lintian together with clang, I also use the package script, which allows me to run the code from within the editor. If you give enough tweak, I believe it can be a pretty usefull IDE. Didn't try any gdb integration yet.
Spending more than ~12k stops being about basic transportation.

AKA if you buy a car for 20k vs 12k the extra 8k was not needed.
Yes I am looking forward to the camera especially and the quality and size of the screen for my aging eyes. @bithust do you use hands free phone dialing from a car? If so what car model and how is your experience with HFD?
A new look inside Etsy's scale and engineering culture
This is the first time I've opened a discussion about Atom where all the top posts weren't about how horrible and slow it is. Has it gotten better, or have people who know better just given up on this editor?
A lot of Vive games are solving movement by a combination of 1-1 mapped in the limited floorspace, combined with teleportation. It sounds like it is a pretty much nausea free solution.
Plus it's expensive both the goggles and the hardware it takes to run the software that takes full advantage of said goggles.

And that's also without the sense of touch, smell, balance, temperature etc. So it's only slightly better than watching a film in 3D and way more expensive.
Were all the various alphabet companies ever supposed to be going for big picture "moonshots"? That's the stated goal of the X Lab, but the other branches are for projects that have "graduated" from labs and are supposed to be producing revenue or at least real products in the near term.
So thats two pretty major bugs in iOS9.3 (the failing upgrade process for older hardware is the other big issue - and Apple are getting lots of support calls about it).

I really have to wonder what has happened to Apple's Quality Control. More money, more bugs?
Pre-merging when you look at the merge request is an interesting idea. Technically that will work but it will add complexity and use more resources. Feel free to make a feature request for it. At this point I think there is lower hanging fruit we can pick to improve performance.
> And the article is aimed at the general public, not gamers. That's why there is nothing wrong with Fowler's analysis.

I think we agree, but it feels like he's writing an article proclaiming "Tesla Roadster Isn’t Ready for the Mainstream" just because Elon Musk said that electric cars are going to be a transformational technology.

If the big takeaway of the article is "Bleeding edge product that isn't intended for the general public isn't ready for the general public" then I'm right on board with him.
Trees and hashes both scale to any size, it's about their performance based on how you access and modify them that matters.

Some collections of my files are accessed entirely hierarchically, others are not, I don't think I should have to pick a single paradigm for all my files.
The most fantastic thing about Atom to me has been the underlying technology-- specifically Electron, which is a novel combination of Chromium and NodeJS.

We at Nylas built an email app that originally was a fork of Atom, and now runs on Electron (which is evolving way faster). http://github.com/nylas/n1

I honestly think that Electron is the future of desktop software, and it all started with Atom. Hats off to those folks for continuing to invest in this project!

(also, zcbenz is a complete badass who doesn't get enough credit)
A program bundled with every copy of Windows, ever? Yes, that would be silly.
> This is true, but if everyone did this at once it would constitute a run on the bank and it would fall under its reserve ratio.

Yes, it would. So what? That isn't what stops bank runs from happening. What stops them from happening (now) is that people believe that their deposits are "guaranteed" by the government, so there's no need to go rushing to the bank and withdraw notes every time the economy takes a downturn. Before that guarantee was in place, there were indeed bank runs, and for the very reason I gave.

> the amount of money in the banking system is far far more than physical currency in print.

Yes, that's definitely true. And it's also true that most transactions, even for individuals, are not done in physical notes any more; they're done electronically (with debit cards or credit cards or wire transfers or whatever). So someone doesn't have to walk into the bank and withdraw their $100 in physical notes; they can do it any place, any time.
I recently switched from Atom to VS Code. Everything in VS Code just seems to work, and I don't have any of the high CPU usage issues I had with Atom.
IMHO, the easiest way for an engineer to understand "money" is as a network of debits and credits.

Forget theory, ideology, and politics for a moment. Let's focus on the mechanics of how things work.

When a bank lends money to a company, the bank and the company book corresponding accounting entries and money is created "out of thin air." (The bank is required to hold a minimum reserve balance, which they can borrow as needed from others in the financial system, or from a central bank).

When a central bank (like the Federal Reserve or the Bank of England) lends money to a bank, the central bank and the bank book corresponding accounting entries and money is created "out of thin air." Central banks literally click a button and create accounting entries.

When you borrow money from a bank, the bank books the corresponding accounting entries, and you probably won't record anything on an accounting program -- but your bank will keep track of all balances, to the cent.

When a borrower cannot pay back a loan from a bank, the bank writes off the loan balance, and reduces the borrower's liability by an equal amount.

The balance you have on your bank account is a liability on your bank's accounting books.

The balance on your credit card is an asset on your credit card company's accounting books.

When you buy something and pay with a check or a debit card, the financial system records all the necessary accounting transactions to update everyone's debit and credit balances.

The dollar bills you hold in your wallet are nothing less than 'certificates' indicating that the US government has a liability of the amount shown on those dollar bills, payable to the holder of those dollar bills.

In our modern economic system, the easiest way to understand money is as a global, mostly electronic network of accounting debits and credits, with balances varying as people conduct transactions.

For every debit there is an equal credit, and vice versa, so globally, total debit balances are always equal to total credit balances, and total debit transactions are always equal to total credit transactions.

Double-entry bookkeeping all the way down.

It is really quite something to behold.
Apple has also 2GB RAM for the new iPad "Pro"

Double the price tho
Thanks for the feedback. Glad to hear you're going with GitLab. If you have any idea's how to improve our SE Linux experience please let me know.
If the author is rejecting security concerns (as noted elsewhere in the comments) there's not much point in offering help there right?
That doesn't mean Microsoft needs to get involved. Generally speaking, entities that provide debt financing for private equity investments are the biggest suckers in the investment community.
It has gotten WAY faster.
You should know which part of the software lifecycle you're in and adjust your development practice accordingly.

When I first started my current startup idea, the product design was changing literally multiple times a day. I didn't even bother writing any code, it was all in pencil & paper notes & diagrams. Things have slowed down to about a requirements change every 2-3 days now, and I write code but no tests. If you spend 20% of your time fixing bugs and 80% of your time writing or rewriting features, tests are not the bottleneck; it's not an improvement to spend 50% of your time writing & rewriting tests so you can avoid the 20% spent tracking down bugs.

When I was at Google Search, working on a mature product with billions of users, every change got 100% test coverage, and you were supposed to break a test with every change because that's how you know your test suite is comprehensive. And then it went out through a QA department and full release process. But adding a link to the page then took 2 weeks and 600 lines of code, while adding one to my startup takes 5 minutes and about 3 lines of code.
If you want a really good example, the northern lights are a good one. The majority of the color is something you cannot see with your eye because it's too dim for the cones to pick up. A camera doesn't have this limitation.

See: http://www.space.com/23707-only-photos-reveal-aurora-true-co...
Well if your comment gets buried I do want to note that your perspective at least sounds reasonable, and your personal experience is worth extrapolating to a more broad experience or market potential. I've got my reservations about the 'revolution' that VR will be able to bring in the mainstream sense. I think the physical discomforts you mention are absolutely worth noting as a caution.

I'm not saying it's a great correlation, but some of the excitement regarding VR reminds me of other fancy, tech-oriented entertainment innovations that sounded interesting, but didn't quite pan out. Specifically the one where the movie audience was supposed to be able to have an effect on the story[1].

>"In another year, you'll see the pistol grip plus a seat with gyroscope motion control," Mr. Bejan said. "Two years after that, it will be virtual reality, with the goggles and gloves." (1993)

The purpose of mentioning such a whiff is as a reference point for my personal belief that people tend to like their entertainment simple and relatively easy to access. Great advancements in tech and media - successful ones/profitable/etc - seem to have been more about delivering traditional content in an 'easier' method of convenience. Netflix didn't revolutionize the business of making films, but rather the distribution. People are funny when it comes to art, no doubt.

[1] http://www.nytimes.com/1993/01/13/movies/when-the-film-audie...
A future where chatbots make personal conversation a costly luxury
I made my first android app, do try and let me know your thoughts
> In reality more often then not moving fast and breaking things will result in shipping scrappy software. This is because in the rush to get stuff out the fastest way time consuming things get skipped. Like user testing, automation, analytics, monitoring, manual testing - just to name a few.

It sounds like the author could use a dose of his own medicine. The first sentence contains a (common) grammatical error. The third sentence is a fragment. The second is nearly unparseable.
When you have a faster computer?
and most of that lending (money creation) is against land, not businesses. UK: http://bsd.wpengine.com/wp-content/uploads/2013/05/Sectoral-...
AFAIK it writes to RAM only.
also AFAIK the cartridge is ROM
Atom currently has more plugins, larger community, etc.

Ironically, both are built on ElectronJS: http://electron.atom.io/
Apple broke a fundamental rendering issue in iOS 9.2 - if you put overflow hidden into the body tag then it screws up the viewport.

Thousands and thousands of pages broke. They fixed it three months later.

Basically, Apple Safari support sucks. Why the hell is their web page renderer only updated in minor releases of iOS?
* for now
It is definitely not you, having issues as well, that's what has been keeping me from jumping the ship from Sublime Text.
> Already history has in a sense ceased to exist, ie. there is no such thing as a history of our own times which could be universally accepted, and the exact sciences are endangered as soon as military necessity ceases to keep people up to the mark. Hitler can say that the Jews started the war, and if he survives that will become official history. He can’t say that two and two are five, because for the purposes of, say, ballistics they have to make four. But if the sort of world that I am afraid of arrives, a world of two or three great superstates which are unable to conquer one another, two and two could become five if the fuhrer wished it. That, so far as I can see, is the direction in which we are actually moving, though, of course, the process is reversible.

-- George Orwell, letter to Noel Willmett (1944) [ http://www.thedailybeast.com/articles/2013/08/12/george-orwe... ]

And here's a scary thought: for the purpose of ballistics etc. it's perfectly sufficient that some black box machine can think logically. That is, logically and based on true premises and sanity - because maybe you could say people like Hitler or Charles Manson were thinking logically based on flawed premises they made up on the spot. There is no such thing as "sound logic" in a vacuum, after all, it's always based on premises, and the "super hard" sciences, e.g. measuring how long a piece of rope is, say nothing about whether you should lynch people with that rope or or use it to build a swing set.

The husband of Clara Immerwahr ( https://en.wikipedia.org/wiki/Clara_Immerwahr - I like linking it that way because I simply adore that name (you could translate it as "evertrue"), and because she makes the contrast to Fritz Haber even bigger ) may have been a great scientist/engineer, but that doesn't say anything for or against his opinions about whom to feed and whom to let starve (seeing how the invention he was part if is feeding billions of people now), or whom to use toxic gas on. It's more or less orthogonal, I think.

What I could agree with is "logically sound" being a placeholder for all sorts of things, intellectual honesty, reflection/debugging, honesty/transparency, reproducable facts, and so on, and all of that opposed to sophistry and marketing. But the premises play as big a role as the process IMHO, and crooked premises plus a logical process still equal a crooked outcome.
The game code itself is in ROM, so there's no risk there. There is some nonvolatile storage on the cartridge used to save games, which could potentially be corrupted. The save state is so simple that I don't think there's any risk of trouble from that, besides losing (or gaining!) saved progress.
Why Empathy Is a Bad Thing [video]
This is part of what Modern Monetary Theory has been explaining but it's always hidden in the public discourse.

The consequences of what money is in modern economies, are not well understood or accepted. I suspect that the possibilities that this open scare a lot of powerful people.

If somebody want to dig further in the rabbit hole, I recommend:

http://moslereconomics.com/wp-content/powerpoints/7DIF.pdf (this one is a pdf)

http://neweconomicperspectives.org/modern-monetary-theory-pr...
> He represents not only a rejection of the existing Reaganite establishment, but also a rejection of Reaganite foreign policy

This assumes he knows what a "Reaganite establishment" is. I get the feeling he is more of a bull in a china shop.

An aside: Does anyone else hate the blocking of copying the text? It is totally legal to copy snippets. I have to do ctrl-U and copy from the source. What a pain.
The dark side of digital finance: Financial machines vs. financial robots
Yes it is. Visual Studio for Linux also does the same thing and, unlike Atom, there's no opt-out.
New and Better Haskell Tute updated: code hiliting, corrections and sub-sections
The only thing that keeps me from using Atom, and I admit that this might seem trivial, is how much I hate the delay before the syntax highlighting loads. Somehow it's an immersion-breaker for me, and a deal breaker. Anyone know if this issue is being worked on?
IIRC Yahoo search is already a frontend for Bing. Acquiring Yahoo wouldn't change that.
That's not hedging. They are paying to kill Bitcoin.
I am honestly thrilled about VR. But it makes me wonder, if people are excited about the possibilities of VR, let's just wait for AR to mature and have things like Meta 2 (http://www.roadtovr.com/meta-2-development-kit-hands-on-coul...) or HoloLens (http://research.microsoft.com/en-us/projects/holoportation/) really working as advertised.

I feel that AR has even more applications than VR, although honestly when both will be sufficiently advanced they will merge. VR will eventually be AR with the external (world) "signal" turned off.
I desperately want someone to parody the montage sequence from The Departed showing Matt Damon double-agenting his way through police academy and Leonardo DiCaprio double-agenting his way through mafia initiation, except this time showing a cop double-agenting as a cab driver ... talking about stuff passengers don't want to hear, receiving calls constantly on a hands-free device, intentionally taking the long way if the customer looks like a tourist... with some sick Dropkick Murphys in the background.
Marketing Is Too Important to Be Left to the Marketing Department