skysight-inc/HackerNews huggingface dataset:
Hey, a rationale, something I seldom see in those debates :)

I think that if you do want to align, spaces are unavoidable. But I want to reiterate three points against alignment:

- Alignment creates a maintenance burden. It has to be updated whenever you touch unrelated lines, which creates whitespace noise.

- Some types of alignments (specifically, method parameter alignment) create extreme horizontal noise. See for yourself: https://github.com/pennersr/django-allauth/blob/c9b31ddee81d...

That stuff's ridiculous. Styleguides are meant to make the code more readable and maintainable - this is neither. Method calls can be defined just like arrays, where the first argument goes on a newline with a single added indent. No need to align anything.

- Finally, alignment breaks with proportional fonts. This is something someone else brought up on HN in another topic and I think it's a really good point; proportional fonts, like tabs, are an accessibility feature.
Shared spreadsheet in Google Docs. [sigh]
There was a big special on this on PBS Frontline.
What tools do you use for syncing the files? Thanks.
Why would you want to do that? In fact, isn't it much more convenient to be able to jump over one tab with a single keystroke, rather than 2, 4 or 8?
This is one of the cases where starting from scratch is probably the better choice. Uglify probably hasn't come near a stable because of the codebase in the first place.
You don't say....
You don't need to use "become" in Akka - you can just call a function blindly if you want. It's useful to have a distinct concept of "become", because it's useful to not have arbitrary invisible behaviour changes everywhere, but rather demarcate which parts of the system do what. (I mean, just imagine trying to debug a system based on this universal server).
I do not even give drool a version which suggests you can fork it and change anything including its name.
If you're looking for a metrics backend built on traditional Postgres, check out Tgres.

http://grisha.org/blog/2016/07/29/state-of-tgres-2016/
Python doesn't care either way as long as indentation is consistent (though there's a common misunderstanding that Python cares). However PEP-8 specifies that code should be indented using 4 spaces and editors should be configured to render tabs as 8 spaces (likely to make mixed tabs & spaces really obvious). But PEP-8 also specifies that code should follow whatever is the coding standard in a given project.

IOW, Python is actually far more pragmatic than most people (including most Python programmers) think. It just has a culture that strongly advocates following the rules (i.e. PEP-8 and PEP-20).
> I had a Pebble Steel (the original Steel) and it was great for a while. But when they introduced version 3.0 (I think?), which brought on the new interface I pretty much stopped wearing it. I'm not a heavy calendar user, except when it comes to work. The 3.0 update was based on the idea that users love using the calendar to schedule their days.

The reason I stopped using the original Pebble Steel was due to "screen tearing" issue. It happened on my watch before the warranty expired but I had no knowledge it was a hardware issue a few months after the warranty expired. Pebble refused to replace it and rather offered me a discount on their new products.

I feel it is completely disingenuous as they want to be put in more money into Pebble for something that is inherently a hardware issue. I am quite disappointed at Pebble. The worst part was that I had a sentiment value attached to the watch. It was a gift by my dissertation supervisor on my Ph.D.
> Some of the stolen passwords were encrypted with SHA-1, while 32 million were encrypted with bcrypt, Motherboard reports. The passwords were also secured with a salt, a random data string added to strengthen the encryption. Even though these passwords have now been dumped online, it does not appear that the encryption protecting them has been cracked.

Whenever I've seen passwords stored without a salt it's either because there is no salt or the salt is derived from the username. If it's the latter, it's only a matter of time till the specifics are figured out.

I'd be very surprised if there is a random salt for each of the SHA-1 passwords that's stored separately from the hashes themselves.
Don't align.

