skysight-inc/HackerNews huggingface dataset:
1. If you are a new developer, please don't think you HAVE to make perfect decisions about your program. We all started somewhere and made mistakes and kept moving forward. Just don't worry, you will get better with time, and I bet this is how programmers we all look up to also work they learn and move forward and give up on trying to create the perfect.

2. Try to always ask yourself the question, "SHOULD I NPM INSTALL THIS LIBRARY ?" Asking this questions helps you question if you really like the way they do something, you get to ask yourself if you only want tiny a subset of the features it provides so instead you can do it yourself.

3. If you are up to it, and have some time, give Vuejs a try, Vue 2.0 with Vuex has been a delight to work on. Just take a look at https://github.com/vuejs look at the projects in there, the router, the store the boilerplate, everything is done by the same people responsible for the main library. It makes making things work together a whole lot more fun.

4. Use IRC channels dedicated to what you are learning some really great people hangout at IRC channels. Oh and reddit subs for your topic.
It's not an entirely relative measure. My understanding is that it:

a) Includes income transfers, like SNAP, housing assistance, EITC, etc.

b) Is based on the affordability of a bundle of food, clothing, shelter, and utilities consumed at the 33rd percentile.

In other words, after including most government anti-poverty transfers, is the person able to afford food, clothing, shelter and utilities equivalent to that consumed by the 33rd income percentile.

It is relative, but it's not strictly relative, because it's based on a small basket of necessities.
Your last sentence made me upvote your comment :)
I had the same issue. The first time I used React for a quick POC without react-redux/flux, I ended up using react-states a lot - ignoring all the wisdom out there. It worked well only for the POC and ended up refactoring a lot later.

While react and redux are simple individually, react-redux is incredibly frustrating to start with. React-router isn't complex, but feels a bit confusing at first. After a 3 days trying to make sense of "why all the complexity", I was just hours away from dropping the react ecosystem. I was primarily evaluating it against Angular2. Having said that, investing time in React ecosystem has paid off very well

1. Once your app grows, redux will make it simpler

2. Avoid react component states as much as you can. But that doesn't mean that every event dispatches a redux action. I divide my components into connected(smart) and presentational(dumb) components. These inherit from parent base components. That ensures that only connected components can dispatch redux actions and others are just connected with handlers.

3. While this is a ES6 question, I prefer TypeScript (and VS Code). I know many prefer Flow, I've found TS to be better. It might take a few hours to integrate TS in your React code - its only. Strong typing props and states with TS interfaces tends to keep your code bug-free. I also use TS-decorators a lot

4. To keep things simple, I pass the entire redux state to all connected components. Having custom base-components helps avoid being too verbose. And type-defining accessed store-states makes sure I don't break things. And then the intellisense in the editor keeps me fast.

5. Learn webpack in detail. This is very important. If you don't you might find yourself being frustrated quite often.

For simpler Apps ... use VueJS. Using React-Redux and react-router to build a todolist is just over-engineering.
Shower thought.. what about a keyboard with an application launcher inside it?
>And I ask myself, why did we overcomplicate front end so much and how did we get to this point?

I would ask you this. You spent 5 hours fighting with React Router in an app that doesn't exist. What problem are you trying to solve that React Router is absolutely necessary? Are you trying to build an application that does something? Or are you trying to wire up a bunch of code that doesn't do anything but has all the most popular libraries of the day?

>Is it just me, or is this too complicated for something that should be simple

Both. It's not just you - a lot of people have this issue and there is some complexity here. But there is often a good reason for the complexity, and the need for complexity often comes after the simple problems have been solved. It really sounds like you're getting too far ahead of yourself chasing something that you don't need because it's what you feel you're supposed to do.

I'll go back to it: what problem are you trying to solve that you need ES6 more than ES5? Or ES3? It's been my experience that people feel the fatigue when they don't have a compelling reason to use the tools they're fighting with. I don't think "there's a ton of hype around it" is very compelling personally.

