skysight-inc/HackerNews huggingface dataset:
>Either your attitude towards the organization is bad

This is very likely the problem, not the latter. The OP will probably will run into this problem again and again in the future, leaving his current employer is not going to solve that. If anything, staying would be better, since they're willing to work with him on fixing it.
As an attacker this gives me information about how many characters are in password. Which can be quite useful information.
Alternative headline: "FBI Suspect Announces Tech Plan"
Show HN: Your new favorite email of the week
But then what about people who rely on password autofill and password manager ctrl+v users?
The language in the article is just such a thing!

The difference is essentially between statements (AKA instructions) and expressions (AKA values).

Statements are executed one after another to produce effects(/actions). That is "imperative" programming.

In contrast, expressions represent values, and we evaluate(/reduce/simplify) them over and over. Sometimes they reach a "normal form" (i.e. a "final result"), other times they may end up in a loop. This may be called "value-oriented programming", and pure functional programming is one example. The language in the article is similarly "value-oriented", although it isn't "pure" since it allows effects in its expressions, which requires careful choice of which order to evaluate things in.

In Haskell, for example, "programs" are just expressions representing some sort of value. It just-so-happens that when a Haskell program is 'executed', what actually happens is we look for a value called "main", we evaluate it to get a value, and that value just-so-happens to have the type "imperative program" (technically it's called "IO a"). That "imperative program" value is then handed over to an interpreter to be executed. Well, conceptually at least; those tasks are actually interleaved so the code is executed "on demand", and the whole thing can get smushed together by an aggressive compiler. Still, it sounds very much like your two-stage language.
If you want to run your own analysis about what retirement might look like for you, I recommend the extremely powerful http://cfiresim.com/
Don't get cute. Code golf is for competitions, not production code. Even if something takes 10 lines that you can do in 1, if 10 lines is clearer, do it that way (you'll thank yourself in 6 months when you have to figure out what you were doing).

Keep your functions to one or two pages.

Keep your nesting to three levels, preferably two. If you have multiple nested if/while/for sections, break them up. (See: "cyclomatic complexity").

Follow the coding conventions of the project you're working on, even if you disagree with them, consistency is more important.
>Another example of what I mean is all the articles that pop up on HN about how the modern internet is destroying attention spans. How do we address that best? I'm not sure.

Assuming that "modern internet is destroying attention spans" is actually true. http://www.xkcd.com/1227/
Provide a little Bitcoin as an insetive for people to search for you online
Hard Facts and Statistical “Facts”
After 25 years of programming I'll give you the lesson my first boss gave me: "Think more, type less".

It's stood the test of time, I've passed it on to many juniors.
Haskell in Green Land: Analyzing the Energy Behavior of a Functional Language
Are employment agreements secret sometimes? Can anybody get in trouble for disclosing the agreement they signed? Can a third party like we're proposing get in trouble for publishing such agreements?
> ...faulty alternative email service...

Do you have a source for this? It was my impression that nothing was out of the ordinary about her email server, and the rules around it were vague.
Ask HN: Is there still room between AWS, Google Cloud and Azure?
In this paper, we attempt to shed light on the energy behavior of programs written in a lazy purely functional language, Haskell. We have conducted two empirical studies to analyze the energy efficiency of Haskell programs from two different perspectives: strictness and concurrency. Our experimental space exploration comprises more than 2000 configurations and 20000 executions. We found out that small changes can make a big difference in terms of energy consumption. For example, in one of our benchmarks, under a specific configuration, choosing one data sharing primitive (MVar) over another (TMVar) can yield 60% energy savings. In another benchmark, the latter primitive can yield up to 30% energy savings over the former. Thus, tools that support developers in quickly refactoring a program to switch between different primitives can be of great help if energy is a concern. In addition, the relationship between energy consumption and performance is not always clear. In sequential benchmarks, high performance is an accurate proxy for low energy consumption. However, for one of our concurrent benchmarks, the variants with the best performance also exhibited the worst energy consumption. To support developers in better understanding this complex relationship, we have extended two existing performance analysis tools to also collect and present data about energy consumption
This bet ends in less than 2 years. Does anybody know what would be the result if it would end now?

edit: I guess it depends on the detailed terms that they haven't disclosed, but educated guesses are fine
Our company has been working on an internal product for small teams and finally feel confident enough to launch.

Slack integration is complete and will be coming soon!
The number one thing you can do to write better code is get together a group of people and do code reviews on each other's code constantly. Have people in the group point out things they like and dislike about the code, along with why. Then create a "cheat sheet" where you try to summarize the principles behind all the suggestions people make for your code.

Beyond that, try to find "good" code look at how it is structured. Then try to emulate the practices in regards to language feature use, layout, etc.
As other person pointed out, mutual funds are much more expensive.
I've gone through a few things too, eventually settled on Redis.

