skysight-inc/HackerNews huggingface dataset:
I encourage everyone in this thread to not take things personally. Rust vs. Go conversations are going to cause a lot of angst on both sides. I also encourage people not to assume or read into comments, where someone states that "Rust is not a play thing", they are not implying that Go is.

For some people who've spent the time with it, Rust is a godsend, but that does not mean that by believing so they implicitly hate Go in anyway.

Go clearly has a lot of people who love it as much as people who love Rust, and because they overlap, there will constantly be a conversation of which language to pick for cases where it looks like both could be used. As such, the learning curve for Rust will always be an impediment, to its adoption, which is sad, b/c in all my experience it's the only language that I've used which inherently answers every core issue or fundamental bug that I've encountered in my career. This is why I'm really excited that the Rust core development team has decided to focus on development experience heavily this year.
I've seen this too. Unit testing was mandated from on high and it's something developers never learned to do properly. My telltale sign is more than one logical* assert. A test should usually be only a few lines of code, a dozen lines should be all that's needed for 99% of tests.

*Logical meaning only test for one thing, not a single assert statement. So testing for null and testing if a value is set is fine, but testing if 10 values are set correctly is not.
this is an interesting question. without any data to back it up, my suspicion as an american is no, I would guess you'd have to look at much smaller towns to find an area like that.
A certain amount of complexity or complication is required to solve problems. Sometimes, you will undershoot the mark, and not fully solve the problem. Other times, you will overshoot the mark, and create problems in the form of overcomplicated answers.

> 1) Choose languages that developers are familiar with, not the best tool for the job

It's a tradeoff - rampup time vs efficacy once ramped up. It's probably okay to let your devs rock it old school with vanilla Javascript for your website frontend - it's probably not okay for them to try and write your website frontend in COBOL, even if CobolScript is apparently a thing, just because they don't know Javascript.

> 4) Continuous integration seems to be a plaster on the problem of complex devops introduced by microservices.

CI is great plaster for all kinds of problems, not all of which you'll be able to solve in a reasonable fashion. Of course, you may have problems which would be better to solve that you're using CI as a crutch to avoid solving - or to simply deal with the fact that you haven't gotten around to solving those problems yet.

In game development, I use CI to help 'solve' the problem of my coworkers not thoroughly testing all combinations of build configurations and platforms for each change. 5 configs and 6 platforms? That's already 30 combinations to test, so it's no wonder...

> 5) Agile "methodology" when used as anything but a tool to solve specific, discrete, communications issues is really problematic

On the other hand, other companies rock "flat" management well past the point it's effective, and may lack any kind of methodology to keep progress on track - which is also problematic.
Five Expected Features of the Samsung Galaxy Note 8
It's an interesting first step to hacking one's own genes, though. It makes me wonder if it would be possible to transfect human skin cells in situ with a plasmid containing a gene for a fluorescent protein. If possible, it would be the nerdiest of nerd tattoos.
How much do you want to spend to get started? It only costs a simple one time $25 developer fee for android, for ios its $100/year. If you are just getting your feet wet going android is much cheaper, then if you make money on android you have a budget to get a mac with xcode, an ios device and the $100/year fee to write for ios.
Or you could share what you know that you think the NYT writer did not.
This is actually an interesting and relevant point. I can attest to seeing a similar cultural acceptance / rejection of the brand.

Interestingly, it might be more favorable because of hiring practices. More interesting, this might be what has undermined the brand in the US.
> My biggest complaint against the language hasn't changed, which is dealing with different Error types

Do you mean syntactic sugar? Because there's try! and ?

Or do you mean dealing with Option and Result in a more uniform way?
Performance and resource usage mostly. It's a very, very good example of an Electron app, but it still shows its web flesh in various ways. Some reconnecting issues, incomplete page loads, UX weirdness (minor). Like I said, it's a great example, but that's like praising the beauty of an architectural masterpiece built on sand.
> Everyone architects software for the short term, I'd say the industry at large has collectively lost/never had the vision and wisdom to do anything else.

