skysight-inc/HackerNews huggingface dataset:
Nah, it works almost everywhere (ignoring things like nim or make that treat them differently); it's not just a Go thing. Here's a random page I found advocating the style for js and css:

http://lea.verou.me/2012/01/why-tabs-are-clearly-superior/

And here's what codinghorror had to say about the style:

> This way, in theory at least, the level of indent can be adjusted dynamically without destroying alignment. But I'm more inclined to think of it as combining all the complexity and pitfalls of both approaches, myself.

Which sadly seems to be most people's reaction -- basically, it might be better, but I'll be damned if I'm going to have BOTH tabs and spaces in my files!

Oh well...

Spaces are obviously a workable solution, but there are two really big downsides: (1) it throws away information -- when should I insert or remove a indentation block of spaces? You can make your editor guess, but it won't always guess right, and you won't always be editing inside your properly configured editor. A tab simply says what it means and requires no editor trickiness. (2) The obvious inability to adjust the visual width of the indentation, though personally as long as it's not too crazy I'm happy with anything from 2-8, so this doesn't bother me. (I normally run with tabs at 4.)
Narcos on Netflix is also pretty good.

Pretty good is underselling it. I think it's better than Game of Thrones :)
Keep in mind though, that once your Layer 2 is hijacked, a lot of attacks are possible before upper layer security kicks in - things like browser redirection and exploitation are very common these days
Yeah, the teachers at my CC were better I thought too, perhaps because they were there primarily to teach and not to research. That and the classes were so much smaller which is great.
We know that much of a delivery network's cost is the last mile, but I'd be interested in the costs of the last 100 yards. Suddenly, instead of one driver/one truck per neighborhood per day it's one stop per neighborhood per day. They can stop once or twice in the neighborhood, load drones with packages and then drones do all the deliveries. If you even have a separate "loader" in the back, you can have the driver jump out and make the few targeted heavy package (20+lbs) deliveries.
Well, for one, unions have defined behavior in C, while passing pointers around and casting them randomly doesn't.

I don't know if this is the best example. Generally you see unions in C to cover "tagged unions", I.e. Those things that would be subsumed by algebraic data types in other languages.
You mean the Semantic Web? It's here.
Downtown Pittsburgh man accused of defrauding banks, individuals of millions
Yes, and folks are shifting towards React for the same reason. What's next?
Post-vietnam war the US became a lot more conservative. 1980's saw "trickle down economics" (giving money to rich people would trickle down to everyone, seriously), increased mandatory jail times, three strikes laws, increased funding for war against drugs, white flight from the cities to gaited communities. A lot of these trends seem to be slowing or even reversing a bit, one can hope.
I see nothing in the article about security in general. while 32C3 is ongoing too.
One of the problems with people who are in the violent gangster industry is that they are trapped there. The business which enables them to live is illegal, so its difficult to go to the police when they are forced to do things they don't like. If your competitor is providing a substandard product and undercutting your sales and putting you out of business, then there is no recourse but to shoot him, eh? In the legal world, you can go to a regulator and when he is prosecuted, he will be losing sales. Most drug takers I would say aren't really interested in funding violent gangs..

If drugs were legalised, then you might find it unpalatable that the same people were now providing the drugs legally and their past sins seemingly forgiven, but the incentive to commit violence is now a lot less, and things will change.

I don't know the history exactly, but after prohibition I bet the gangsters didn't immediately become peaceful CEOs of successful corporations.. but then after a few intervening years, the alcohol companies are no longer violent, so obviously something has changed.
Thanks for the suggestion! Going to look into Narcos
"The example application proved nonetheless that building an application without middle tier, based on AngularJS + MongoDB, is possible and very straightforward"

Making the minimal featureset in the article happen seems like a necessary but not sufficient condition to demonstrate that this technique is "straightforward". Certainly, if implementing that app isn't straightforward then anything more complicated is doomed - but reading through the RESTHeart docs does not fill me with confidence that things of realistic complexity will be straightforward.