Would be interested in seeing your queue, if it were public?
At 10x the price for S3.
If you're trying to sell software to mid-sized businesses, it can be hard to be profitable.

If you want a big market, you need to implement a lot of features. That involves many many people-hours of development.

You can specialise into one market and not need as many features, but then your market is smaller, and you're high-end.

If you're selling things that cost $50-$100 a month, and you're at 10 employees, you need a pretty big amount of businesses that need onboarding to reach profitability. And it's hard to convince people to use your software! It takes a time (and of course a money) investment.

But the counterpoint is after you hit profitability you'll probably stick to it for a while. if your company is at 4-digit LTVs for customers, that's basically like selling cars.

But in order to have your "cars" to sell you need to build a lot of things, and sell to a lot of people.

Thought experiment: Your product costs $50/month. Let's say you're the only employee. Do you think you could manage selling 100 subscriptions to reach "decent" profitability by yourself?
I agree. It did say that local artists were given "a few days" to play with the thing, which sounds frustrating.

Like all primitive synthesizer music, with a generous helping of tape delay and spring reverb it will probably sound wicked.
"If you're right 51% of the time when you invest you're going to get rich."

I completely disagree with this statement and I've seen it (or a variation of it) many times over the years. You can have a win rate of 99%, but still lose money if the 1% losing trades/investments wipe out all your wins. The win rate isn't what people should be looking, but the profit expectancy. Other than that, I agree with what your are saying, particularly #2. I don't think the majority of people should be actively trading/investing, they don't have the time to build the expertise and will probably not invest the time in learning about their bias.
Linode doubles RAM for free
If you bought the shares after IPO, then someone sold them to you, and they missed out on all of those gains. Even in the IPO, it's very common that you're buying shares from insiders and private investors rather than from the company itself.

(But even if trading is zero-sum in a strict monetary sense, different risk preferences, desire to liquidate positions in order to buy something you value more, etc. mean that it's not zero-sum in a utility sense.)
> they are entitled to something

Yes they can fork and pay someone to resolve issues for them. If the maintainer isn't paid by the business using the project then he owes them absolutely nothing.

That's why I'm talking about collaboration, and that's what developers often forget. Making a pull request is simple,80% of the time, the user has the capability to patch a bug, but he can't be bothered with that yet complains. That's entitlement.
Wow that site's UI needs some work. Just the wordings are confusing with no explanation.
Imagine you will have to go back to the code and work with it, after not having spent a single thought on the project for 12 months.
Stem CTO: Lithium-Ion Battery Prices Fell 70% in the Last 18 Months
File magic number
It's all about trust. So far no one I know has been burned.
Google banning advertisements of payday loans: Is this vigilante justice?
Fans should pirate my game rather than pay for it
I think git is a great example of this. Amazing tool, I can't imagine software development nowadays without it. But that doesn't mean the interface couldn't have been more consistent.
https://www.gsbank.com/en.html

https://www.synchronybank.com/banking/home

1.05%, but close enough.
gawk & awk are often underrated, I use them frequently especially in contrast to my colleagues who insist upon using "cut" to split command-output.

Of course for larger jobs there is perl, but using gawk/awk in a one-liner always feels nice.
I've seen both of these things happen in real life, and have worked at companies that had an explicit policy against low-ball salaries.

Startup valuations can also be "too high" -- making it hard to raise the next round.
So pay him to do a Cassandra re-test
I'd caution not to use commenting as a crutch, though. Code really ought to be readable and easy to follow all on its own. I don't think code should be littered with comments just narrating what's going on, since those can get out of sync easily when code is modified. The code itself ought to be descriptive enough to "tell its own story", so to speak. Comments ought to explain why something is happening if the author feels the code may be unclear.
From what I remember, the developer has said that he doesn't want to put much effort into the UI until the very end of the project, because he's constantly redesigning large subsystems and reworking the game mechanics. Any UI tied to any system or mechanic that gets ripped out, redesigned, or otherwise turned inside-out is going to have to be reworked every time that happens. So it gets a barebones UI until the underlying game mechanics are stable.
This is my all-time favourite book! Reading it way back in the day is what convinced me that studying Applied Mathematics & Computer Science was my path in life. Absolutely incomparable, I loved it mainly because it's a grand tour of everything that is amazing and the author doesn't shy away from code, formulae, and background (OGY Control, eigenvalues & eigenvectors!) necessary to really grasp the concepts and implement them.
>> The best handbook of all, though is simply the study of great writers whose work you love

That is definitely the way to approach things. If you come into writing by choice then it's because you've been drawn to it. Which in its turn means you have read works of others and have been inspired by them. Use those as your handbooks then, learn from the great, imitate them and eventually discover your own path.

It's not like you've never read anything of consequence in your life and all of a sudden you decide you're going to turn into a writer. Doesn't work that way. There are no "Writing for dummies" or "Learning writing in 20 days" manuals. You just start writing because you can, when you become ready for it.
Funny how his time horizon stretches out to 150 years, where the vast majority of people don't live past 100, and have probably, what 25-35 or so years of investing time in their lives? The insanely long term is a simplified look at the stock market as some money-multiplication machine, but I don't think it is really that to most people.

Given a normal person's time horizon, the difference between "did I start investing in 2007 or in 2009" is significant.
I have a shell-script in my sysadmin-tools repository called `maybe` which sometimes is /bin/true, and sometimes is /bin/false.

Keeps me on my toes ;)
International Energy Agency: Air pollution is the 4th largest human health risk [pdf]
Write cross-platform code
Yes, but these 400 kB won't contain any personal data.
"Democracy is the worst form of government, except for all those other forms that have been tried from time to time."