I think everyone architects for the long term, they just do so poorly. The problem is that architecture has become synonymous with "more layers".
The "whole bunch of things" is just the standard system-wide install for working with any Python package: python, pip (which comes with python), and virtualenv. Though I also recommend virtualenvwrapper for setup simplicity.
Ah, but this is not a comparison study between Iceland and other countries, this is a comparison between Iceland today and Iceland in 1998.

So the 'smugglers did it' hypothesis must be that 20 years ago, Iceland was larger and located closer to major continents, making it a better target for smuggling contraband, but that volatile icelanic geology has moved it out into the north atlantic and led to the reported changes in juvenile delinquency and substance abuse. Possible. We should conduct further studies to eliminate this confounding factor.
In some form and fashion parts of Solaris and its concepts will live on in FreeBSD and Linux, namely ZFS, zones/containers, Dtrace and SMF.

I hope that SPARC itself can live on after Solaris itself tend to go hand in hand though...
Actually, I think it's just against the law, period.
Aside from the fact that this is 100% speculation on 0 data and sounds to me to be both wrong[1] and more than a little bit biased, why would this complaint even matter if it were true? "It won't work as well in a shitty poor neighborhood as it will in a nice one" is very likely going to be true of every attempt to reduce every social ill. It doesn't follow that they wouldn't work at all or would not be worth the cost or should not be tried.

1. I can't find drinking-by-income data, but anecdotally, I think the idea that underaged drinking and smoking is only a problem in poor neighborhoods would make most Americans laugh out loud.
ah, that makes sense.
In other news, IBM announced today that CEO Ginni Rometti has resigned in order to have more time to spend with her family and the new CEO will be Watson.
Who in their right mind would want to work for oracle in 2017? That's like fighting for a gig at DEC circa 1997. They're doing candidates a favor by refusing them entrance on the Titanic.
Heavily disagree. Usually, compiler tells you how to fix your errors. You still need solid grasp of language.
You make it sound as if everyone in Iceland is literally the same person, and Mexican/African-American/Asian/White teens are irrevocably disjoint creatures from different planets or something.
Good lord it's atrocious. Either I see the :/ face or I consciously feel my brain strain to parse it in full because decades of web experience have taught me to ignore the left side of the :// unless I'm specifically interested in the security of the connection to the endpoint.

Using non-alphabetic characters in a logo requires a pretty careful execution. An old ISP here used to be Optus@Home. I could parse that fine because it was fairly balanced, relatively minimal and reads smoothly (say it out loud and it is perfectly pronouncable, so reading it in your head is similarly effortless).

In contrast, moz://a both looks weird (the / stand far higher than the alphabetic characters in most fonts, there's 3 letters on one side and 1 on the other), it's mentally taxing (how do I pronounce ://? oh wait, that's right, I need to parse it as 'ill' when reading it in my mind's voice. I also need to remember when focusing on it in isolation not to parse it as a smiley like decades of internet usage has conditioned me to. This is the same effect as when you see <3 in some maths/code and parse it as 'heart' rather than 'less than three') and it doesn't smoothly parse as a standalone thing like @ does as 'at'.

I really don't like it.
>"I believe a distinction must be made: Equality of opportunity is good. Equality of outcome will lead us to the world of Harrison Bergeron's."

People have been trying to hammer that distinction for a long time. For certain people, it just doesn't "stick". They believe there is a boogey man, and by golly they will make sure to get the state to punish any scenario that hints to its existence.

If anything, I'd argue that they are creating a boogey man. E.g. You push an agenda that promotes certain groups or genders above actual merit, and pretty soon I'd argue that people will develop a subconscious bias against individuals in those groups. I.e. They will compensate and they will discriminate in order to fix the bias that they are seeing unfold in front of their eyes. And they will probably apply it to everyone, just like a stereotype.
While it's on the sweet side (typical habanero sweet/fruitiness), this scotch bonnet pepper sauce has a wonderfully rich pepper flavor.