void my_function(
int arg1, int arg2, int arg3,
...
) {
> Without comments the only way the next guy has a chance to understand the code is if you stick to lowest common denominator patterns and frameworks.

Or

- read the tests for that method.
- look at the commit log and associated bugs.
- use identifiers that are self-explanatory to some extent. auto-complete makes using long names manageable.
- step through it with a debugger to see what it does.
- use an editor/IDE that shows additional info about unknown methods, assuming a statically typed language
where it has total knowledge about available types.

Comments are certainly one way to understand code, but not the only way.
Sobering overview of the future of autonomous weaponry
If you think that code is readable, could you correctly write all pre/post-conditions in between statements?
How Cutting-Edge Data Technologies Rapidly Change the World of HR
I enjoy the Game Developers Conference, though I haven't attended for the last couple of years. The lectures are very interesting, but also SF is great to visit (except airport security) and many of my friends from around the world end up being at one place. I also like our internal company conference centered around our engine. Always interesting to meet people who use our shared tech in different ways and learn things I can use in my day to day work.
Source at https://github.com/tencent-wechat/phxsql
So basically unless you're using C the argument is settled in favor of spaces?
Take a look at the open source project Keycloak (http://www.keycloak.org/), it does exactly that and takes very little time to setup. The easy way is pretty much:

1. Run the docker container (https://hub.docker.com/r/jboss/keycloak/)
2. Login to the web console
3. Create a "Realm"
4. Go to "User Federation" and add a "LDAP" provider
5. Go to "Clients" and configure keycloak to handle OpenID/SAML for your app

Disclaimer: I work for Red Hat, and Keycloak is one of our projects. If you want support, we recently released it as RH SSO.
Thank you very much for the public information disclosure about important infrastructure elements of your company!

Also very appreciated is the fact that many of you brilliant uberhaxors link to your company websites!

There is already a lot of valuable information available from the various "I am using an online service for all passwords"- discussions.

I guess the next step will be:

ASK HN - what are your top ten favorite passwords you use for your company infrastructure?

Best value generated by these threads: spot the brightest minds in the "Hacker" News community quickly! Do not forget to ask for the HN handle on every new business contact!
Why measuring impacts can drive business value
i'm seriously laughing my ass off literally right now... this chick just keeps finding herself scammed by startups time after time, it's kind of hilarious and sad at the same time, especially because it seems like she's still kind of positive about it lol.
> The trend in programming lately seems to be less to no comments and less to no documentation; and it is killing the joy I take in programming. Without comments the only way the next guy has a chance to understand the code is if you stick to lowest common denominator patterns and frameworks. You can't do anything that hasn't been done before.

Not true. You just have to express it clearly. I view comments as a code smell - they generally indicate a part of the codebase that you know is poorly factored. If your language/framework doesn't allow you to express code clearly, get a better language/framework.

Laziness is one of the cardinal virtues of a programmer.
If greater than 58% of all projects you work on mostly use tabs, then use tabs 91% of the time, in 97% of your projects.
Case Study: How SnapShot Uses OKRs to Stay Connected
Unfortunately vendor sites such as apple.com don't realize xy@g and x.y@g are equivalent and will let people register both. If you accidentally click approve on the confirmation email then good luck getting Apple to remove the second account. Which is how my wife gets tons of email from Apple about a stranger's iTunes purchases along with other random items.
My sense is that satellites range in price from $100 million or so for the sort of standard commsat that it's going to be launching this time to $10 billion for custom government spysats or top tier research satellites. But the really expensive ones usually go up on something like the Atlas V which is now at ~100 launches without a failure.
The first stage will not land on Mars.
To be fair, so do most competitors.

In Germany Netflix is "meh" but the only half-decent alternative is Amazon Prime, which isn't better at all.
To be honest, no, because my formatting will not be broken after refactoring changing function name length.
Feeling overwhelmed made me quit my startup and build Roadmap
I apoligize I don't have my copy of Garner in front of me. Why are you saying serious is only used comparatively?
shared google drive folder with 1Password files
In the short run, increasing salaries will only get you a greater share of the existing engineers. Importing workers solves the labor scarcity issue today.

I love how imply that foreign engineers have some sort of advantage over you because schools are cheaper where they come from, ignoring how much poorer those folks are. But actually that's nonsense - if you really wanted to pay low prices for foreign schools (out of yours/your parent's American income), you would have. Plenty of foreigners do attend Indian colleges, it's pretty straightforward to do.

It's quite popular among Africans. From what I'm told, African colleges are terrible, UK/US colleges are expensive, so India is a great middle ground.
A classic: http://www.lettersofnote.com/2012/08/why-explore-space.html
There was nothing to crack, the only security is in the availability of easy-to-use receivers. Assume that any intelligence agency in the world has an archive of Iridium transmissions going many years back.
In this case, it won't bring back your html editable. :(
> Where did you read that heroin was less harmful than alcohol?

Maybe he read it in the message he was replying to?

"Alcohol is unquestionably the more destructive of substances"
In some UK cities and in New York there is one. It's called Gett (http://gett.com/uk/). It's more expensive and the experience is worse.
You share the the policy with every employee that has a very real likelihood of becoming disgruntled in the future at some point. So arguably (and historically accurate, if I were to take a guess) you are sharing your policy with the most dangerous actors already. If sharing your policy has any affect on your security at all then you aren't secure and obviously you're sharing it with employees who are probably the highest risk of becoming malicious actors already so don't pretend not sharing it here does anything of consequence.
Elixir did make Beam/OTP more accessible and more "fun" :)
you find it odd that a lawyer would take this case? you must not know many lawyers. here in colorado, we've allowed them to advertise their services. almost all of daytime tv is inundated with ads for ambulance chasing shit slingers.
Nutrisystem Reviews 2016 – How It Works
I also much prefer this way of breaking long lines.
Aligning parameters always looked ugly to me, specially with long function names.
methadone is not gonna sell itself. And Kratom is not really patentable.
That's partly economic: to be effective, you'd need to provide all of the at-risk population with boots, whilst with antivenin, the cost is treatment for those affected.

It wouldn't surprise me if the cost of prevention was higher than the cost of treatment.

Secondly, there's also a cultural/environmental question: if the population generally wear sandals or go barefoot, could they be easily persuaded to don protective boots - especially if their feet are then continually hot and wet? A
Discomfort aside, could the boots increase the risk of other issues, such as trenchfoot?
I do not personally see this trend. In fact I see the proliferation of automatic-documenters and automatically checked minimum documentation requirements (which, as is often the case with blanket rules, tends to misfire producing volume but not quality; but this is another topic).

It seems literate programming assumes that the person doing development is the same as the one reading documentation. That is not always the case. And when it is not the case, the code embedded in documentation can hurt readability.

For example, I try to get all interface specs distributed, discussed and confirmed ASAP, usually WAY before the code is mature enough to be shown outside. Also, getting others to read, think about and comment on even short ICDs is difficult as is. Getting them to read early ICDs interspersed with early code? Not going to fly. My 2c.
That is just not true. In Brazil where I live antibiotics are highly controlled and pharmacies will get in trouble if they sell them without a prescription. They take several steps to verify each prescription. The same is true for other countries I've visited in South America. Self medication is a real problem but it's usually done by people who have leftovers from past treatments or get these from friends.
If I really, really want to ensure that people who might not be able to afford market price can reasonably come to see my show while still making a reasonable profit, there's no mechanism under capitalism to be able to do that, because of arbitrage. I think that's sad.
That's always bothered me. Why can't they just leave unhealthy stuff out of the liquid? All you really need is water and nicotine right?

(I have the same question about fracking too.)
tldr: most plaintiffs settled for peanuts (the judge didn't believe the theater was to blame or could have reasonably prevented the massacre), the others went against judicial advice and ate cinemark's attorney's fees.
How Briteback unified communication streams using deepstream.io
Snowden didn't break an "employment arrangement", he knowingly broke the law that everyone with a TS/SCI clearance is given. This isn't a one-liner you sign and date the day before you start. Getting a TS/SCI clearance is a long process, and you very clearly know you are not supposed to talk about it, no matter what you hear or see.

Now, Snowden might have still be right, I'm not debating that, but chalking it up to a breach of employment contract is naive.
tl;dr There were 41 survivors suing the movie theater for failing to secure the theater from an armed attacker. 40 voted to settle for a small amount of money. One rejected the settlement which caused it to fail. 37 then removed themselves as plaintiffs fearing they would lose the case and be responsible for the movie theater's legal costs. The four remaining lost the case and were held responsible for the movie theaters bills. And that's how 4 of the survivors ended up owing the movie theater $700,000 in legal costs.
The trouble is that no one actually implements the email standard from the IETF RFC documents. In fact, some people[0] even actively discourage doing so, despite there being little in the way of good reason to not. The argument essentially goes "well, users aren't going to be likely to use those characters, unless they're doing something bad, and they make it difficult to insert the email into the database." I feel like that's a kind of laziness - we can fairly effectively remove that risk, and there are well tested tools to do so. But I do suspect that forbidding '+' is explicitly to avoid people using tagged emails. To be honest, the inconsistency in services allowing me to use '+' has caused me to just create a separate email for services that I don't have high trust for. Now no one gets my personal email, and I only check that one if I'm expecting something important.

[0] http://girders.org/blog/2013/01/31/dont-rfc-validate-email-a...
> For example, I consider this idiomatic golang code (from the standard library, no less) to be entirely unreadable

Really? It's a binary parser that's parsing data from a byte array and stuffing the results into a struct, it seems pretty straightforward.
Benefits of Using Cassandra for Real-Time Analytics Workload
Yeah, I don't buy it either. I only use FB in a browser (Android) but have had multiple friend suggestions of people I do not know but have seen out at a bar or party a couple of days afterwards. They aren't in my contact list, pretty damn sure I'm not in their contacts either. I wasn't tagged and didn't check in, but probably did log in to FB at some point while at the location.
enum {
NORMAL = 1
ABNORMAL = 2
IRREGULAR = 3
}

Now if you're writing like this, what happens when you introduce "EXCEPTIONAL = 4"? You change 3 other unrelated lines. This is something that alignment causes, regardless of "coding standards". Hell, gofmt does that... It looks pretty (to some extent - with long names and lots of members it gets unreadable), but creates so much noise.
Show HN: A Blockchain-based land and property registry
And that is part if the reason why quite a number of us use pseudonyms:

A number of things are much safer to talk about once it isn't tied back to you, your family or your job in any obvious way.

Still agree that even on top of that, great care should be taken. (E.g. in case someone suddenly figure out and blurts out: "you must be x from y, aren't you?".)
How are the words "executed" and "suspected" in the same sentence?!
Google, Uber, and the Evolution of Transportation-As-a-Service
It annoys me so much, that I have to type my strong master pass to copy a damn password while it is lingering in plain text under these auto-filled dots. I'm just a little bit slower going through the browsers dev-tools without the master-pass.
Federal Aid for Code Schools – is this a good thing
Interesting, thanks. I've read some Nietzche and some Shaw on Wagner; I don't know whether I'll get around to Scruton or not.
it looks like they have removed that one after I (and others) left comments
Funny enough, I had a C & C++ prof deduct points for comments with the argument that they were redundant and that the code should be self documenting. Then again, this is from a guy who never handed back assignments until the end of the semester and by then couldn't remember why he graded you the way he did. Would just respond with "you didn't understand the material".
" FDA approval of the miniLab would allow Theranos to sell the device for outside use even if she is banned from owning or running a lab for at least two years."

Scary...

Would be very worried to see any Theranos device being used for anything that impacts on clinical decision making..

Theranos needs to die and Ms Holmes needs to go back to university.
Storing your keepass database to the cloud vs. Using Lastpass have very different inherent risks.

Even if Google or your Google drive is hacked, assuming you are using a strong passphrase for keypads, you are still OK.

If Lastpass is hacked, that's a different story.
Name is not important.
I vaguely remember firefox choking on try/finally but not try/catch, may have been fixed could have been a dream but in generally try can be tricky
>> something in the water

Is that a 3M / isopropyl ether joke?
For the most part I would agree with you, but historically this hasn't always been the case.

Before modern times, the quality of water was terrible pretty much everywhere. Because of this, many regularly drank alcoholic drinks instead of water because it was cleaner due to the alcohol it contained.

Although they weren't drinking it because it paired well with their pasta, many times they also weren't drinking it because of the impact on their mental faculties.
I'm the same way, and I don't think many people first tasted beer or other alcoholic drinks and said "wow, this is very tasty". Especially whiskey, which I find repulsive.
Yeah, in a way. At some point, doesn't a reasonable person stop to say, "This is quite ridiculous, isn't it?"

I forget about those commercials, honestly. I remember a few from Indiana some years back, but disconnected from TV and switched countries since then (and that could affect my viewpoint). I don't view those folks well - but at least occasionally they wind up actually taking justifiable cases. Again, though, the safety net thing would render them unnecessary in many cases.
Okay, he didn't break an actual employment contract, he broke a glorified employment contract. Happy?
Below is a bar chart of votes which I find helpful, constructed from data as I'm writing this. The figures are unlikely to change much at this point.

TensorFlow dominates, followed by Keras (which uses Theano or TensorFlow as its backend) and then Theano.

TensorFlow and Theano (on their own or via Keras) account for two thirds of all votes.

TensorFlow (78) ******************************************************************************
Keras (34) **********************************
Theano (20) ********************
Torch (16) ****************
Caffe (13) *************
DL4J (9) *********
CNTK (5) *****
MXNet (4) ****
Paddle (4) ****
DSSTNE (3) ***
Other (3) ***
H2O (2) **
Lasagne (2) **
Neon (2) **
Block (1) *
Chainer (1) *
Dali (1) *
Marvin (1) *
Veles (1) *
The article seems to paint the theatre in bad light, as if they are responsible for the shooting, or at least for not preventing it - do we really want to live in reality where you have to go through metal detector to see a movie?
While I feel very sorry for the survivors, I feel like they are a bunch of exploitative arseholes for trying to sue the theater for any damages - it's beyond ridiculous.
And not to diminish Jose's work, but a lot of it was a coat of paint -- read the Kernel module, where most of the language core is located, it's pretty much entirely macros. Most of the code in setting up the language, outside of the standard lib, was bootstrapping the macro processor. The better docs, build system, package manager, etc. were all just icing on the cake to make it a 21st century language, with Phoenix as the cherry on top.
If you can lower the cost for launching, you should also open up the market for cheaper satellites. Possibly not built the same rigorous way that a 100M satellite goes through.

This should also put pressure on the satellite manufacturers to lower costs.
Re: credit cards, unless you insist on using debit cards for some reason, who cares if they are compromised.

If someone steals my credit card, AMEX has a problem. I'll take reasonable care, but I'm not going to generate transaction specific numbers or whatever unless there is a strong incentive to do so.
Paperfuge: An ultra-low cost, hand-powered centrifuge insp. by a whirligig toy
I had a lot of gotchas with babel too, until I realized one thing, that should be featured prominently in every bug-tracker having anything to do with babel:

Babel will look for a .babelrc in the current directory of the file being transpiled. If one does not exist, it will travel up the directory tree until it finds either a .babelrc, or a package.json with a "babel": {} hash within.

- https://babeljs.io/docs/usage/babelrc/

So if you have stray files lying around, they might break your build.
you can replace the "+" with "." for the same effect. Yes spammers can get your root address but they could get that anyway and you would not know where they got it, this way you can block all future messages to that address and avoid that particular service.
I definitely don't store my SSH keys on stranger computers. I however used passwords on my relatives or customers devices on numerous occasions. Don't pretend you never did, I'm not going to believe you.
Insurers call for 2020 fossil fuel subsidy phase-out plan
Another thing which is natural is killing the men of the outgroup (typically defined as "those folks who look different than us"), raping their women and stealing their resources.