Perhaps the same can be said of civilization.
Explaining and illustrating orthogonal initialization for RNNs
Well, here's one for starters: http://bigstory.ap.org/article/7006105d422740f0b4b8675c90f9a...

Edit: here's a second: http://www.investors.com/politics/commentary/clinton-e-mail-...

I was under the impression that the rules around it were not vague, but as Secretary of State she was essentially given an exemption (or people chose to look the other way) because nobody wanted to rock the boat.

The issue of classified email (whether marked or not) on the server is another one entirely. And the rules are crystal clear in that regard.
> If you're right 51% of the time when you invest you're going to get rich.

Sorry, but this is completely incorrect.

The approximate formula for success in investing or trading is "percentage right" * "average win profit" - "percentage wrong" * "average loss" = overall profit.

Many traders are correct only 20% of the time (I'm looking at you, stock options traders) but make fortunes because they understand this formula.

You can also lose a lot of money even if you are right 90% of the time because you fail to manage a big loss properly.
You wouldn't need to publish 8 papers. The paper is pretty light on details, but there is this table in the appendix: https://osf.io/e6h5d/

It looks like there are two paradigms used with different stimulus sets and subject populations. I think a longish paragraph describing each paradigm, plus shorter descriptions of the different subject pools and word lists (and any other manipulation) would be enough.
Yeah, but being a powerhouse doesn't mean they don't introduce silly bugs. They do. E.g. on Facebook, a year or two ago, you could use dev tools and change hidden input field's value when writing a post and post to anyone's timeline (this story got tons of coverage for a bunch of reasons, vulnerability itself not being the prime one). Does it seem like a silly bug? Definitely. But it happened, it's not the first one, not the last one.

So it's a bit naive to assume devs at popular companies don't make bugs, they are superhumans, etc :)
I've seen some pretty janky pages on eBay.com, and the windows 'Turbolister' software is one of the worst things I've had the displeasure of using.

eBay is sufficiently large, and old-enough, to have substantial tech debt.
Protect people! Ha! The laws covering cabs require them to go into undesirable areas so those that can't afford a full car can still get around, accept cash payments for those unable to get credit, vehicle inspections, and so on. When you say protect people, do you just mean the people in your bubble where everyone has a card?
Here is a link to the source.

https://news.ycombinator.com/item?id=11997844
America has an amazing ability to attract the most high-quality immigrants, and an even more amazing ability to screw this up. Just give a green card to whomever can get a sufficiently high SAT score. This would start an insanely powerful brain drain in America's favour.
How Big Is an Enum?
The level of rigor in peer review is quite variable across disciplines and even specialties. This is a cultural thing.

The code review parallel is pretty good (and also captures that, code review is very variable also)
Carl Braun on communicating like a grown-up
My main two:

1) "Overview and Zoom" is a common UI technique where you give an overview and then let a user click on stuff for more detail. In programming, this means writing the "intention" as a method that's very easy to read, then have a bunch of helper functions with the details. This also forces you to only use one level of abstraction per method.

2) Only have one thing happen per line. This forces you to give what you're doing a proper name (as a variable assignment before you use it). This makes it easier to read, but makes all text processing tools work much better with your code. Nothing is more annoying than seeing a diff in a pull request where one line changes, but there are 10 things happening in that line and only one changed.
Caveat, don't be afraid to use advanced language features if doing so eliminates boilerplate.
Legal racism has been dealt with and schools teach students that racism is bad all over the west. Apparently this is not enough as there is this fuss about racism in the western world.