http://www.bushabrowne.com/product_pukka_hot_sauce.php

Sriracha and standard Chinese red pepper sauce are staples that should always be available.

However, if heat is the goal without compromising flavor, nothing beats Bailiff Brutality.

http://www.honestfoods.com/bailbrutsal.html

It claims to be a salsa, but don't be fooled. It's hotter than Dave's Insanity by volume. This sauce is insidious. The chunks of roasted pepper and tomato trick you into putting a couple spoonfuls on your burrito. The oil base delays the burn... allowing you to eat more. At about 10+ minutes after eating the "salsa", the Capsicium filled oil finally starts to hit the nerves and it hits you with at least a half hour of increasing pain. This sauce gives you time to think about the situation you put yourself in before hitting you with the pepper heat. And then it does it to you again six hours later.

But the best part - which you're not going to believe - is the it really does have an outstanding roasted tomato/pepper flavor. I like it for the taste, not the insane heat.
This is really cool, thanks!
> some folks use that as justification to write clever one-liners that are difficult for other developers to read.

Seriously - Please, if you do this, stop it! You're just slowing everyone else down.
In some ways I agree with you about Google-ifying of the UI design and that confusion. (e.g. there's been a "Google Developers Console" and also a separate "Google Play Developers Console" and I found the relationship between those confusing at times.)

OTOH, once I started using Firebase console, I felt that Google was taking a step in the right direction. That is, my general impression has been that Firebase's console is easier for me to make sense of and there is less needless complexity/confusion.

One example for me was my general impression with setting up Google Cloud Messaging with the old Google Developer Console (a couple of years ago) and more recently setting up Firebase messaging in the Firebase console. It just seemed easier and smoother to set up Firebase messages. There seemed to be less gotchas and dead ends, for what that's worth.
> they are skating on thin ice with product quality and innovation

How did you come to this conclusion? I've been using Apple computers since the late 80s and iPhones since the day the 3G shipped in 2008 and consider Apple's current computers, phones and accessories to be robust, of the highest material and design quality, and packed with cool tech. I walk around with my 7 Plus feeling like I'm a goddamned cyborg. I look around the streets and see a significant number of people sporting an Apple Watch while I've seen next to no one wearing a competing smart watch apart from Fitbit...which is pushing the definition somewhat. Around Christmas I was surprised to see quite a few people with AirPods but have yet to see anyone with another brand of wireless in-ear headphones.

You know what Tim isn't very good at? Being a bullshitter/salesman the way Steve Jobs was. And to sell the company to people who can't objectively see that Apple is doing some very cool things.
Oy, this thread. I've griped about this before - https://news.ycombinator.com/item?id=12864151#12865128 - we really need a snappy name for the "I know it works in every other country, but it can't possibly work in the US" argument-slash-fallacy.

It's not inherently wrong and it can be true, but it's used so reflexively and across so many different domains (drug use, public transit, taxes, guns, health, voting, labor rights) that I have to think it's more of a thought-terminating-cliché to shut down any discussion of the topic than an honest attempt to find a solution. People just don't want to think about it, and it causes a ton of cognitive dissonance to see that a solution they politically dislike can work, so they jump to this.
>just ends up with less genetic diversity than the mother

"just"...

In humans, even a small loss in genetic variability such as cousin mating 1.5% is bad enough that we have laws against it in nearly every society.

Charles II, the last Habsburg king of Spain, had lost 25% genetic diversity and was mentally and physically disabled, and infertile. This genetic loss is equivalent to parent-offspring or sibling mating.

Some animals, like lab mice, can survive without genetic diversity, but they are much less fit and difficult to raise. Your half clone would have lost nearly 100% of its genetic diversity. A near-full clone mechanism exists which would preserves genetic diversity. We'd have to sequence this shark to find out.
It feels like this guy will end up converting the codebase to both languages.

Which would ultimately be fun to follow
I would hope that Go is better in all of the above. It has been available for much longer, and it's supported by a great team.

I want to know how the languages compare for writing code. Dos one make it easier to write more succinct and correct code? Swift is missing concurrency support until at least the next version, for example.
I should try this for marijuana (abstaining that is)
You never cooperate with the feds. Any competent attorney will tell you that. They'd be putting their company further at risk by doing so.
Stealing a source from elsewhere in the thread:

The NHS estimates that vaping is no more than 5% of the danger of smoking.

(https://www.nhs.uk/smokefree/help-and-advice/e-cigarettes)

Heavy smoking is roughly the equivalent of losing somewhere between one and three healthy years of life.

(https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1361023/)

Combine the two estimates at their most conservative, add a tad of fudge factor, and heavy vaping use will at worst cost you two months of healthy living. People regularly make worse tradeoffs than this - obesity, amount and recklessness of driving, playing professional American Football, and many others are likely worse.

Whether or not that counts as "safe" is up to you and your risk tolerance, of course. As a non-smoker, that's safe enough for me to try vaping to see if nicotine a stimulant worth using.
It'll never work. Because it is accepted that "diversity" is a good thing, without question. So you could argue with stats to prove you're doing merit-based hiring only. But then they will force to you "measure" that merit against a nebulous term or benefit such as "racial/gender diversity".

Edit. Removed stuff about types of diversity; not relevant.
This sounds an awful lot like an old(ish?) technique termed "write-through caching". Building data structures that can take advantage of write-through caching at reddit-comment-scale does sound like it'd be an interesting problem to optimize.
You should simplify what this is about. I'm having g a hard time following all of it.
Looks like you will have to disagree with the majority of HN community on this one.
Did you specify about 30 degrees because the trivial method fails if the tilt is too large?

I see a trivial solution, but it only works if the ratio of the water height before tilting to the diameter of the cup is greater than the tangent of the tilt angle.
/Disclaimer/Disclosure/ (Unless you're suggesting that working for Google Cloud means you're not qualified to comment, which I doubt! :) )

This really is the HN equivalent of /i.e./e.g./!
Debian manual pages has been modernized
There's also a tendency to "architect" things so that common things can be reduced to one liners. A common one is to create form generators via attributes. Things always end up being way more complicated this way.
didn't even realize linux was broken o n apple
No, they're just using a different definition of diversity. Many people oppose mass immigration for reasons other than xenophobia.

Speaking personally, I found that work environments with lots of new or unamericanized immigrants had little collaboration, little in-office comraderie, and no socialization outside of work (e.g. pub nights). It was boring and I pined for a culturally American setting. Sometimes "multicultural" just means the subset of all cultures involved.
In the case of a programmer, the chatbot will ask questions around expereince and projects and simply collect useful information by asking probing questions. The hiring manager gets to review this information and rate it on a scale of 1 - 5. From a sample of such ratings a model of answer ratings is built which simply assists the hiring manager in highlighting the good candidates faster.

So why would a programmer talk to the chatbot? Because the chatbot actually knows more about the subject matter than a non-technical recruiter.
The languages can be used for the same things in some cases, but Rust not having a GC enables it to be much more of a C/C++ replacement than Go can.
How many lines of code does your project use? How complicated is your module structure? Is everything in one huge target or do you split your app into 100s of modules? What do you use for dependency management, what is your deployment target? Are things running in one process like an iOS app or is it some sort of OS X project?

Pretty much every large swift project I've seen has had the problems described. Lyft, Uber, Linked In, etc.
I've been in software for ~10yrs now and can only count the number of engineers I've met who weren't white or Asian (Indians included) on one hand. And that doesn't say anything about anyone's particular ability to be engineers. It's just less likely to happen via the available applicants. Although I have noticed a spike in women, that doesn't seem to be the issue here.

It seems to me the Dept of Labor is trying to solve a problem at the hiring level that exists at a much higher level, beyond the scope of any one company.

Additionally, in that context I'm not even convinced it's a problem in itself that needs solving via state intervention. Unless there is some abstract benefit to diversity of the people behind the code in software development that I'm not seeing. Other than the fact engineers make better money than other industries and it's in demand - but that should be a sufficient incentive by itself.
Quotas and affirmative action seem to me like hack workarounds to try to solve the real problem, and that is that our society itself is highly unequal.

None of these business can tackle the real problems on their own, but even assuming that one "race" generally has an advantage because of educational background or some other factor that makes them more attractive hires, simply hiring them and ignoring everyone else (that isn't exceptional) only perpetuates the problem.

Therefore, attempts are made to resolve the issues in ways that an individual organization with a limited reach can: quotas, diversity hires. The problem is that the problems that create a disparity between the hires are long term, where as most of these companies have to think of the relative short term.

Because we as a society can't (or won't) tackle these issues in a holistic way, we're always going to have some hack workarounds that feel like BS to a lot of people because they are. If all public schools were well funded[1] and taught it wouldn't be such an issue (in a few decades maybe), but instead we've got a model that simply perpetuates the problem. Even if we throw money at the schools it won't fix the problem because a lot of kids growing up in poor areas have problems at home [2]. We know how to fix these problems but we can't even agree as a society that we even have a problem.

We're going to continue having this conversation for 100 years because thats how long its going to take our half-assed measures to work if they work at all. In the richest country on earth we can't agree that all public schools should be equally funded (hell, we're about to have to fight for the actual existence of public schools as all).

[1] http://www.npr.org/2016/04/18/474256366/why-americas-schools...
[2] https://www.edutopia.org/blog/how-does-poverty-influence-lea...
> None of the thousands of extra hours I worked (I kept track) counted for anything

Yep, that's exactly what your management was counting on.
I think it is a lot more than 20% to pay the tax man since the gain on the exercise is considered regular income. This could be a big problem if the stock is still illiquid on the day of exercise. And if you later couldn't get the private valuation price the loss is capital loss and only $3000 per year can be used to offset regular income.
>If you like writing code, start acting like a scientist about it.

Could you elaborate more on this?
The point is not controlling liquor stores though, the point is making sure teens don't feel the need to consume alcohol
This is anecdotal, but I believe this is due to the steep learning curve of ember.js. As someone who is just trying to pick up this framework, I feel like a complete outsider who is left to fumble around for months until it "clicks" and only then can I understand what is actually going on.

I have been playing with it for the past 4 weeks, and I still feel more in the dark than I did after about a week of React JS/redux.

The tutorial in the ember guides has you use mirage, a client-side mock-server, which is great for learning how to use ember.js in a vacuum. You are completely on your own in figuring out to serve it real data.

Also, if you want to follow ember.js recommended conventions you need to learn how to serialize/deserialize your API into the JSON API specification. Something that is proving to be a pain in the ass when trying to work with rails strong parameters. It is causing me to relearn basic CRUD operations. Most of my time learning ember has been spent rummaging through GitHub issues for active model serializers or jsonapi resources.

Everyone in the ember community swears by the "Data down, Actions Up" philosophy, and yet it isn't mentioned or explained anywhere in their documentation. As someone who is brand new to the community, how am I supposed to understand the proper way of doing things?

Should I be creating actions in my routes, controllers, or components?
Do I even need to use controllers since the apparent trend is moving toward components?
Is ember-data capable of requesting data from the API based on the relationships I build within ember models?

I was able to install a single gem, serve standard rails JSON, and I was up and running with reactjs/redux. Maybe I will be more productive in ember.js with the loveliness that is ember-cli, but learning ember.js is a much more expensive initial investment in my opinion.