skysight-inc/HackerNews huggingface dataset:
Using the author's standards, adding features to a language is always a good idea.

> All well-written code is easy to read, and most poorly-written code is hard to read. Obviously Go can't change that.

I completely disagree. Languages with lots of features can make poorly-written code vastly more difficult to read.
10 Growth hacking tips you must know
Chrome Dev Summit 2015 Notes
How to Use Material Design Snackbar in a NativeScript App
Incorrect--remember, there is no way of guaranteeing privacy of users *if you outsource analytics for your page.

You're missing the point of why "rolling your own shitting [sic] implementation" is worth it: it's not the speed, it's the privacy.
Previous discussion: https://news.ycombinator.com/item?id=7962345
I have not worked with the Translate Toolkit yet, but I'm a little familiar with a few of the tools. I'm always interested in learning or contributing where I can.

I currently work on a proprietary l10n/i18n system, so a lot of what I do is under an NDA. However, I'm slowly gaining traction in moving us, at least in part, to a more open model.

If you let me know your email, I will reach out.
Brain Reflexes That Monitor the Pecking Order
`.pow` is the least problematic part of my example by a fairly long shot. Even keeping it, with operator overloading you'd get

x + ((x + ONE).pow(2) - x)

or

x + (pow(x + ONE) - x)
> There's lots of schoolbook examples like this, but I've almost never seen operator overloading used well in practice.

I do graphics programming and I literally rely on it all the time.
Even with the blood sample "shortcoming", it will be huge if it keeps to its promise.

But I learned not to get excited by new medical inventions before a few years pass, before it's FDA approved, before there are enough studies that prove it really does what it says it does, etc.

Cool video. A woman writing some formulas, nano technology, DNA sequences, etc. All cool stuff.

Theranos also had some cool stuff to show but...
what's wrong with http://www.emacswiki.org/emacs/TabBarMode ?
You are aware that every advertisement you look at every day has been designed to elicit an emotional response yes? The advertisers in the newspaper, Internet and billboard down the street didn't get your opt in permission either.
How is code with generics more complex than without it?
This is the most HN headline of all time
I assume your question was intended as rhetorical, but there's an actual answer to it: because when the owner of the Yahoo stock (or a hypothetical Yahoo holding company for Alibaba stock) sells his shares, he will pay tax on his gain from that holding.

To turn the question on its head: why should some capital gains be taxed twice and others once (or in rare cases, three times or not at all)?
Thunderbird: stopped.

FirefoxOS: stopped.

Rust: as nice as the language is, I can see it become irrelevant in the rise of Swift (and tons of developers already using and praising it).

so the last thing that remains is the very core of mozilla: firefox. But then version 42 hit me, disabled the support for custom themes, leaving me alone with a crappy UI I can't stand any longer to the point I uninstalled Firefox forever.

As others have already mentioned: from several sessions of customer development out in the streets, I can confirm that privacy is something that no-one has really interest in, let alone pay a penny for it nowadays.

I'd love to know what Mozilla's vision of the future is, given that the points above are real and Firefox itself becomes more and more an awful "me too!" of other, better browsers.
And don't forget $5B in cash.
Not Telelingua here. I currently work on a proprietary system. Why do you ask?
Ask HN: Git Novice Tools for Windows?
I'd like to bring the marvels of source control management to a group of non-developers who are using Dropbox to share scripts, but Git can be confusing even if I give them the basics. Is there any kind of tool that can help non-developers follow a single workflow, and not panic as they get a merge-commit? I'm thinking nothing more complex than a pull-merge-push, no branches.

I do feel SourceTree is a tad overkill here.
Maybe even worse.
Wouldn't breaking it down into components instead of using a one liner be an appropriate response for readability's sake?
whatever you do, don't try to figure out why it works[0].

