skysight-inc/HackerNews huggingface dataset:
Some cities already have their own grid-connected electric utility (the cities of Alameda and Santa-clara in the Bay Area, for example). But for a community grid to completely disconnect from the larger grid and still provide reliable service, it would have to recreate some of the redundancy inherent in today's massive complicated grid.

These batteries might help achieve some of this redundancy for an independent community grid, but the total installed battery+generation capacity would have to far exceed peak demand.

Another thing the grid connection gets you is the ability to charge your battery with cheap, but intermittent renewable electricity being generated at distant wind farms.

You also still have the problem of building, financing, and maintaining the local power distribution infrastructure in your community.
Could you find the most specific example you can of a large investment bank (or equivalent firm) being praised for manipulating the market? Specific enough that we can actually dig into what specifically they're being praised for doing?
Ask HN: What are some good resources to learn/implement local SEO?
So the best tech hub in Europe is - not in Europe? Figures. :)

True though, serious stuff seems to be happening with Israel. I even know of a growing number of US-based startups who've been raising parts of their rounds from Israel-based investors in the past few years.

Correct me if I'm wrong, my impression is that they don't have the anti-American nationalism and not invented here syndrome mentalities that countries in Europe seem to have. Big advantage.
Rogue Words from A to Z: Separating Siblings with Apostrophe S
Much better than the "ignore blogposts" meme.
I do have a name concern for this...

https://www.mozilla.org/en-US/firefox/hello/
so vegans are smug and proselytizing, and your non-vegan daughter goes around calling what they eat junk food, trying to get them to switch diets.

interesting.
You have economical influence over prices and I would argue, that ensuring that something is not there is much easier than ensuring that something is built securely.

But you are right, it is difficult.
> Why would things so south? The DOM API, while not very elegant

It's not just "not very elegant", it's highly inconvenient and horrendously verbose, and generally fails to take advantage of or correctly integrate with the host language as it's originally expressed in a restrictive and alien IDL.

> is very simple and straight forward

I completely disagree on both count, the API is neither simple nor straightforward, many tasks remain convoluted even with HTML5's additions of a number of long-awaited APIs (e.g.: repeatedly adding children at the start of a possibly child-less element) and the userland code is made unnecessarily complex not by a simple API but by an insufficient one (e.g. enjoy handrolling element-relative events delegation Element#matches is a pointless waste of API space).

And then there's the truly idiotic stuff added on top, such as the live nodelists which serve no other purpose than making implementations slower, more complex and event less integrable with the host language. Thank god the WhatWG managed to keep that garbage out of the new APIs they introduced.

> So you need some loops because jQuery hides that for you, so what?

So that means overly complex user code for no good reason but the base API being garbage. And jQuery does not "hide loops", that's just a side-effect of jQuery working at a higher conceptual level of manipulating nodesets.
Just a reminder that this is an instance where we are saying someone is engaging in "algorithmic HFT" from a house 4000 miles away from the trading venue, using what appears to be Excel and Visual Basic.
It's funny you're all surprised. I know him as a fellow classmate at MIT, not as a political figure.

That said I'm glad he's free to pursue his passions as a free-thinking individual and not pressured to do what his ancestors do.
> Is it really the best choice, or has someone done something cleaner in golang or c++11?

What does the language have to do with the program?

Hadoop is what it is because it's a complex problem with a fittingly complex solution. Simply re-writing it in your pet language won't somehow make it "better".
Expressivity to me is generally about code size, for a given problem does the language allow a concise solution to be expressed?

The more concise the solution the more expressive the language.

A language that supports 4*4 is more expressive than a language that only supports 4+4+4+4, languages that require more type information to be expressed are in general less expressive.

let add a b = a+b

is more expressive than

func add(a:IAddition, b:IAddition) -> IAddition {
return a + b;
}

where IAddition is an interface requiring the infix + operator to be defined, and the subsequent definition of said interface, where as a more expressive language will deduce the interface from the function.