So my advice to fight the fatigue is solve your problems as they crop up and really take YAGNI to heart. Don't use a tool for advanced routing until you need advanced routing. You can build a React site using ES3 and script tags if you need to. You don't need a huge redux architecture when you're first starting out. Work on getting a webpage rendering "Hello, World" as soon as possible. Then, start adding the cool libraries that do all the neat stuff for you.

I'd also add that in this specific case, you're dealing with a library (React Router) that just recently went from alpha and beta to stable in the new (and latest in a stream of breaking changes) version which complicates things.
I have worked in IT a long time. I learned during the 1980s as a teenager with a Commodore 64 at home and Apple 2 and IBM PCs at high school. This was before the GUI. Everything was text based and shortcut keys.

I remember people claiming that the GUI makes people lazy and dumber. There was an article called "Does the Mac make you stupid?" At the time were they split an English class in two and half used a Mac and the other half a DOS PC. The students who used the Mac had made more errors and got lower scores than those who used the PC. Then the students switched places and computers and those who used the PC had higher scores and the Mac lower scores. It was a big debate and flame war on the BBSes at the time.

http://jan.ucc.nau.edu/~lrm22/technology/stupidmac.html

It was a MacWorld article I scanned to a PDF one time but lost it. I had photocopies from 1990 that I scanned in a few years ago or so.

Keyboard shortcuts can speed up work but to a user who is not computer savvy they need the mouse and GUI.

As a programmer my goal always was to make things easier for the user where they don't have to think to use my UI UX etc that it is intuitive.
So, living in places like that and paying that much is definitely not normal.

For 1900 $/mo, you can get a bedroom in a really nice 2 or 3BR place in the desirable neighborhoods or a studio/1BR in the undesirable neighborhoods (sunset/richmond). I don't understand why the people in that article are living like that (Poor credit? Desperation to find a place fast? Ignorance of the existence of Craigslist?), but they're very, very far from being representative of SF real estate.
> What does the typical consumer actually get out of a networked refrigerator, or a smart TV...

So many things. Just because you can't figure out how to use a feature, doesn't mean it's not useful. Maybe I need to see how many eggs I have left, or what temperature a corner of the fridge is, or have a way to tell when my milk is going bad?

IoT is bringing in some potentially cool stuff, but being dependent on an on-line "service", and being closed and proprietary is making it worthless.
Yahoo? I thought they abandoned ( or forced to switch to Linux ) under Marissa.
Soundly checking HTML, including all kinds of customization and more is possible using SGML.

[1]: http://sgmljs.net/blog/blog1701.html
>There seems to be a lot of disdain and calling it a "rigged" system that makes the rich richer

Based on current evidence world over, it does appear the case. I know of no one either famous or even within my social circles who's become rich solely by investing in the markets alone. Unless one has deep domain expertise within a sector or has information to which they're privy, it is unlikely one will earn returns that significantly outweigh the market in the medium to long term. So, yes, it is not hard to imagine that equity wealth is concentrated among an elite few who also have an incentive to not let newer members in to improve their own returns.
Everything you state is true, but are we really supposed to use third world countries as our baseline? If Michael Phelps used Terry Schiavo as his competition, I doubt he would be as good as he is.

In the US we should be comparing ourselves to the best countries with the least amount of poverty, the highest socioeconomic mobility, and the healthiest populions.

We can't and won't improve if we always look for the lowest denominator then pat ourselves on the back because we are better than that.
Glad you wrote this.

I was often wondering whether it is possible to communicate with a psychopath. Communication requires trust, i.e. that the person you are speaking with isn't lying. With non-psychopaths this is achieved by the complex play of empathy, guilt etc. However, given that psychopaths lack these feeling the mechanism just doesn't work. It's an epistemic and, actually, quite terrifying problem: You have this human being and no chance to ever know what they think of feel.

And if there's no chance to communicate, there's no way to truly solve problems.