If we go further fighting racism, what are those effective interventions? Can we even trust that current relatively good situation will continue? Is there any way to reliably export western anti-racism?
Study programming languages in different paradigms than you're used to
Ask Cuckoo: How to reach your target audience
Elections are bad for democracy
I seem to remember that as of Berkshire Hathaway's annual shareholder meeting in April, Buffett was winning by a long way.
So? An increase in citizens trained in a highly intellectually demanding field and encouraging immigration of some of the best and brightest of other nations makes it more than worthwhile to pursue.
If you expect highly detailed policy announcements to matter, you have a very poor model of the electorate.
What's the negative view on "it favors companies that hire engineers over those that don't"?
IT can stay relevant by understanding the business
My money is on: He'll happily retest Cassandra if paid to do so. He may even accept a reduced rate to test if the specific concerns mentioned before are gone without testing everything else again.
I worked at a Fortune 100 that does billions in online sales. You'd be surprised at how often little, improper things like this can just percolate into production. And then they're defended by the people who allowed it to happen.
Trump said something to the same effect in his campaign launching book (Crippled America) where he lamented how the US makes it easy for illegal immigrants but difficult for honest people who studied and graduated in American universities but then have to go back to their home countries because the US doesn't want them to stay.
I don't have a lot of experience with pNFS but it's supposed to be an extension to NFS 4.1, which Amazon EFS is supporting. However, pNFS is not mentioned in this blog post, their website or the official docs.

That would be an interesting feature.
That is a pretty myopic thing to say. One of the biggest issues for the US higher ed system is that foreign students who receive an education here often can't stay or have to face ridiculous hurdles. In many thousands of cases, you are also wrong about buying the degree: research grants to universities fund those students' tuition and stipends, in exchange for good work.

Address the inflation of university budgets at the source of the problem. Rejecting highly educated, successful foreign nationals who we have already invested money in and who want to stay here and be productive in the workforce is one of the stupidest things this country currently does. Rejecting this proposal because you think it's a bailout for universities is cutting off your nose to spite your face.
The Econ 101 answer is that we'll have some number of people going into STEM fields would be more productive to the economy (and probably personally better off) as lawyers or cops or bakers or whatever. More realistically, it's likely to cause average salaries for engineers to decline somewhat as supply catches up to demand.
I don't understood this... the guy made some claims and then showed just a very weird graph? Was it supposed to be animated? I noticed some balls moving here and there every 5 seconds.

What the rows and colours are supposed to be? I saw colored dots all over the place with seemly no logic, and those row labels didn't made clear why some row has 3 colors of dots in it while another is empty...

I am dumb, seeing a type of graph I never saw before, or the d3.js he mentions is buggy?
I think the disjoint between the audio and the visual is amplified due to the fact that the read head(s) are a couple inches to the left under the cover. So there is always a perceived delay to the audio from where you are looking. This magnifies if you for example look to the right edge of the view while it's playing a couple inches past the left, less so if you can project the last "bar" past the left edge in your mind.

This device would be better I think if the read head could be moved directly to the left edge or even perhaps placed in the center of the view. But I have a feeling it needs to be in darkness to read best.

Interesting idea none the less.
How did you get that impression? (This is why democracy is hard)

Here is a well sourced and concise explanation of why Hillary's actions around email were unforgivable. [1]

[1] https://medium.com/soapbox-dc/12-red-flags-in-clintons-email...
Great, a site with an unskippable intro. But hey, at least it's in html5 and not flash!
A little further down it shows graphs of a "typical investing timeline" from around age 20 to age 60. It still looks pretty solid.
Sure self explanatory code is the goal. But in the real world this is never entirely possible. File parsing for example. Without seeing the file being parsed it can be very hard to interpret the code parsing it. Or maybe you are interacting with other software that doesn't always respond predictably to your code and you need to explain why these calls are made in this order.

I agree that practicing bad habits is unhelpful, but I still maintain that the best way to get better at programming is to program, particularly by writing and contributing to open source projects in your spare time.
I'll bet you're right about that. To AVG's credit, it may be overly protective and annoying at times but I don't think it has ever let me down outside of being annoying popupware. Maybe I should just finally pay for it like I should have since I've been enjoying their free edition for longer than my memory serves me. Note to self: do the same for Sublime Text.
AMD Radeon RX 480 Review on Linux
I'll just leave this here: http://thegarage.jalopnik.com/the-rotary-engine-sucks-177317...
ArsTechnica - http://arstechnica.co.uk/gadgets/2016/06/amd-rx-480-polaris-...

AnandTech Preview - http://www.anandtech.com/show/10446/the-amd-radeon-rx-480-pr...

Gruru3D - http://www.guru3d.com/articles-pages/amd-radeon-r9-rx-480-8g...

Tom's Hardware - http://www.tomshardware.com/reviews/amd-radeon-rx-480-polari...

TechpowerUp - https://www.techpowerup.com/reviews/AMD/RX_480_Crossfire/

Pc Games Hardware (German) - http://www.pcgameshardware.de/AMD-Radeon-Grafikkarte-255597/...

Computerbase (German) - https://www.computerbase.de/2016-06/radeon-rx-480-test/

Digital Foundry - http://www.eurogamer.net/articles/digitalfoundry-2016-amd-ra...