Also the empty list can be expressed as a type...

class EmptyList
def empty?
true
end
end
My reading of the vulnerability is that you have some app with few permissions, that then triggers installing an app with many permissions. The user is presented with a confirmation dialog for this installation. However, the low-permission app can overlay a window on top of this dialog, showing any content it likes, and this window can be configured to pass touch events through. So the user thinks he is interacting with this overlay window but is in reality confirming the installation of the new app.
I think he was making the point that if something is permitted by the "rules of the game", then by definition, it cannot be a violation of the rules. And in the case of financial transactions APIs, the rules should exist as application logic. So if you're not supposed to place and immediately cancel an order, it should simply not be possible.

I could certainly believe that if it was one of the large HFTs doing this, they would have had the necessary wheel-grease to not get in trouble...
My favorites so far:

* http://aosabook.org/en/sqlalchemy.html

* http://aosabook.org/en/llvm.html

* http://aosabook.org/en/asterisk.html

I have no opinion on the performance book yet, however if you're interested the architecture, look at those books one and two.
Ask HN: What problems are you currently facing?
I am currently in the process of establishing a company builder. Essentially a company that systematically identifies problems and starts startups to solve them; lots of shared resources; an experimental approach.

I am always curious to talk to people and hear what they are doing, where problems arise and how technology could help them.

What problems are you facing? Where do you need help?
He is like the John Stuart of Fin reporting.
It is possible to do that without the variable assignment in JS...

[].forEach.call(document.querySelectorAll('div'), function(el) {
el.classList.add('new');
});

But I don't disagree that the jQuery example is easier to write/read/remember.

Though with frameworks like Angular or React I'm beginning to question whether we should ever be writing code like this at all.
With that I agree. There is of course caution needed when structuring incentives; introduce too much money in wrong places, and you can instantly lose the quality and motivation of people.

$5 per year could definitely work, though I believe it would still drastically reduce the amount of content Wikipedia has. A lot of really good stuff (and a lot of really bad stuff, too) is created by teenagers - the only large group that is both smart enough to meaningfully contribute and has free time to do it. And the one thing they don't have is money.
In fairness, what you're describing sounds like the same hubris behind New York City's START-UP program:

http://startup.ny.gov/
The idiotic VAT proposals were actually the fault of individual govs, not of the EU as a whole.

The EU plan was to exempt small businesses. But for god-only-knows what reason - I'm not ruling out petulance because they'd be losing tax breaks - some of the member states vetoed this.
Wow, that case in contrast to the current one actually seems absurd. Upon further research though they were cleared of any wrongdoing on appeal in 2012 [1]

[1] http://www.ft.com/intl/cms/s/0/e2f6d1cc-9447-11e1-bb47-00144...
“Hello” Is Facebook’s New Android-Only Social Caller ID App
Node/npm should get a mention. On a simple static website I've seen, a couple of grunt tasks end up pulling in over 14,000 files. And a hugely nested directory structure.

Part of it is the ... interesting ... idea that individual functions should come in their own module. Some npm modules are literally 6 lines of code. But they get packaged up just like everything else. There's no concept of having a stdlib or something. (Apparently node/v8/minifiers aren't smart enough to do a good job if you use a stdlib.)
The changes were necessary so that libstdc++ conforms to the C++11 standard, which introduced new requirements on std::list and std::string.

And this time they managed to do it without a SONAME bump, which is nice.
Placing orders that can't execute has apparently been verboten long before Dodd-Frank.
There is no way this is calculated on a 'fair' basis. There are around 3 million apps total between different platforms for mobile. This 1M number must be calculated counting versions of apps as new apps.
You were saying that the human body is built to last because it barely lasts longer than machines. But comparing the human body to a machine is fruitless; the ability to self repair and collect our own energy should allow us to last almost indefinitely, not a mere 80 years. 80 years is more like you would expect from a machine.

Those capabilities -- self repair and energy collection -- should allow many orders of magnitude greater longevity. The fact that they haven't indicates that those capabilities are not optimized for longevity. Ie., we were not 'built to last.'