And now I hear the problem is experienced even from the other side. And note that I believe you because the comment was posted from a throwaway account and thus you have very little to gain from it.

So maybe, in the end, there's a chance to communicate over the chasm, possibly using some techniques from game theory?
The reason people are looking to science for this problem is because science has historically been at the forefront of every medical breakthrough. You're suggesting to give it up in favor of what? Some 'radically change your diet' bullshit that you haven't backed up with a single piece of objective evidence? You're really advocating snake oil over engineering? That's not to say that radical diet changes don't work, but your approach to this is completely backwards.

I'd like to think that society as a whole has moved on from your mindset about a century ago. We're past meaningless non-statements like 'this isn't guaranteed to solve the issue but I bet it will help a lot'.
Bitcoin Exchange BTC-E and BitcoinTalk Forum Breaches
The ecosystem has exploded over the last 18 or so months, while the language has had some dramatic additions.
There are so many great tutorials and libraries with examples, but no clear 'best-practice' or agreed-upon adoptions to the additions to the language.
I see this as a teething-stage to a very interesting period for programming languages and software development, as frustrating as it can be at times.
Did you even look at the graph?

Let's assume you bought SPY (very conservative ETF index) right before the crash at its high of 156.33 (Oct. 12th 2007 ). If you just held and did nothing, you'd be up a hefty 81%. This is not including dividends or even better a DRIP which would compound dividends and automatically bought more on the way down lowering your dollar cost average.

https://www.google.com/finance?chdnp=0&chdd=1&chds=1&chdv=0&...
Ask HN: What are the services you use to monitor your website/service/api?
What features/changes do you want that your current service provider doesn't provide.
Thanks for posting this. Sums of a lot of my feelings when reading the more ill-informed comments related to markets. Btw, Interactive brokers I personally prefer. Etrade and likewise others I find be too much oriented for beginners.

Robinhood I tried once but hate that it's only for the phone. My terminal is much more capable of trading than my phone.. though I get why Robinhood was designed like that... to appeal to those who are more phone oriented.
It's easy to accuse people of "defeatism", or "alarmism", when really you just don't like the simple truth. Your idea is nice, but unless you're capable of producing a workable roadmap and seeing it enacted, who really cares? Everyone has "good ideas" and many people have good intentions, but if you can't produce results that differ from the next guy it just doesn't matter.

Unless you're Churchill rallying a nation to fight, you're in no position to accuse anyone of defeatism for pointing out the reality we live in.
Saying "it's not the most elegant language" is quite (mis)leading. While I would not claim that it is the most elegant language, I would most definitely claim that it is elegant.

Two things that many people get wrong about JavaScript: (1.) Most of the ugly parts involve interacting with the DOM, and the DOM is NOT JavaScript, and (2.) Just because some people write ugly code with it does not mean that the language itself is ugly.

ES6 and ES7 have done wonders for the language syntax, and the flexibility of the language allows you to write in any combination of procedural, functional, prototypical, object-oriented programming styles. I mix them together as needed to make programs more intuitive and easier to follow. Programming is an art, and JavaScript is a powerful and versatile tool.

You are also wrong in that it being the only language supported by browsers. That may be the case now, but in the past many, many, many websites used flash and java applets. Quite frankly, the reason that JavaScript is what we have now is because it really is that good that it replaced all the other options.

All of the other questions are all over the board... It sounds like you are trying to get us to write a homework assignment for you.
You write very well, so there's that. Probably not genius level, unfortunately.
Alright, I admit that I skimmed, came across a bunch of GD code at the beginning and assumed that you just got lucky with a very greedy approach, sorry :P.