For instance, the RESTHeart "security" layer offers your choice of two different not-remotely-production-ready "toy" identity managers; one that works from a file of usernames & passwords, and one that uses a Mongo collection of usernames and UNHASHED CLEARTEXT PASSWORDS. If you want something better? Well fire up the ol' Java IDE...

I'd also quibble with the entire premise - RESTHeart _is_ a middle tier. It's one that depends on YAML configuration rather than boilerplate code to accomplish the features used in the article, but it's still a Java app that deploys separately from Mongo.
Appeal to authority has failed you. This article calls for the use of reason.
Even better - invert the classroom and deliver the info via computer or video, so people can pause or rewind it. Then use the groups for the "homework problems" and individual attention!
From the responses to this stackoverflow question: http://stackoverflow.com/questions/1629685/when-and-how-to-u...

The protection only protects under some circumstances not all. So this demo still seems valid. Also the protection comes at a cost of extra code (and extra execution time).

This means to me that any IoT device probably does not have stack protection.
How can it be intrinsic if it's determined by external factors like supply and demand? And if value is determined by cost, how come people still want it when it's free?
On trickle-down economics:

It is true that rich people tend to fund things like large businesses, which then pay middle-class workers. However, giving them free money gives them no reason to actually use that money to fund more businesses. Why invest when Uncle Sam gives you an allowance?

Solid reasoning, terrible plan.
We use Checkpoint where I work and I am almost certain it does key escrow.
SuperTux v0.4.0 – first stable release since 2005
Ah, you hit it on the head. My neighborhood is full of these types, and that's the catch - you can keep your family together, but, just like happened to me standing at the ATM yesterday, the kids ride by on their hoverboards and you hear one of them telling the other how their dad had to go in to work (again) today - just like he always has to on Christmas.
Thanks; I hadn't seen that that page from Google and that's a pretty good idea to make that available.

You know what would be a cool idea: if Google developed a method of copying an Amazon Machine Image (AMI) to Google Cloud. That would give us an easy way to try out our same servers at Google without having to rebuild everything, as we do not use containers yet.
This looks really neat. Anyone also use these? Thoughts? I might get myself one.

Edit: Also, does this have gpg-agent / ssh support?
"I want a defined point at which the system is in a known good state or fail in some detectable way."

I think we're (as an industry) getting to scale and complexity of systems that warrants systems to heal themselves for a range of predictable and well-understood failure modes, in a way that doesn't require my manual interference.
If that's true, then it's odd that the article doesn't explain this. If anyone can suggest a more informative article, we can change the URL.

Edit: The AP appears to frame the story more accurately: http://www.usnews.com/news/politics/articles/2015-12-24/us-p.... Should we use this instead? It's rather short.
Nice site. That seems like a surprisingly fast depreciation rate. I would have thought Teslas would hold their value longer compared to other cars.
Well, in my opinion doing any sort of aligning-things by hand is pretty tedious. I tend to just use indentation and not worry about alignment in languages that don't have a formatter to do it for me.

E.g. I would write

struct Foo {
int bob;
string alice;
};

and not worry about lining up variables, whereas gofmt would give you

type Foo struct {
bob int
alice string
}

which is fine too but not worth doing by hand IMO.

But if you are, it's not too hard to know where to use spaces and where to use tabs, even w/o show whitespace. But it is true that this is more deeply more than most programmers want to think about indentation. :)
It depends on your priorities. If you want a pretty display with lots of color, fast updates, and easy visibility in the dark, e-ink is out. All-day battery life is more than sufficient for many watch-wearers who aren't interested in sleeping with the thing on.
I dunno about him, but I do something similar on one of my machines. I use an SCM SPR-532 USB reader with pinpad and an OpenPGP v2 smart card. More info and pictures here - https://grepular.com/Smart_Cards_and_SSH_Authentication
Be careful listening to that kind of stereotype. It's often promoted by natives who are outperformed economically by immigrants. That builds resentment and can have horrific consequences.