We were optimized for species-longevity through reproduction, not individual longevity. The fact that we've existed as a species for hundreds of thousands of years is more like what you should expect from something that is built to last.
Ask HN: Why did you Not hire that candidate?
Was it more a technical reason? or a personality reason?
If you are into hardware/embedded, consider the Eindhoven regio (http://en.m.wikipedia.org/wiki/Brainport_(Netherlands))

It hosts Philips, ASML, TomTom, Shapeways, NXP Semiconductors, DAF Trucks and quite a few other high tech startups.
This is a very sad news, I was checking their website on a regular basis for updates...oh well at least they are honest instead of delivering an incomplete product with missing features. Hopefully someone else will take over or create something new with the same vision.
That Startup Show one of the first tv shows to launch on BitTorrent Bundle
I'd suggest WhisperSystem's Signal [0], it's currently available on iOS and Android [1] and open source [2].

[0] https://firstlook.org/theintercept/2015/03/02/signal-iphones...

[1] https://whispersystems.org/blog/signal/

[2] https://github.com/WhisperSystems/Signal-iOS
Microsoft Band: New Cycling Partnerships, Health Insights, Strong Updates
"the fuzzy end of the lollipop"? I can guess the context, but I have absolutely no idea what that analogy means.

EDIT: http://www.urbandictionary.com/define.php?term=fuzzy+end+of+...
http://www.pachyderm.io is modern alternative.
Docker is awesome, but you shouldn't be using blind base images. Use Dockerfiles, they're self-documenting.
Elixir/Erlang/OTP has a lot of useful stuff to say about testing, deployment, reliability, maintenance, and code quality. Ruby does too, but is constrained in various ways.

Honestly, websockets-as-first-class-citizen plus the E/E/O process model is a huge win, and one that Rails just won't have going for it.

That doesn't make Rails obsolete, but it's outside of its comfort zone compared to the new/old tech.
Explore the Best of Luxury
If only the data underlying this visualization were complete.
It will not last, as kibbutzes (examples of such communes) did not last in Israel. Ayn Rand has illustrated why in her book "Atlas Shrugged" with the example of Starnesville.

The reason is that people who are doing better than others (and who are forced by the communist _ideology_ to share so that everyone is equal), would leave the commune.

That is why North Korea and USSR kept their citizens inside the Iron Wall border. It "worked" only by forcing the able to their knees.
> It’s also worth mentioning that you can get Go-style M:N concurrency model in C by using Apple’s libdispatch.

Not so fast. That library is only available for OS X and FreeBSD.
https://www.youtube.com/watch?v=O-csYPQVaqA
You can totally push your chips in and yank them back. What you can't do is pretend to push your chips in, such that it is almost impossible to ever lose them, to bluff other players without taking any meaningful risk.
They already get money, just "screw you".
>"Snowden has created an environment where some technology companies are less comfortable working with law reinforcement..."
I'm pretty sure that the governments are the parties responsible for this environment.
That may be true, but it also makes what needs to happen obvious. When those tasked with representing your interests no longer do so effectively, they need to be replaced.

This, of course, isn't anything new or groundbreaking.
Just thinking/typing out loud here:

The've raised ~$92M (https://www.crunchbase.com/organization/digitalocean) so 92,000,000/154,000 ~= $600/"machine" if it's a physical machine and they spent almost their fundraising on hardware.

Seems like spending almost all of your fundraising on hardware could happen for a cloud computing company.

So could be 154,000 physical machines?
Often goals are: crank out X with programmers Y on deadline Z. I assume the client has no language/framework preference.

If X is a greenfield webapp and Y are not Haskellists yet (language has a steeper learning curve then, for instance, Ruby), and Z is very soon then I will probably choose Rails (given that programmers have some experience with dynamic languages and/MVC framework, and I'm fluent with Rails).

Notice that maintenance costs are not a factor. This is often not accounted for, but a large part of a webapp's costs are maintenance: and this is where Haskell shines: maintenance and refactoring.

Let's say I'm starting up, then low maintenance costs are of PRIME importance. You want to be able to keep adding/improving with a small team, not being bogged down by an endless stream of bugs only found on production -- nothing ruins flow like that.
I would, if the technology solved the problem, the workflow fitted our org, the cost of running it in production fitted our budget etc.
When I devised my format for laser scanning, I used
X, Y, Z, R, G, B
where X, Y, and Z are 4 bytes. RGB was 1 byte each, total of 3 bytes.

That's 15 bytes. So.... I'm 600% more optimized than Faro?
I think someone's off on their numbers.
We have been using MongoDB since 1.6 and has worked well for our applications and have not encountered any major issues that would motivate us back to using MySql as our defacto DB.

Knowing the limitations and behavior of Mongo can go a long way in avoiding some of the issues people have encountered.

Definitely looking forward to testing WT and RocksDB in 3.0, beyond performance improvements will drop our storage costs with compression and for a indie studio every dollar counts!
Forgotten Failures of African Exploration
Which makes the law entirely unenforceable unless the perpetrator is dumb / arrogant / ignorant enough to brag about it...
Wait for a few years and you will change your mind.
FYI - to highly ambitious people, just "living a comfortable life" sounds like hell. They wish to strive for far more, even if doing so is uncomfortable.

Decent, reasonable, comfortable - hardly the sales pitch you'll want to use if you want to attract or retain highly ambitious people. Do you?

Not trying to offend anyone, just consider that some people have much different desires than others.
I always thought it was a pint of Guinness....
There are some surprises if you go down that hole.

The best argument I could find for "disable root login" was "the attacker has to guess the username, too", which doesn't align with Kerckhoffs's principle and isn't the way security should be done, imo.

Also, fail2ban is a protection against bruteforce. If bruteforce is an issue for you, you're doing something wrong.

Please correct me if you know more.
A 70-year-old woman smuggle cocaine in her underwear,  rethinks 'Land of Rape
CQRS – The Simplest Introduction
Which frankly is the same thing that many Silicon Valley startups do, except the investors have far more experience, yet still put money in.

Frankly investing is a risk, and if you aren't willing to take that risk then you shouldn't do it. Not every Silicon Valley startup is a success, not every Kickstarter is a success.

It's just how the game works.
No, just started to use Yesod to do simple things. Then moved on to hard things. Sure I'm on relevant mailinglists and /r/haskell; but apart form that no special community forum helped me.
It's not clear that's relevant when piloting a cargo container on the Panama canal. If anything, the 25:1 mock up is problematic, because of time compression. The pilot will get acceleration and feedback that will be totally missing in the real Panama.
Haha
When the co's making money for the investors, the investors give a damn about anything other than the profit...
No, that's not true. Look at the video starting 35 seconds in. The user touching the "Confirmer" button is actually pressing the "Accept" button on the "App Permissions" dialog. But the user doesn't know that, because another window has been overlaid on top of the App Permissions dialog.
He's probably referring to a Market Maker Pegged Order.
Germany relying on France is not a bad thing at all. It is called European integration. We do it in other areas, too, because the benefits way outweigh the costs. They could for example crash our currency or stop to sell us food. We could not feed us on our own. Remember, Germany is tiny by US standards.

Somebody has to be the first mover. Once France follows, we will provide them with renewable energy of the finest quality.
You can't use Faye without eventmachine. Cable only uses faye-websocket though - https://github.com/faye/faye-websocket-ruby . Do let me know if you had any negative experiences with that. I don't know about the state of the things in the 1.9.3 days, but faye-websocket has always "just worked" for me.
Clicking through randomly, it seems that the armed victims were less likely to be killed than the unarmed victims. I wonder if the underlying data refutes that observation.
What would you like to know about my experiences? Please ask your questions, I'll answer :)
Docker Monitoring Part 2: Prometheus, Sysdig Cloud
I don't think you understand. She tries to teach them to cook good vegan food. She totally respects their choice to be vegan. She worries that they're eating factory food from a box rather than something more natural and healthier. She would never, ever try to make a vegan break their veganism. She will make them food that is tastier and more nutritious than what they normally eat, but is still vegan.
What it takes to be as great as Elon Musk – by Justine Musk
Many apps have come and gone as well. I know my enterprise app from 2011 is no longer in the app store after they failed to maintain it, but is likely still active in Crashlytics.

Excellent product by the way. Very polished even from early beta.
Must be VMs, not physical machine
I think you're wrong. I think most users are not installing trusted builds from their OS vendors. Piping curl to bash is incredibly common--many popular software packagers are doing it [1].

About a year and a half ago, I was playing around with Docker and made a build of memcached for my local environment and uploaded it to the registry [2] and then forgot all about it. Fast-forward to me writing this post and checking on it: 12 people have downloaded this! Who? I have no idea. It doesn't even have a proper description, but people tried it out and presumably ran it. It wasn't a malicious build but it certainly could have been. I'm sure that it would have hundreds of downloads if I had taken the time to make a legit-sounding description with b.s. promises of some special optimization or security hardening.

The state of software packaging in 2015 is truly dreadful. We spent most of the 2000's improving packaging technology to the point where we had safe, reliable tools that were easy for most folks to use. Here in the 2010's, software authors have rejected these toolsets in favor of bespoke, "kustom" installation tools and hacks. I just don't get it. Have people not heard of fpm [3]?

[1] http://output.chrissnell.com/post/69023793377/stop-piping-cu...

[2] https://registry.hub.docker.com/u/chrissnell/memcached/

[3] https://github.com/jordansissel/fpm
"And we now have some exciting news to share: we are running MongoDB on RocksDB in production for some workloads and we’re seeing great results!"

Some stats and a way to replicate would be nice here.
"if you ever tried to pull it off face to face, you'd be shunned by the community you're in."

This actually happened where I live! We have pedestrian mall where buskers can get a permit to perform. Most of them are quite pleasant, and I've paid a few. (Some are truly awful, but that's life.)

But one time there was a guy who was "giving away" CDs of his work. If you took one, he'd harass you until you either paid him some money or gave the CD back. There was a big sign that said they were free and he would shout at people about "Hey, I've got free CDs here!" He would even chase down people who took one while walking by! I'm pretty sure he was kicked out because I haven't seen him since then. But everyone who fell into his trap agreed it was a scam and that it was a crappy thing to do.
I don't even get the vitriol against generics - the designers have only taken a "not now" approach to the subject and everyone acts as if Go is a social experiment to get everyone mad about generics.

Then people bring Rust, which has only had a stable grammar for last couple months and a standard library nowhere near Gos. Would it be wise to complain that the Rust stdlib doesn't contain a HTTP server implementation?
Does that mean the free rider problem does not apply? If the argument is that it can't be handled with sufficient safety regardless, that's a reasonable one (albeit one I disagree with), but separate from the shared resource/free rider thing.

For the waste, I apologize, I didn't mean it as the usual "X is worse, so Y can be ignored." What I meant to say by that was that the dangers of waste are exaggerated, and it can be dealt with without a great deal of difficulty. The "generations to come" stuff is generally stated to make nuclear waste sound really bad, much worse than other things, but in fact that makes it a lot better than more mundane sorts of waste. The fact that we can deal with waste that is much more poisonous, generated in much greater quantity, and lasts much longer than nuclear waste tells me that nuclear waste isn't a difficult problem to solve (except for the political aspects). I don't mean to argue for not acting on it, merely that acting on it isn't a showstopper.
or use 'grep':

$ man grep | grep recursive
directory, recursively, following symbolic links only if they
Exclude directories matching the pattern DIR from recursive
-r, --recursive
Read all files under each directory, recursively, following
-R, --dereference-recursive
Read all files under each directory, recursively. Follow all