The update function you wrote on the distribution space is continuous, and distribution space is compact (since there's no way to have more than N of any letter), so there is necessarily at least one fixed point.

Fixed points could still be sources though, right? It clearly wasn't, but I'm curious to know if you got lucky, or if you merely didn't get unlucky.

I wonder how effective your code would be on the following self descriptive sentences (base j).

For instance when j=2, "100 1,11 0" has 4 ones and 3 zeros as described.

Does your code consistently find solutions as you increase j? At what point does the computation become unfeasible?
>Maybe I need to see how many eggs I have left, or what temperature a corner of the fridge is, or have a way to tell when my milk is going bad?

And for the ability to do that without just... you know... opening the damned fridge you're willing to buy into the IoT. That's an insane tradeoff, for benefits the typical consumer would laugh at you for buying into.
هنر کوبیسم در طراحی داخلی and عکس
According to the report, a lot of what triggers this is the massive need for housing assistance.
> If you bought nearly anything after Nov 21st 2008 and held, you'd be way in the green since then.

You can always pick a crisis, and say that hold equity after crisis or before crisis, and wait for years, everything is green. Just pick a correct time period. The chart is obvious to naked eye, and an elementary schooler can make that argument correctly.

You ignored the fact that who caused the crisis and who are hurt the most. Whatever you said is an camouflage over a much more profound issue.

The fact that less rich or powerful can still grow matters much less than the relative ratio and wealth and power distribution.

The fact is obviously that the world's current market structure make rich become richer, powerful become more powerful. And let's pray that does not eventual causes society and economy breakdown.
Which HN guideline forbids or even suggests that advertisements should be frowned upon? HN is constantly filled up with advertisements. Changelogs are a good example of articles that don't even try to hide that they want you to use the product in question and have minimal benefit to non-users.
Sorry in a bit of rush as it's Sunday here, I will try to write a blog post with more detailed example later tonight.

For now, I will share this snippet:

document.addEventListener('state-change', (ev) => {
const { key, action } = ev.detail;
const state = { key, action };
window.history.pushState(state, null, `/${action}/${key}`);
console.log(`triggered state change. action: ${action} key: ${key}`);
return handleState(state);
});

And then in your app code (for example, when a user clicks a button), trigger a state change:

const event = new CustomEvent('state-change', {
detail : {
state: state,
key: key
}
});
document.dispatchEvent(event);
So all the improvements the US us made in standards of living was completely pointless? We just need to be better than dying from diarrhea from our drinking water, then fuck it we've accomplished everything! No reason to improve anymore.

Comparing the US to India is fucking stupid.
As an absolute JS newbie, I tried Angular, Angular 2, React and Vue 2.0. I found Vue most easy to approach. Vue is well designed, documented, super light and easiest to get external packages working.
>On the whole, I'd argue strongly that the best someone can hope for in trading in long run to ride the alpha of the market overall - and that's it. (Or again, to pursue some very broad strategy without having to pay a private wealth manager fees)

Wouldn't there be no such thing as alpha in the overall market, as alpha is the returns outside of the average? Solid points though.
Because I take the battery out and put the whole thing in a padded box when I'm not using it, and in general when I am using it I'm aware that the possibility exists that I'm not actually private.

Edit: Just to be clear, I don't do this because I think my life is so interesting that anyone who could snoop, would snoop. I do however believe that there's value in having a consistent set of behaviors and standards around these issues, in the same way that we do with sanitation. There is the added bonus that should you ever find the need to keep a secret, you won't give the change away with a change in your behavior.
Are there any security issues when replacing the SHA-256 initialisation values?
Given the value of all possible viewpoints, that the expected value of "a different viewpoint" is 80 IQ points (i.e. moronic) is probably wildly optimistic. Most viewpoints aren't helpful.
Thank you. I wish you the best of luck. I mean it.
Given my approach; a single A/B test once a year, one week at 0.5 price and one week at 1.5 price, less than 2% got a half-off discount, and less than 2% paid the higher price (actually, since sales usually drop for the 1.5 price, it's likely closer to 1% of sales pay the higher price).
Yup. I submitted my application based on the FashionTech wearable I designed, built and wore to protest the lack of inclusion of any local women at a Western tech event here in Shenzhen. http://i.imgur.com/2D8dESV.jpg

I ended up stomping around a mainland Chinese tourist attraction half-naked in it, giving speeches to massive Chinese crowds about an inclusion issue. http://i.imgur.com/9Dz9M9N.jpg

Anyone who knows anything about China will tell you how unbelievably dangerous this is.

But I was protesting the MIT Media Labs best buddy Make Magazine so I'm sure my application has been directly filed in the trash- even though I'd be very surprised if anyone else applying has done anything that dangerous.
Linux Foundation: Businesses 'Will Fail' If They Don't Use Open Source Code
Spreading that idea is.
Surely it would be useful to check fridge contents remotely while at the supermarket. Is it worth the (present) sacrifice of privacy and security? Imagine a fridge that is both secure and private... would you dismiss the feature then?
Why not? as long as they spend their money, it would be good for India.
How can a disobedience award be a thing? Aren't those concepts fundamentally incompatible?
Aaron Swartz being dead is becoming annoying.
> There's a reason it's recommended that you have 6 months of living expenses liquid.

Do you mean cash equivalents? Public stocks are liquid.

Personally I think the 6 months advice is too conservative. If everyone calculated the damage inflation tax did to their savings account each year, probably more people would be willing to take a bit of a risk and invest their savings (or a greater portion of it).
I'm sorry, is this satire?
In a world with mandatory genetic testing, genetic engineering in order to "give your child the best possible start" will definitely ring true.
It's easy to change history with a plain SQL backend. But in any approach that stores the ledger in anything that boils down to a publicly distributed Merkle DAG, changing history or other manipulation like generating assets from nothing is impossible to do in secret.

The only potential issue is double-spending, or to be more precise, invalidating a transaction after the fact by pretending that a different, conflicting one, came first. This problem could be solved much more cheaply than in Bitcoin by using signatures by a trusted (e.g. elected) well-known council.

The only problem with that approach is how to bootstrap the value of such an alternative currency. Bitcoin somehow achieved that by appealing to a mixture of cypherpunk and libertarian ideology, and from there it developed to the current status which is an entirely circular origin to the value. I don't know what the alternatives for bootstrapping are. Fiat currencies can bootstrap via taxation, but that's not really an option here. Perhaps something like getting Valve to use such a system for their card trading :)
> Refactoring vanilla js is a nightmare.

Interesting. I think if ES6 is properly used, thats good enough. At least with the sizes of projects I have worked on.

And I think the webpack is the single most awesome thing to happen for front end development. With webpack 2, things are just better than ever. With an overhauled doc site and good examples, its all of the good stuff.
An SQL database with a simple front-end could be all of those things you named, and much more cheaply than Bitcoin.

The real issues lie elsewhere.
Robinhood being free of commission and having no minimum is a good start for the larger pool of people without much to put up. Personally I started with $500 from student loans and a scottrade account. I wish Robinhood was around when I was starting. You could start investing/trading in theory with just $1.00 but there is the problem that many S1 stocks are not too great. However a good $45 stock that goes up and down by $3 over a 2-4 week period is accessible. Even if not, $45 to $48, then back down to another stock at $45 in the range can lead to similar results. However one must not get into the trap of only wanting that particular price point, it's just an example. With Robinhood I would have been able push out to higher amounts sooner due to the lack of commission fees.

To me, a $45 start anyone working can figure out. Part of the problem if you ask me is the normalization of the notion of "you can't", etc. I've been reading Mass Flourishing and The Complacency Class this past week; the "you can't" notion, the loss of risk aversion seems to be the key driver. However I think it's also where we put of value regarding information. Instead of watching a sports game or the Bachelor, read a few books about investing and trading which you can get at a library; worldcat.org can help one find such libraries that hold those collections. However many would scuff if they were told to make that trade off.
Give me a break.

I blamed Clinton for the dot Com bust and Bush for the Great Recession.
My point was more along the lines of "lets stop repeating the 'give up' mantra" and move forward to "lets explore how we might rectify the situation". But alas you are also right, I did not present a shovel ready legal pathway to success.