skysight-inc/HackerNews huggingface dataset:
Suppose Debian decides to hire you as their new release maintainer. They want to ensure that bugs such as the OpenSSL one mentioned in the article never happen again. What actions would you take before next month's release to attempt to catch it?

I see from your comment that you might hire a team of developers to go through a critical path of important C/C++ packages checking for style violations. Any code found missing braces will have a patch submitted upstream to correct the errant style. Any package that declines the style changes would be removed from Debian. Any developer you hire that misses style violations will be removed from the team.

Another approach might be: Turn on the warning mentioned in the article and manually review any cases that come up. That still might generate a lot of cases, but it at least seems possible.

Is there another actionable interpretation of your comment that I'm missing?
BlockApps now on Red Hat OpenShift for Ethereum enterprise blockchains [pdf]
Just a pretty UI - although it's node-webkit or electron based I think.
Mobx: Simple, scalable state management
Eight Ways to Achieve System Stability
Microsoft’s Open Compute Gambit Pays Off
I agree. But your last example won't compile anyway. Though this would:

if (true)
foo();
else
bar();
baz();

But I have to admit if you ever actually do that, you have failed to fundamentally understand how your code is executed. No braces means one statement. Period.

In these cases languages which are auto formatted (C#, go-fmt, etc) likely have an advantage where these problems stick out more obviously.
Flux and Meteor harmony
Beyond invisibility: engineering light with metamaterials
It's not a ploy-- just a design choice. The cloud sync engine does a lot of heavy lifting so N1 is faster and efficient. It's also open source free software so you can run it yourself! https://github.com/nylas/sync-engine

(I work at Nylas.)
I think the key element is 'shared hardship'. Personally, I didn't see combat, but military life in general sucks; doing a lot of stupid stuff at the whim of others. I think you see this in other areas of life as well, sports teams, project teams meeting tight deadlines, etc...
Temperature is just a part of it. Light is another. And the populated part of Canada - being much more southern than most people realise - has light that compares to southern France, not to Scandinavia or Alaska.

Whenever I am back in Scandinavia I am struck by how dim it always is. Eternal dusk.
You are right, ease of use matters but it is so because ether was sold and got a lot of money whereas no such body exists in bitcoin. With that money ethereum could fund coding.

That is a good thing unless the whole point of the system is decentralization. This is similar to Amazon selling AWScoin and launching a SETI-like software so anyone can run their system as an AWS server & earn AWScoins.
"But the website that opens after someone clicks on an ad is often slow to load and not always optimized for mobile, creating a disjointed and frustrating experience for people. And website pages are only growing in file size. In 2015, the average website page was three times bigger than it was in 2011,1 and slow load times are a top reason people abandon a website."

translates to : "Let's keep the traffic on FB ..shall we?"
The larger issue is that the app stores are full of predators who are simply interested in stealing data and selling us ads. Actually finding useful apps is tough. For a long time I used ES File Explorer on android, a popular file browser, until I realized that the whole app is just lbuilt to scrape my data and show me ads. I now favor Ghost Commander, which only requires permissions to access my files and is GPLd; the latter seems to me the best indicator of not trying to fuck me over.
Hi folks -- I work at Nylas and would be happy to answer questions about N1.

If you haven't seen it, the code for N1 and the sync engine are both open source available on our GitHub: https://github.com/nylas
From ground zero? Python.
In cases where I have only one statement I often drop the braces, but I also drop the newline.

if (true) foo();
else bar();

Not much room for a confused baz() here, or so I hope.
Best Nuts for Weight Loss
The Strassler links are VERY good, thank you for posting. I'm especially impressed that he answers comments on the posts in detail, even "stupid" questions.
The list of dapps is remarkable... That was my first glimpse into the hackability of Etherium and I am very intrigued now.

As a total outsider to all this, I suspect you are right.

Bitcoin is very hacky, as almost all successful first systems are. Etherium is a second system.

First systems: By force of will you cobble together a viable prototype and if you are lucky it gets traction. Then it's an exercise in patching to keep the system running.

Second systems: longer dev cycles based on lofty goals for better architecture and features. Many second systems fail here. But if/when the second system gains traction, it's potentially a much better solution since it could learn from mistakes of the first system.

It's clear that the tools are better in Etherium for building block chain apps. It also looks like it's getting good adoption.

Like all things crypto currency it's interesting that there is money on the line. Bitcoin won't fall out of fashion as quickly as other systems for that reason.
I used to have a theory that you could tell where a fantasy author lived from the shape of their map. e.g. Maurice Gee's _The Halfmen of O_ --- good book, BTW --- has got the warm ocean to the north, with the snowy mountains to the south. He's a New Zealander.

Unfortunately, authors are way too aware of this now. I'm currently reading Jane Lindskold's Firekeeper quintet --- also really good --- and they're set on the west coast of a continent, called the New World, which was settled a couple of centuries ago by civilisations from across the sea to the East. She's American.
Zenefits (YC W13) Lays Off 17% of Workers to 'Refocus'
Heh, the title is literally "Squid Log".
What sort of "heavy lifting" does this do that Thunderbird or Outlook don't? Certainly they're both performant enough. And more importantly, is there any compelling reason to introduce a 3rd party server to do this instead of doing it locally for better user privacy?

I understand I can run it myself, however I have to question the design and motivations of the developers.
Related question. Is Django still a good choice for web apps? I mean should I choose one of the newer ones or is Django good enough?
Thanks for the clarification. He advocated stateless anyway, but the other limits you describe could make things hard and preclude any type of actor model.
Am developing two mid-size apps using DRF and Angular. DRF has proved to be quite easy to work with.
I don't think it is in anyway limited:

https://www.fbi.gov/news/testimony/facilitating-an-enhanced-...

As to the point about selectors, if a selector has an even remotely domestic terrorism related component, and is authorized by the FISA court, the FBI can and does see that information.

Edit: added qualifier about terrorism
I feel like that is a matter of personal taste and what your data sources are behind it. Flask makes it easier to do whatever you want, but you also have to do many things by hand, where Django has an included "right" way of doing them.

This recent HN discussion had many opinions and details to read through: https://news.ycombinator.com/item?id=11121355
He's saying Ethereum does similar things to Bitcoin, but the techniques to do them w/ Bitcoin were not understood from the get-go.
Isn't this post just asking for something that has already been implemented in iOS and in later versions of Android?
I'm not sure that expanding your statement to multiple lines is any less "useful". I suppose in certain cases it can make code much more verbose, as one line effectively becomes 3-4, which can make it harder to navigate.
This is the only item that I disagree with the Linux coding style ("Do not unnecessarily use braces where a single statement will do.")
Yupp indeed, hubris is not a virtue!

Even if maybe off-topic and too self-important - Joseph Tainter's writings might be interesting to anyone wary of the hidden complexities surrounding us:

https://en.wikipedia.org/wiki/Joseph_Tainter#Diminishing_ret...

Also an IMHO very insightful interview with Mr. Tainter on the omegatau podcast:

"Societal Complexity and Collapse"

http://omegataupodcast.net/2015/10/184-societal-complexity-a...
Information sharing greatly increased post 9/11. See my reply to the sibling comment.
> HD 3.5" floppy

It's slightly amusing to me that floppy disks were once called "HD", even though the abbreviation stood for high density rather than high definition.
Enable React Dev Tools for Chrome in Cordova App
A judge signing off on compelled speech and conscripted development of software is still unconstitutional (and specifically excluded under CALEA). If the government wants a back door in to the cryptosystems of private companies, they should pursue this through the legislative process.
No European solution on the migration crisis in sight
World of Mantra
The point still stands. The vast majority of this discussion is in the context of "should the NSA be able to do this to Americans" as opposed to "should the NSA be able to do this at all".
This is actually a worse solution. When speed reading code having control statements on their own lines is far more beneficial as you can at a glance, using the indentation, easily see what the flow of execution is.
The claim is actually 100 miles (161km).
No. That is not what I mean. If you look at my response to iainmerric you will see that I don't feel you should change code that is working.

This type of bug is largely introduced from someone who is going in and changing a section of code. My philosophy is that if you are editing a section of code, you should update the braces in that section along with your current patch. Over time you see a larger and larger drop in these kinds of bugs as people always, on my team due to the habit of fixing braces and a matching drop from outside contributes due to a larger and larger portion of the code matching the style guide.
Qualcomm CTO on Network Slicing, 5G for ‘Services’
Sending money to someone and having 99.9% certainty after a minute that the transaction is mined and will be in the chain long term.

Even though ethereum's 15 sec blocks are nowhere near as secure as Bitcoins 10 minute blocks, the fact that you can 4 blocks after a minute already gives pretty decent doublespend security, from a statistical standpoint.
It's an interesting climate over there because of the continentality plus the moderating influence of the lakes. For instance, I am from Minneapolis which is much colder than Toronto in the winter and also much hotter in the summer (in fact our record high is higher than Florida's record high, but I digress).
I am talking about broad mass surveillance not individual acts of espionage.
Literally a single page? Static content? No, Django is not what you want.