Finding moral fault in others is often just a way to explain their own lack of accomplishment.

Not always, of course. But something to be very careful of.
Maybe not trucks specifically, but I would imagine that having the notion of mobile or temporary drone launch points would help a lot during busy times - e.g. the week before christmas.

I watched all the major carriers sending out multiple delivery dispatches a day through my neighborhood. To the point that the bottleneck appeared to be concurrency issues on driver time (as I tracked a few packages through the various systems). For my family, many of the packages fell within reasonable drone parameters and a lot of them had a significant pause time at local delivery base (e.g. UPS truck loading center or post ofice). I imagine a steady stream of drones from a temporary drone base would help lighten this load. Imagine sending a semi-truck that operates as a drone base to a big parking lot, appropriately located to be in a delivery dense area. A handful of employees does piloting and battery swapping and drone loading, while a delivery truck brings packages to the temporary hub. When the busy and/or overload time is over, the truck can go back home, or on to the next place expecting an overload. It wouldn't take a lot of saved overtime and seasonal labor costs to make this a win.

edit: I would also imagine that a lot of driver time during christmas anyway is wasted on traffic issues, part of which are compounded by them! Drones wouldn't have this so much.
How were you able to snag that for $25k? I'm in the market for a new car and was looking at the accord hybrid but I can't find it below $30k anywhere...
Sometime between the start and the end, there's often a mandatory burn it all down step required to more fully satisfy either (2) or (3). Watching hundreds of MB of data getting written to my HD for an apt-get update makes me 90% certain that Debian indeed needs to burn it all down.

To their credit, they started really early. And burning it all down seems to be an increasingly better option for purely extrinsic reasons; the late mover advantage keeps increasing, and better and better options keep emerging. A LMDB-based refactor perhaps? This is probably a pipe dream, alas: Debian developers must have a hundred different programs that all build and extend forward the original "make it work" technology, to make it survivable. And that's really my final counter to your cute linear notion of ongoing improvement: the mold is set, and there are dozens of things bound up in what has happened.
Postgres 9.5 feature rundown
If you live every day in a meaningful way, does it really matter how many you have? I see a lot of people in my surroundings who are in a holding pattern waiting to start living the life they want and do the things they want to do. I get that the necessities of life often preclude achieving your goals, but I see a lot of ways in which those people could change their life to be more aligned with what they claim they want ... yet they don't, and I don't really understand why.

Don't see those remaining dots as a scarce resource, see them as an opportunity.
I can't compare to the tools you mentioned since I haven't done much PHP in the last 10 years, but for Perl, I would strongly recommend you check out the following (Most are from the CPAN):