[0] https://en.wiktionary.org/wiki/schroedinbug
Nothing to doubt? Do you know how Facebook was founded ?
How many code indexing tools are in use that aren't grep/ack/ag (because you can grep for +) and don't do semantic analysis? I can't think of any. Visual Studio, DXR (what I've used), all documentation tools, etc. can all handle overloaded operators, and have been able to for years. (Hasn't Visual Studio been able to index overloaded operators for, like, at least a decade?)
Upvoted your post to restore cosmic balance.
I'm less concerned with the safety of second-hand vapor than the offensive odor. It has been so nice these past few years to be able to go to bars and restaurants and not come back with my entire wardrobe reeking. I don't want to give that up.
When/why do you expect Google to implode?
Yes, in the Java projects I work on we use Lombok [1], which is nice, but is also a hack around the fact that Java makes these things hard.

https://projectlombok.org/features/index.html
I've used Go for a few projects and I think that people who point out all of the things that Go doesn't have and Go doesn't support misunderstand the language.

This is the standard Go defense. 'It's not Go, it's you.'

I have written some larger projects in Go, and I am in full agreement with the article - Go is a relatively weak and repetitive language, similar to pre-generics Java.

So, why does Go gain so much traction? While it may be a weak programming language, this is often compensated by excellent tooling and easy deployability. Plus dyed-in-the-wool Unix users (me inclusive) never liked the JVM baggage that comes with JVM languages.
> > Yahoo’s shift in strategy comes as Ms. Mayer and her husband, Zachary Bogue, are expecting the birth of twin daughters this month

> I hope she takes a full year off, if not more. The past 4 years couldn't have been easy on her. It will be interesting to see what she does next.

Do you think other CEOs don't have children, or don't have hard jobs? Running a profitable growing company is as hard as failing to save a dying company.
> all the language will be a lot more readable, and simple. Simplicity it's the most wanted feature of Go

This is what Java designers thought as well. See where this has led them.
Surely one of the first things he does when contacting a company is to warn them that a web search will find these things, but that he has been exonerated, and to provide documentation as to such?

I just find it incredibly sad that the people conducting these background checks at such large companies are so utterly incompetent.
Piece is pretty skimpy on how/why Samsara is different than any other company providing low-cost, brownfield-targeted sensors.

> “The goal is to make it really simple so the web site is in plain English and we make it easy to buy and deploy, Biswas said.

Piece was provided by Andreessen Horowitz, who was the only series A investor w/ $25m in May 2015. It's basically just marketing fluff.
I have always been surprised scientific and ethics committees haven't somehow come down on Facebook and its decision makers for this? Let alone, where is all of their data for public review to allow as many third-parties to analyze it as possible to view its impact?
Chairman and CEO have denied any plan for selling Yahoo. Their plan is to get a tax free separation of its core business from Alibaba. This reverse spin off according to them most likely to get the tax benefit. The other way - forward spin off too would have been tax free but that would have taken multiple years while this would only take 1.
GDP measured in an inflationary currency? I can also write big numbers; here you have one: 123456789. Not very impressive, is it?

Mining output of a real world, scarce, extremely wanted commodity? Impressive!
What's the difference aside from the tax liability? Either way you wind up with two companies. One with the Alibaba shares, and the other with everything else.
I like Go. It's fun, it's fast, and it's introduced me to a lot of programming concepts I had never used before.

The one thing that seems to be missing from these discussions is that Go fits in an unexpected niche. I come from a web development background. I grew up on Perl, ASP, PHP, and Javascript. I dabbled a bit in C in college, but I always felt like I was fighting to avoid shooting myself in the foot with it. For me, Go was a huge step up, with an extremely friendly and approachable syntax, comprehensive standard library, and great toolsets.

On the flip side, we've got a bunch of C/C++/Java developers who would rather compare it to what they've been using for decades. I've no doubt it's missing a slew of very important features from that perspective. Go does seem to be capable of many of the same things as those languages, so those criticisms are likely valid, but for those of us that aren't trying to use it as a low-level systems language it's still pretty great.

Go could probably be improved in a lot of ways, but at the moment it serves my needs really well. For me, Go is good.
Not the same context, though you're right, it's similar-- the context of this was specifically to study the capacity for an effective emotional change controlled by social media only. They didn't have any monetization plans for the emotional change, which could potentially be negative.
Yahoo Scraps Plan to Spin Off Alibaba Stake, but Will Split into Two
That wasn't the question. The question was what Yahoo's business has been for the last 15 years, not what it was when the company was founded.

The actual answer is that Yahoo sells ads. That's their business model, just like it's Google's and Facebook's and hundreds of other companies', some very old and some founded yesterday.
This library looks good. But I wouldn't hold my breath that you will get any donations. I recently created a similar solution and the result after about a million few was nada, nilch, zero. If you now consider that by accepting donations you have to solve the EU VATmess it is not worth the effort.
Operator overloading is often problematic because the operators come with semantic baggage, such as properties they maintain, and implementations of those operators often don't maintain those properties. For instance, addition is associative, and has no additional side effects beyond the value it produces, but an overloaded operator won't necessarily implement those. Abstractly there's nothing wrong with that, but in reality it has proved difficult. Operators also often come with an order-of-operation hierarchy designed for mathematical operations that map poorly or confusingly to what the overloaded operator is doing, which causes further practical mismatch.

Operator overloading works best when being used in domains where the original constraints hold; for instance, adding a matrix to a matrix is mostly the same as adding two numbers, though if your type system can't enforce that the matrices are the same size at compile time, you still added the ability for + to throw an exception, which it will never do with ints. Operator overloading got its bad name from cases where people were overloading the operators to do something entirely unlike what the original operator did, causing a mismatch between the user's expectations and what it actually did and therefore bugs.

Operator overloading isn't really "right" or "wrong" per se, but it's probably a bad idea for anything that isn't able to fully implement the contract of the operator, including "associativity", "no side effects", whether exceptions can be thrown, etc.

If you read carefully, you'll generally see operator overloading arguments have two groups talking past each other, one cursing things like C++ streams that basically overloaded the operators in a meaningless way for nominal convenience that causes a lot of long-term headaches, and the other praising the benefits of overloading for math, since math is the big case where it works correctly.

Back on topic, Go correctly does not have operator overloading because Go's authors, as near as I can tell, have no intention of Go being good for mathematics.
Having the ID generate getters and setters makes it difficult read your data types, and adds additional work when modifying them.
I think that if you begin with the idea that you have multiple conventions and you cannot avoid that, therefore you won't solve the problem with "+" operator.
You have just one more convention.
Type 1 defines: .add(x),
Type 2 defines: .plus(x),
Type 3 defines: operator+,
...
If you assume that you can convince people to adopt a convention, you can use .add(x) and avoid the problem in the first place.
Go for example tries to have always one obvious way to write things. The Go standard library it's the idiomatic Go bible.
Welp, guess that album won't be heard by anyone unless it's used to try to improve his PR situation.
I've tried moving away from my Yahoo account a couple of times already. Some services simply refuse to change your email address, no matter what.
Yeah, I've read somewhere it should be the default behavior in Go 1.5, but currently it isn't, at least not in my system.

If I don't specify it all the computation use just one core
Yes it was.

After the 2nd day of getting no where, we pretty much just asked for ideas. If they were simple enough, we made and distributed them. There were a couple of enterprising young minds that were doing their damnedest to make their own mods. We helped them as much as we could. Other than that, the kids basically just played Minecraft for a week.

At least one kid did come out of the camp wanting to learn to program. I ran into him and his family one evening a month or so later. They sat next to us in a restaurant, and after excitedly bring up the camp, he told me that he's trying to learn programming on his own.
Not to mention that this could be quite an effective torture device which makes the entire idea horrifying.
Yeah - I've seen tiered vacation days based on seniority, but I'm wondering specifically about giving some folks unlimited and others a prescribed number of days. That seems to straddle an almost philosophical issue.
the funny part is, if you mixed messenger, mail and flickr (let's not forget geocities, delicious and 60% of all online stores before 2006) they could have what facebook is still trying out to be and then some.
I think you have missed a third party.

Government taxing authorities.

Despite the fact that they condemn the dangers of tobacco smoking, they also want the tax revenue and e-cigs don't provide that.

Big tobacco will still make money from e-cigs because tobacco is needed to get the nicotine for the liquid.

The people who just enjoy sticking it to smokers are upset and the governments that want the tax revenue are upset.
I think the point they're making is that the Go community is unusually pitchfork-ey. Having used Go since pre-1.0 days, I certainly agree; there's a very strong sense of, "if you want <feature X>, you're doing it wrong" - despite legitimate concerns, like the ones outlined in this article.
This sort of gratuitous takedown is unfortunately crack for HN -- pages and pages of "here's how this popular thing is not like this other thing I like", without any thought given to why things are they way they are. Go is missing a lot of my pet features too but I know its authors are smart so I don't just immediately jump to assuming they don't know what they're doing.

Thought experiment: write a proposal that works through adding algebraic data types (or even just special-case the error handling as option types, if that is easier) to Go. I've tried it; I found that doing so brings up a bunch of other problems that don't make it an obvious solution. (E.g. you'll want a "match" operator. And then that means you need all statements work as expressions. And you'll have to change how zero values work, which are pervasive throughout the language.) And I really like algebraic data types in Haskell.

At some point if you really want Haskell you should just use Haskell. Or Rust. And then you will find out that those languages have problems too, and you will understand that engineering is a question of tradeoffs, not of feature checklists like this blog post.
> Compromise and selflessness are key to marriage. Individual ambition is the opposite of these qualities.

We're spending a lot of time talking about things in the abstract.

A good example of what you're talking about is a wife quitting her job and staying home with the kids, even though she knows that it would make her miserable.

To you, that's a curtailment of ambition, compromise, and selflessness. To me, that's the beginning of the end. She will make herself miserable and then, she will make everyone else miserable around her.

I'm sure you have a counter-example at the ready, so let me say this. The key to a successful partnership (love, business, friendship, whatever) is pursuing common goals and interests without fucking the other person over. That last part is important.

And honestly, you should be living your life that way with regard to everyone, not just your spouse. Why hurt other people? Be confident in yourself, what you have, and what you can achieve. Then give as needed to others. That's not compromise or selflessness ... that's just sharing what you have with others.

I suppose where we disagree is that you feel you need to throw yourself on the sword to avoid hurting others? I have never found that to be the case in my life. I have always had enough to give to others without compromising myself.
Author – create and publish documents to the web, instantly
Management requires an entirely different skillset than programming, and one that many programmers are not well-suited for.

Management is not about selecting objectively good tools, and it's not about making hard choices or settling disputes. It's about keeping everyone that works for your employer happy, which is, frankly, 95% about the superficial.
I believe all of these are good points. The keywords are simple and concise and I believe the language constructs such as interface{} and sub-typing were designed to ensure compilation and running are insanely fast. Google is famous for optimizing their server applications and Go appears to be their "go-to" language of choice for all future web application development.
We created a Mac writing app with simple user experience, professional typography sets and integrated publishing platform. Author brings you a new creative and productive environment where you can focus on your writing and can publish instantly. Let us know what you think!
How to build great web forms
I've taken a look, but I can't find what you're talking about. If you'd like to make a case for something that sounds absurd, by all means make it. But some anonymous guy waving vaguely at hundreds of pages of documents and telling me to go fish is definitely not making a case. Note also that just claiming the experts who interpret the data are wrong is not making a case. Extraordinary claims, etc.
Sourcetree is scary, but the Git Flow feature makes it really easy for beginners to do things properly (for a subjective value of properly). So long as there's an experienced dev onhand somewhere to help if things get weird it's amazing. I'd also recommend replacing the diff/merge tool with something better like the appropriately named DiffMerge.
> 2. She failed at financial engineering; she couldn't even get a tax free spinoff through.

She managed to keep a part of Alibaba stake. This reverse spin off will also be tax free.
The term desire works in a broader sense, as long as you differentiate between a need and a desire.

A need (I guess I'm referring here mostly to needs in the context of those defined by Maslow's Hierarchy) is defined as something that is an absolute; an end state. There is a requirement of truth for something to be a need.

A desire is defined as "a strong feeling of wanting to have something or wishing for something to happen". A desire is open to suggestion, to invention and misrepresentation.

Taking your example of the diamond industry: The "needs" being targeted here are pretty much the solid base of the pyramid (sex & shelter, family/stability, love & intimacy). Does a tiny, expensive shiny rock from Sierra Leone provide those needs? No; obviously it is the symbolism of giving to/receiving from someone in the hope that they will provide those needs to you. Did humans manage to satisfy those needs before De Beers came along? I'm pretty sure they did.

The desire for diamonds among the general populace was completely manufactured, whereas the aforementioned needs always existed, and (I strongly suspect) were always being filled before the normalisation of diamond rings as intentions of marriage.

I suppose diamonds (at least in the context of use as jewellery), and the whole story of De Beers are a shining example of commodity fetishism.
I have noticed that some people vaping tend to take really hard drags from their devices that I doubt they would from a cigarette

if you need nicotine, get the patch. if you need to quit cigarettes or even e-cig the patch is probably good too and in most cases free from your health plan
> My impression of the Go community (both within Google and outside of it) is that there is a very ... moralistic? .... sense of "You don't really need that, we know best" going on.

Thats not limited to the Go community. It seems to be an attitude that is sweeping the second(?) generation of FOSS developers.

Seems like just working on code is not enough any more, it has to have some kind of social/fixing-the-world angle.
See also, "What If Counterfactuals Never Existed?" https://newrepublic.com/article/119357/altered-pasts-reviewe...
Oh please, nothing's changed. Give em a website consisting of nothing but stock photos and solid color squares and a name like Yahooify and they'd blend right in.
twitter is becoming more and more like Facebook. actually when facebook started deciding for me about what I wanted to see it made me abandon it and move to twitter in the first place. sad to see twitter now going that way also.
I think the answer for people who want this sort of thing is to write a Go++ that compiles to Go. If it's a good enough solution then it will convince the community to move forward, at least on some features.
I think some of that stems from the fact that the arguments against Go are often over emphasised matters of personal preference, or just so frequently raised that it becomes tiresome to read.

I love Go. I know it's an imperfect language and because of that I do often hate specific Go idioms. So I definitely don't have a "bunker mentality" when it comes to Go; nor any other language. But in terms of "getting stuff done" Go has generally served me - personally - better than any other language. I just get a little sick of hearing about how Go is a "bad language" when what people actually mean is "it's not productive for them personally."

I can program in over a dozen languages, so I do have extensive experience outside of Go. And as someone who is language agnostic it never ceases to amuse and irritate me just how zealous people get when trying to prove personal preference as scientific fact.
If there's anyone who wants to get into this, I have a Lumia 920 (AT&T USA model RM-820) with Windows Phone 8.1 that I'm not using. Promise here (publicly) that you'll only use your skills for good, and it's yours.
I find PyCharm addresses that Python weakness nicely. I'm sticking with C++ & Python pro tem. When Rust is a little more mature I think I'll invest.
I'd hesitate to blame Facebook because people in need use it to reach out to their community for support. If Facebook hate stems from rich healthy safe people being bothered by the presence of human suffering, Facebook is not the villain of the story.
Ethics committees have come down on FB for this. They just don't have any control over Facebook.