You want to hand-build and hand-tune that page.
How about this one

(true)
? foo()
: bar();
The Linux Mint Backdoor: How Bad Was It?
Incidentally that's the coldest temperature ever recorded in London.
Suggestion: If you can edit the title, the first two words at least should be capitalized.
Just download the mist wallet and mine on the test network which is what you should be doing if you are playing with it anyway.

https://github.com/ethereum/mist/releases
The argument for significant white space in Python goes as follows:

You need indentation for humans to understand the structure. Why do you also need braces for the parser to understand the structure when the parser can use the same information that your eyes use? You therefore avoid the possibility of the two signals contradicting each other.
People will make mistakes. Policy does not prevent that. Tools do.
This might fit in the "obvious" bucket, but Turing Robotics has no relation to Turing Pharmaceuticals.
While developing, you would do it either on the dev (local, not connected) or testnet. Both these are easily mineable (I have 10k's on both), so there is nothing stopping you to actually playing around and putting together a dapp without having real ETH in your pocket.

No expenses and you can play around all you like. When you want to go live, there is typically only a very small deployment cost.
The cynic in me wonders why the cynic in you seems to think public opinion has any sort of influence on government policies.

Remember how massive protests and objections prevented war on Iraq? Yeah, me neither.
8 Ecommerce Rules and Regulations You Must Know
Jobs haven't been a motivator for the farm economy for a couple of centuries. In 200 years, we've gone from farms employing over 95% to farms employing less than 3% of the population. In the past 50 years alone, farming improvements have supported a global doubling of the population while simultaneously cutting food costs drastically for nearly everyone.

If ever there was a triumph of modern technology, it's been the past 200 years of farming.
Not in much of the country. There have been a few unusually snowy winters in the past few years, but in much of the country you can go for years without snow. I've had no snow this winter, and it hasn't been below -2C. As someone else mentioned though, Britain is much wetter than Texas, so it's not surprising there'd be more snow.
So many people did that. I totally forgot about transforms. It's in the works to fix :)
Easy scripting language. And don't tell me about rootstock, it's not on top of Bitcoin.
I wonder if it would be feasible to add a -allow-python-style option, which would allow the use of some Python syntax in C++, like significant whitespace or `if a:` instead of `if (a)`

Cython is already something sort of like this.
I agree. I don't care much about if something looks good, but rather if it works well.
I don't see Moxie ever joining a company like Apple.
Well at least it doesnt cost more than their regular ads.

How To Create a Canvas:
https://www.facebook.com/business/help/1659484897658040
Braces don't prevent you from using single-line if:

if (ptr) { call_oldschool_thingy(ptr); }
Wikimedia Foundation Executive Director Resigns Amid a Community Revolt
There's a foundation that's a separate entity that owns the IP: https://www.cloudfoundry.org/membership/members/
In android, I get granular permissions requests. Some apps manage to function when I deny access which is pretty impressive. It's definitely heading that way on Android.
Because, by having both, you can have your editor auto-indent and then you get a visual indication of where implementation does not equal intention.
Report Highlights Threats Posed by Booming Private Security Industry
> Give me any ethereum use-case & I'll tell you how to do it with bitcoin.

I'm failing to see your point. Does the fact that things are possible with bitcoin make the technical merits of Ethereum less in some way?

> What I do not like in ethereum is the nature of origin of ether which makes it just an IPO coin.

The "makes it just an IPO coin" statement also seems to discount any of the technical merits of the platform due to your dislike of how the initial coin distribution occurred.

Disclaimer: I stand to benefit financially if the platform succeeds.
Nakamoto took careful steps to hide his identity. The creators of Ethereum have not.

That said, this is one of those "holy shit" moments for me. Once a DAC is running, there isn't a damn thing a government can do about it.

Or even its creator. It's like a creature let loose in the wild, or a virus with a checkbook. The mind reels at the possibilities.
"Oh yeah, you’ve been writing web applications everyday for the last five years. Great. Can you please go up to a blackboard and using chalk write out how to reverse a binary tree?"

Hahaha, I feel like this was taken directly from one of my HN comments.
I think that gofmt is particularly innovative, in the sense that it acknowledges that formatting is integral part of the language.

In the sense that a programming language is not only made to be parsed by a computer, but also read back by a human.
Does Ethereum provide any solution to the [ever growing Blckchain](https://blockchain.info/charts/blocks-size) ?
I meant news stories from real rather reputable newspapers, not from random blogs. Call it what you want. We just need objective independent research about that topic, opinionated one won't help general public nor the bees and other declining species.
Google, Facebook Among Those Preparing to Sign Court Filing in Support of Apple
Extra braces add visual clutter and reduce readability, especially when they mean a function no longer fits on one screen. So if there's a way to eliminate that kind of bug without having to add more braces then I'm all in favour of it.

(Personally my preference would be a linter that automatically runs on checkin, and refuses commits that do not conform to the style guide)
Maybe our taxonomy is wrong..
Maybe these insects should be considered part of the "plant kingdom" ?

Given that [certain] plants cannot survive without (these) insects, it results that (these) insects are an essential part of [those] plants.

Or, more grossly, (these) insects are actually part of the plant organisms.
For the plants they are a form of detachable reproduction organs.

The other way around:

Bees have external "organs" - the plant part.
The bees are part "animals", part plants - they need the plant "organ" for nourishment and they choose who the plant will mate with.

This way of looking at animals/plants has certain implications:

We can't just look at a peach garden without also considering the bees and other insects required for the garden's long term survival.
Why stop at bees ? What about all the other insects/animals who depend on these "unified" organisms ? Are they also
part of some sort of larger "organism" ?

---

See, the reason it is very difficult to address many of the complex problems that we have in the world today is because we use these taxonomy systems (in programming terms - "class hierarchies") - they define and limit our ability to grasp the complexity of the full system.

And somehow, we maintain these taxonomy systems without refactoring them, even though our understanding of nature has grown considerably after these systems of categorization have been introduced many years ago.

Just like a well designed class hierarchy leads to a clean and efficient application, so should the way we categorize things and beings in nature determine the overall health of the whole system.

It is rarely possible to come up with the perfect class hierarchy from the very beginning, since the problem is rarely clearly defined and changes over time, so we refactor.

We need to keep our class hierarchies in sync with the objective reality and the same should be done to taxonomy systems, otherwise "reality" doesn't quite fit in our neatly defined boxes of boxes of boxes of things, like Kingdom, Phylum, Class, Order, etc
I don't remember hearing about this backdoor. Can someone link me to the original article? The link in this is dead.
For Americans... yes, they do. With a few exceptions, Canada is north of the USA. So your average person who is not living in the northern US is perfectly correct in assuming that Canadians live in colder climate than they do.

For those Americans who do live in the northernmost tier of US states, Canada's climate is more comparable to their homes. But most Americans also think people in those states are living in the Arctic north.
Choosing a language
What would be the top three languages for developing a project like Turbo Tax? The subject has complex rules (like the tax code), and the output would be a legal document. Thanks!
Does it have anything to do with symphony used in D8? or D7 is the same bad?

I used D5/D6/D7 for a low-traffic site these years.
Probably the biggest thing is that it translates a traditional document-based data structure (mailboxes via IMAP) into a stateless, streaming transactional data structure. This allows N1 to be way more efficient and faster, and only load about 2% of the total data in your mailbox.

The sync engine is essentially an abstraction layer for IMAP/SMTP/MIME/etc. This architecture has become pretty common in the past few years: Mailbox, Outlook Mobile (Acompli), Spark, Cloud Magic, Gmailify, and many more run similar systems. Although as far as I know, we're the only one who has open sourced our backend.:https://github.com/nylas/sync-engine

We actually released the API layer before N1, and lots of developers use it for their own apps and pay us to run the infrastructure. If you're curious, the full docs here: nylas.com/docs/platform

You can pretty easily set up the sync engine and run it yourself, either locally or on a VPC, and connect N1 to that instance. We do this ourselves when developing, and it's the best way to have 100% control over the entire stack. More info here: https://github.com/nylas/N1/blob/master/CONTRIBUTING.md#runn...

There's a bunch of community developers than hang out in our chat room and can also give you some tips for getting started. You can join that here: http://slack-invite.nylas.com/
Only about 12% of George III Loyalists moved to Ontario or New Brunswick after 1783, and some of them later moved back to the former colonies while they still had the opportunity.
Was just discussing this at work. A good compromise would be to allow statements outside of of block-parens only when they are on the same line as the control statement.

IMHO there should be a -W to enforce this so those of us with -Werror on can catch it and burn it with fire.

Here at Google the style guide requires block-parens always.
As a former Gentoo-er: why not Archlinux?
It's always good to read about when someone recognizes the process for hiring devs is so broken. Does anyone know of any companies that are both attempting to do something about it, and hiring devs?
I remember doing this mistake back in college. Was required to program and demo the B-Tree backend for a mini database. Things were very well tested for tons of random sets of data but while waiting for the my turn to demo, added one line of debug print on an "if" statement which caused the now dangling statement to be always executed. This caused a subtle bug that the professor caught in his testing. Sucked because I had everything correct up to that point. Learned my lesson about last might changes and coding style at that point.
Most people don't have the resources, knowledge, or desire to replace their car's engine parts. Does that mean it's ok to sell a car with a locked hood, that requires a manufacturer-controlled key before the engine can be serviced?

No, even if they personally don't want to touch the engine, they turn to knowledgeable friends/family or pay a professional mechanic to do the work.

This unfortunately-common view that most people should never even have the option to do anything technical is insulting and maybe even monopolistic (it bans 3rd party repairs/parts).
I actually prefer chalk to whiteboards, but that's a remnant of studying math in college rather than CS. (Which, BTW, is one reason I've heard for my resume getting screened out before. Not the chalk thing, but the math thing. :P)
Same for me, had no idea even if I'm from Quebec.

Cool photo here: http://images.lpcdn.ca/924x615/201111/05/408611-selon-consul...
Wikipedia: https://en.wikipedia.org/wiki/Cyclone_Mark_V_Engine
How Harvey Mudd College increased the ratio of women in CS
> Opera is an ad company

You can actually put numbers to this. In 2015 Opera made 75% of its revenue from their ad business. Calling them a browser maker in this year is straight up false.