* For a graphical IDE: Komodo or Padre or Eclipse with EPIC (great debugger support in those, since Perl 5's built-in debugger is pretty old-skool, requiring significant skill and experience to use effectively)
* For code quality/standards static analysis: Perl::Critic
* For performance profiling: Devel::NYTProf (seriously one of the best profilers I've used in any language)
* For test coverage analysis: Devel::Cover
* For benchmarking: Benchmark (core module) and friends
* A REPL: Devel::REPL or Reply
* On-demand debugging: Enbugger and Devel::Trepan
* Unit testing: Test::More (and there are many, many other Test::* modules for anything you can think of that use the same general testing framework as the basic Test module that comes with Perl 5)

And there are so very many others out there that to mention them all would take all day, but these are the ones I use and like the most. Of course, others may have their own preferences and I'm sure there's even better stuff I haven't yet discovered TIMTOWTDI and all
For a side project, there are advantages to choosing something popular. If you're building a side project to bulk up your resume, choosing something popular can help you land a job (as there are more available).

If you're just trying to learn stuff, there are more people to help you out and more answers on Stack Overflow.
'How DEA Agents Took Down Mexico's Most Vicious Drug Cartel', and how it was replaced with a similar organization within a week. Besides the drug money is keeping a number of western economies afloat.
Yeah, but it came with a bunch of free advertising at the time. Square also thought Starbucks would help Square launch new customer-facing products because of Howard Schultz's board seat, but that never materialized.

I think it was a good deal at first, but definitely wasn't worth it over the long haul. Square was betting that Starbucks would help them in exchange for subsidizing their payment processing, but Starbucks pretty much just stuck to the contract they signed.
I enjoyed the movie cinematography and music, but the plot was simplistic to say the least and the characters completely one-dimensional.

I was extremely surprised however to see a major hollywood movie portray the CIA as top dogs in drug trafficking (even if that connection was obscured by a little whitewashing).

Maybe things are changing after all.
> The reason for this is that our I/O is unbuffered, and we were reading one byte at a time in order to read lines. This changed on December 24, by adding read buffering for reading lines, vastly improving the performance of rred.

Why not use memory mapped files and let the operating system deal with caching in a way that is most efficient for that specific case?
that OpenGL code is written like this in LambdaCube 3D:

main = ScreenOut (FrameBuffer (ColorImage @1 (V4 0 1 0 1.0)))

or with depth + color buffer

main = ScreenOut (FrameBuffer (DepthImage @1 1000, ColorImage @1 navy))
Mentortainment – Be Now
Characterizing the SBM-20 Geiger-Müller Tube
This is surprising good news.

Took me three tries to read "defunds" properly, not as "defends".
RMS would probably resulted in a long rant about the inaccuracies of the term.
I went for the trim without navigation or leather, combined with end of model year urgency and I got several quotes from dealers ahead of time. It still took some negotiating.
Well, yeah, except this isn't about that. It's about the DOJ losing money on the deal. So they'll just keep it all, thank you very much, and defer state seizures to state laws, which I think you'll find quietly become much more flexible to cover this new income gap.

"the practice has exploded in recent years, prompting concern that, in some cases, police are motivated more by profits and less by justice."

In some cases?

"The International Association of Chiefs of Police (IACP) said in a statement that "this decision is detrimental to state, local, and tribal law enforcement agencies and the communities they serve.""

Not being able to rape and pillage their communities makes serving their communities harder.
My thought is to sidestep the impossible process of computing a value, by assigning a presumptive value, e.g., one dollar per copy. That way, everybody knows the score.

It's my understanding that a per-use presumptive value is how performance rights for copyrighted songs are handled. If your band plays "Freebird" in a public venue that does not have a performance license, the liability is a certain fixed amount regardless of the size of the audience, or how much beer got sold as a result of your performance.
Google Cloud is not just App Engine now. Its pretty much the equivalent to aws in features. Let me also say I have PhD in Cloud and big data (graduated in 2013), worked for Amazon aws, worked for an rackspace for year and half, I was a core contributor to OpenStqck for the products OpenStack Poppy and OpenStack Zaqar. I hope you his puts se more weight behind my statements. If you are interested to know the details and why Google Cloud is better that aws for 90% of products, reach out to me.
In practice, either the program was a money grab, or terminating it was. Public opinion has been that the program was a money grab, incentivizing state+local to aggressively seize funds under federal law, to get the "equitable sharing" kickbacks. Without "equitable sharing", states+locals have no incentive to seize funds to seize funds to send to the Feds.

We'll see what happens when the DOJ realizes how much of that $1.2B was driven by state incentives, and their dirty golden goose stops laying eggs
You might also like cloudflare's cfssl toolsuite: https://github.com/cloudflare/cfssl

I've reduced most of my cert-generating to just a one-liner and a JSON metadata file. For example: https://twitter.com/shazow/status/582262725683777536
Medical student bridges hiphop and mental health
One of my favourite use cases for my Pebble Time requires wearing it whilst I'm asleep: I use it as an alarm clock. I'm awoken by it vibrating on my wrist. I find this a much more pleasant way to wake up than a normal audio based alarm. Being able to snooze an alarm without having to open my eyes or reach out of my warm bed and without waking my partner is brilliant. I would be annoyed by a watch which I had to remove each night to charge.
The project is a fraction of the complexity of the Boston project. And in the advisory vote, Seattle -- in typical fashion -- rejected both options. So everyone gets the benefit of saying they voted against it.
https://news.ycombinator.com/item?id=8590347
App Store Optimization: Taking care of your users
How to Profit by One's Enemies – Plutarch
All police revenue should go in a pool at the national level, and be randomly distributed to all states.
"Protect and Serve" not "Loot and Pillage".
Jack actually walked out of the Twitter meeting where they were explaining the layoffs to the leftover employees. I'm sure he had an important meeting though.
I wonder how energy costs would factor into these economics. A couple of thoughts off the top of my head:

* drones run on electricity - they are less energy efficient than ground vehicles, but this can be offset by cheapness of electricity - particularly in areas where battery recharge could be done by solar or wind.

* The large banks of batteries required to make the drones economically efficient (I imagine it would be cheapest to have a couple sets of batteries per drone and swap them out to allow continuous drone operation, rather than recharging each individual drone) might be useful for secondary operations when delivery periods are slow - e.g. using the bank of solar charged batteries to power night operations when the next day's deliveries are going to be slow.

Similarly I wonder how having an army of drones out in the world might have secondary economic impacts for the operators:

* For a small power budget, the drones could be equipped with additional sensors to gather data on various things and provide a sensor stream for 3rd party purchase.

* the video information I would imagine they already stream back could provide all sorts of benefit - selling the video to the news if a drone is in the area of a newsworthy event.

* similar to the previous point, but for traffic info.
My grievance with this article was glossed over in one paragraph:

"In real life, there are a million ways to be nonconformist. You can be goth; you can be preppy; you can be grunge... "The brain is more complex than the model I looked at, and of course hipsters are more complex," he said."

Yes, there are a lot of ways to not be a thing. That's kind of important to note when you're making sweeping generalizations about a group of people who aren't like you. The title of this article is completely bogus.
I see the multiplicity of tools and libraries as a result to the fact that we have not yet arrived at a good stable solution for the unique problems that interactive front-end applications have today.

If we had good and stable solutions, new libraries and tools would have a very difficult time to get traction, just for the sake of being new and doing things different.

The javascript stack today is a reflection of the complexity of the problems it needs to deal with.

We can still use jquery and write code directly on script tags of html page, zero tooling problem and complication. Most front-end developers don't do that anymore because it does not solve the problems for developing complex web applications.

A clear winner may one day arise and dominate and simplify the stack, but it's also a possibility that the complexity and multiplicity of the problems the front-end deals with don't sustain one clear winner.
How to LD_PRELOAD JavaScript into native apps
That is why I am sharing my findings in detail at out local meetup. If interested to know more, just shoot an email to me at Obulpathi at gmail. Also see my another comment above.
Saware – arijit singh
You can buy a lot of advertising for $100k a day. More importantly, you can stop buying that advertising when the product doesn't catch on. Dorsey pulled the product in 2014 and is still paying close to a Super Bowl spot every month to advertise it.
Agreed. To help fight for the remaining dark skies, please check out the International Dark Sky Association at http://www.darksky.org
Who's "we"?
If you want to make an app with Angular and MongoDB with minimal code, I think Angular-Meteor is one of the top choices! http://www.angular-meteor.com/

This is one of the places where Meteor really shines, and it will also handle building your code, deployment, realtime streaming, etc.

[disclaimer: I work at Meteor]
This is not writing. Not in the conventional sense. It's a new art form.
The Python Datamodel: When and how to write objects
To be fair when I posted it autocorrect changed it to "defends" and I had to change it back