skysight-inc/HackerNews huggingface dataset:
React's API is fairly stable, and has been for a long time. Redux has almost become the de-facto standard for new projects, but again, it is just a library around a good idea: do all state transitions inside a pure function - get an input, return a new output, and the entire view gets re-rendered with it.

You can use React's immutability helpers inside it, or or performance in large state trees, use ImmutableJS that gives persistent immutable data-structures. This comes at the cost of having to use its own methods like map and filter, instead of normal JS everywhere.

But that is pretty much it. There are a few more other concerns that'll necessitate the use of redux-thunk, (which at its core is a few lines long), but you don't need to worry about any of this upfront. The thing with React is that unless you make costly architectural decisions upfront, you can always learn as you build, and figure out the right way to structure your project. Once you've built a fairly large project, you'll form your own set of opinions on which way you like to think about front-end code, and that'll inform you on your next project.

There is a learning curve, but with React, you are always thinking about fundamental things like encapsulation and message-passing than trying to learn non-transferable knowledge about a particular framework's quirks and conventions.
Making vehement categorical statements about matters of taste is an old flamewar thing on programming message boards. I'm guessing the downvoters don't want that trope on HN. If so, I have to agree with them, because such discussion is basically never substantive.
You didn't get the rerender-everything-everytime breakthrough, the only React feature that makes it worth using.
The Scale of Impact – Social Games Online [Infographic]
Social games have witnessed skyrocketing global growth in recent years and are nicely cruising to capture almost 50% of video games market by 2016. According to a market study by Transparency Market Research, social gaming market is expected to reach US$17.40 billion by 2019, up from US$5.40 billion in 2012.. Read full blog at-http://gamentio.com/blog/-/blogs/the-scale-of-impact-social-games-online
It really depends on how your country treats housing. Is it a consumable good or an investable asset? If your country conflates the role of housing as shelter with it being a primary store of wealth, then demand doesn't just reflect demand for housing. It reflects demand for a safe, appreciable asset in a ZIRP world, which is what urban housing becomes because cities will never be able to physically scale their infrastructure or capacity as rapidly as capital can move through their property values.

Not only has Vancouver built a lot, it simultaneously cultivated immigration programs to bring external capital into the local housing market.
http://www.tandfonline.com/doi/abs/10.1080/14616718.2015.111...

Other countries, like Japan & Germany, treat housing as a consumable good or even something that depreciates. So even though Tokyo is one of the most developed cities in the world, housing actually goes down in value. http://freakonomics.com/2014/02/26/why-are-japanese-homes-di...
Have you found this to be the case at all? Is it more difficult to avoid bugs when writing in Lua?

Good questions.

- variable name typos (undeclared vars are nil),

There's a linter to catch undeclared variables. https://github.com/mpeterv/luacheck There's also some runtime checking techniques you can use. http://www.lua.org/pil/14.2.html

- accidentally confusing array-style tables and hash-style tables (or vice versa),

I've had that happen about as often as confusing Python dictionaries returned by different types of functions. (Which is - not often enough for me to remember the last time that happened)

- tables with "holes" (nils) in them,

When I'm building a vector and I want holes, I use false to fill the holes.

- multiple assignment with wrong number of vals or vars (mismatch silently ignored),

For me, when I'm thinking about multiple assignment to function returns, it does mean having to read documentation for a library function more carefully than if I was reading the same for another language. If it's as simple as "local a, b, c = 1, 2, 3", then it's no issue.

- variables are global by default.

If I'm using linting, when I can't have global variables implicitly, then it's like C or Java where I must declared all my variables and by default they are local to the scope.

Otherwise it's just like javascript where it's best practice to always declare variables using "var".
Δωρεάν+Μαθήματα+SEO+Google+-+SEO+|+WEB+DESIGN
If you have any suggestions or questions - write me here or on telegram @philr
SketchUp[1] is built for ease of use for in mind for people who are not 3D pros but there's actually quite a lot of clever things going on under the hood[2] so it would not be a weekend project to reimplement. But yes, a web based clone would be awesome.

[1] It's now owned/developed by Trimble, Google sold it to them ~4 years ago

[2] http://mastersketchup.com/sketchup-inference/
Well Apple dont need to pay dividends, it never was a dividends stock until recently. The whole notion of buying back stock just to save a few dividends sounds silly to me.

I really wish someone enlighten me why, why spend 183 billion on share buyback and dividends when it has nearly no use for the stock price, and no real use for the company long term etc.
Must watch 360 degree video of Swiss Air Force flying in formation over Alps
Java JIT is the state of the art, in most generated code is _only_ 50% slower despite totally wrecking cache/memory locality.
Same was true of Java. Sun called it the "AWT event dispatch thread." Any process that does computation or blocks on IO should run in a separate thread and periodically post updates to the UI via an event queue.

https://docs.oracle.com/javase/7/docs/api/java/awt/EventQueu...
WordPress – Behind the Scenes – take a closer look at the database structure
Same thing happened to my grandfather as well -- late 70s, was put under to have a small bladder tumor removed, came out of the anesthesia delirious, and was in a nursing home for the rest of his life.

Scary, and terrible.
It's a way but a lousy one. How can any system which depends on a flow of wealth from the efforts of A to support B, work in the long term? Ultimately people have to stand on their own feet.

The benefit system in Britain demonstrates this very well. About 20 million families receive some kind of benefit (64% of all families), about 8.7 million of them pensioners. For nearly 10 million families, benefits make up more than half of their income (30% of all families), around 5.3 million of them pensioners. Isn't it much the same in the US? Is this really the way forward? It’s certainly got impetus because Peter will always vote for Paul to pay more in tax when it benefits Peter. A drastic rethink of the whole way we organize ourselves is needed. We need to get smart and focus on how to stem the natural condition for most people - which is poverty - as history tells us. Only in the last few years has this trend been reversed to a great degree. Global capitalism is lifting people out of poverty at the fastest rate in human history because people are increasingly being enabled to dig their own way out of misery.
> Your blurb seems to contradict it self. It claims we need stimulus then it says the West & Japan tried this already and it hasn't worked.

That is not what his comment says. It says we're not doing the stimulus needed.
Anyone had any luck finding the license?
Show HN: Twitter Plays Snake
Those screenshots of code are kind of a challenge to read.
To me it seems obscene for an individual to own a 300ft yacht.

Well, OK, you're obviously entitled to your own opinion and principles. But where then do you draw the line between what is obscene and what is not?

If you've ever travelled to a foreign country on holiday, you've enjoyed more luxury in those few days than many people in the world ever will, and you might have spent more money on your holiday than it would take to build a well in Africa and save a whole village from multiple hours of walking every day just to access potable water.

If you've ever had major medical support paid for by some form of insurance or national healthcare provider, you've probably enjoyed better treatment than is accessible to most people in developing economies today.

If you've ever had a $5 drink in a coffee shop, the money you spent on that could have bought an entire meal for a homeless person in your own city who is going hungry instead.

There is always someone richer and always someone poorer. What we regard as obscene, in either direction, often seems to be more a subjective product of our own background and position on the scale than any objective measure.
GIF sites are moving to GIFV that is just a video file, it looks like there is no real need for any new format.
Here's how to fix Safari, if it just broke for you
Nokia was probably the first vendor to try out web apps with Web Widgets on Symbian.

Web is never going to be as feature rich as native, until the browser becomes nothing more than yet another JavaScript VM.
How often does this kind of thing happen? and what are the practical consequences?
Hmm, I don't think management really ever forbid us from doing anything. I'll have to think about that, but that's not my recollection. It's more that we had a lot of customers in different segments wanting different things, and our own list of what we thought would make a good release, and only so much time and personnel to make things happen :)

A teammate just told us he's bummed he didn't have just a bit longer to work on Workstation, because he had a few things left he wanted to fix and rework for the next release. Our personal todo lists were so long, we could have filled another 10 releases... Shame we didn't have that opportunity.
Is React a framework?
I don't get the boilerplate around App.main:

var App = {
main: (function() {
window.addEventListener('load', function() {
// ... initialization ...
});
})()
};

The initialization code is with an event handler function, fine. But then:

- Then registering of that event handler is stuffed into a closure, although it doesn't declare any variables or pollutes the global namespace in any way.

- This closure is then called immediately and its return value is stored into App.main, although it doesn't return anything, so App.main is declared as "undefined".

So there are two layers around that code which serve no purpose at all. Why not simplifying it? All you want is an App namespace and an event handler for window / load:

var App = {};

window.addEventListener('load', function() {
// ... initialization ...
});

Or, if you want a "real" main function (i.e. an "App.main" that is actually a function):

var App = {
main: function() {
// ... initialization ...
}
};
window.addEventListener('load', App.main)

If you put your <script> tags within <body>, right before </body>, you could simplify this further to:

var App = {
main: function() {
// ... initialization ...
}
};
App.main();
The French Digital Bill
Businesses aren't demand-side. If money is printed, it should go to consumers.

Or better, find a way to raise wage levels, while dropping equities, especially real estate.

I'm a fan of government as employer of last resort.
Lenovo used '12345678' as filesharing tool password
Delfines y ballenas de nuevo en peligro, wifi bajo el agua
Seems fairly obvious that market making would become almost full automated eventually
> Can't blame the tools for a lack of decent developers any more than you can blame a spell checker for illiteracy.

> True; us, the Web community (which also built the frameworks) as a whole, is to blame.

Doesn't this come across a bit naive?

Is the suggestion that web development is somehow different than all other software development? or that unless you're one of the ~0 people who are able to build a usable programming language, OS, and libraries on top of them, that you're not a "decent developer"? Because while I get you're discussing JavaScript frameworks. "Learning the Framework" and not the details, has been the only reason software development has been able to scale so beautifully. Frameworks that lower the relative complexity should and are encouraged in all other forms of software development, why should web development be different?
Are you making an argument against react or an argument against writing react in a pure functional style?

Because unless I'm very much mistaken:

ComponentWillUnmount
Props
Props
state

for the first few complaints.

React is just the view layer, arguing against react because "you need a framework" is like arguing that no one should write their own applications without a framework. It is a separate discussion than what to use for the view rendering.
Yes, thank you, Mozilla for the hypocritical statement. It changes so much about the result!

I wouldn't say "we like to bitch about them", as Panorama, Thunderbird and FirefoxOS were an important part of my technological ecosystem.
These points were dealt with much hypocrisy (they're dead but not dead, we just know it because of leaks...), which permanently stained my opinion of Mozilla.
I'd love to have something like this as an animated desktop wallpaper - but it should be moving much slower. Are you aware of a movie file that I could use for this?
There's a lot of machine effort though, if the data structures are big. If you're doing computer graphics or vision and you have to send images or 3D assets around, it won't perform very well. I think Armstrong consistently underestimates the cost of messaging compared to shared memory - or rather the fact that systems where this cost is prohibitive exist, just as much as systems where his approach works great exist.
The Radcliffe Line
same issue here.
this non-deterministic behavior is really fxxked up. there's one time that our building process suddenly begin to fail, spend a few hours on the issue, and it turned out to be one of the babel-core patch release is broken.

some of the very fundamental designs of npm is seriously wrong.
So this is why I couldn't siphon (gray) water from my bathtub on the third floor to water plants in the yard, not lack of moral fortitude. Great!
Let's migrate to Omnibus Gitlab
Is it better to run outside or on a treadmill?
Starting my first MVP with right tools and making right early choices
I took 6 months off and want to work on my own idea full-time, or perhaps take some part-time consulting with 10x or something in parallel. However, what I'm planning to work on is outside of my area of expertise: I've been doing c/c++ in telecom for the last 10 years, but the idea has nothing to do with what I was doing for the last decade. It's about providing networking infrastructure services for tv channels to help them to easily provide netflix-like experience/quality.
At first, I want to develop minimal working prototype (MVP) within 1-2 month time-frame to be able to start live testing with some existing low-traffic tv channel. On tech side, for MVP I estimate that I need 75% effort to get browser client side done and 25% for server side business core. Browser side effort here is real coding, marketing website that should include some kind of customer dashboard with charts and all kinds of js related stuff isn't part of MVP.
IMO, it would be best to go all the way javascript: node.js on server side and plain js on client side. Even though I'm pretty good in plain javascript I don't know much about node.js, so, some may find it crazy, but I'm thinking to go c++ and js mix or all the way c++ (with emscriptem for client side) and use my 10+ years experience with c++ instead of wasting time to get basics done with node.js. I think I'm perfectly capable to get tech side rolling in reasonable amount of time regardless of tools selected, and even though my question is about tech side, it's clear to me that all my efforts are futile if I cannot get some side help with marketing (e.g. ppl who know how to approach prospective customers and get them interested). I have a couple of leads that I want to use at first, but eventually I'll have to look for people who could take care of marketing side and customer interactions. So, my second question: where can I look for prospective teammates? :) not some college students obviously
You don't need to sell it to me, I see the advantages--but precisely because I understand those advantages, I actually intend to complete my next project with Cycle.js [1].

[1]: http://cycle.js.org
Also https://echo.getpostman.com and https://echo.getpostman.com/status/:code
Panorama, Thunderbird and FirefoxOS were an important part of my technological ecosystem

They weren't an important part, or achieving being a part at all, of the ecosystem of the rest of the world, though. Not sure why you think continuing to pour resources into them after they were clearly lost causes is somehow a good idea, let alone it makes Mozilla hypocritical. Aside from the "me me me me it's all about me" syndrome that oozes from your statement.

On the contrary, Web Push is an important feature needed for parity with native apps, so Firefox supporting them is a great result.
Please Not MPL. Apache 2, so most company could understand, MPL they will have to spend a lot more time evaluating it.

And I dont know of any popular project that uses MPL apart from Mozilla Firefox.
I've finished reading the links. The first one was great. Thanks, I learnt something. It's not my field, but I'm vaguely familiar with the workflow, having friends who design ASICs, work at Xilinx, etc. I've encountered some algorithms in advanced compiler texts.

But what I was specifically curious about was applications of stochastic optimization to EDA workflow. It sounded like you'd seen papers on that topic.

My interest is purely in applications of stochastic optimization. I'm not about to jump into EDA.
I think this might not be possible for SSL/TLS traffic, without some kind of MITM.
You are an IT Entrepreneur.
You could probably still do that with CSS and JS. You just have to detach your quads from the DOM when you know that they won't be visible.

Also as long as you use `backface-visibility: hidden`, then any cube faces that are turned away from the viewport get passed over after a very initial fast check.
> In the 90s, we didn’t know what we needed

Except the Web had already been invented at Xerox PARC and further explored at ETHZ using native technologies, so I guess some had already a pretty good idea.
User Centered Design – The driving force behind your website
Well said Sir.
interestingly, i believe your sample code would, in all but the latest version of Rails, leave someone open to some of the Rails CVEs that just got announced yesterday :)
Has anyone wondered how similar in spirit React is to the way html and js were originally meant to be written (with embedded callbacks, e.g. `<a href=bla onClick='myfynction>`)? Isn't the `a` in some sense a React component with explicit and local state changes, only missing a explicit render? Theoretically one could build on top of this to make Angular/React style custom components without the need to re-invent state management code.

Of course, I am missing many good features of React (due to my lack of understanding, as I am not a front end developer), but at least conceptually one could argue the original idea was there all along. Perhaps the real power of React lies in the excellent diff algorithm they came up with. Any thoughts?
SERP Checker: SEO tool which keeps history of keyword
Right, I agree with that completely - I'm more suggesting we should be a bit ashamed of ourselves as a community for pushing the equivalent of tech tabloid news to the front page.

There are more appropriate mediums to argue in if we feel Paul Allen isn't responding well enough to "the incident".
I think they forgot to capitalize Product Delivery (?). Someone fix it and submit a pull request.
The problem with EU is neither austerity nor stimulus. The problem is that there are very few local products sold globally and locally and employment is both scarce and ill paid for the populace at large, since local industries moved to cheaper pastures in the 90's or died from competition.

There is no crisis to fight in Europe, this is the "new normal" - unless they can get over their collective asses and move forward what schengen has started and become one grand federal state, otherwise everyone will proudly sit on their ruins in a couple decades.
(Co)Monoids for composable resource management
> Most Google apps supports a way to have multiple Google accounts active, typically by adding /u/[numeric index of a specific Google account]

FWIW: instead of manually entering the numeric index, you can enter the full email address instead. so you can enter /u/john.d@work-email.biz or /u/j.doegg@gmail.com. This is handy because the numeric index depends on the order in which you logged into (added) the accounts and I don't want to have to remember that!
This is goosebump material!

It is fascinating how concepts from classical mechanics port over into quantum mechanics. If we'd stuck with F=ma, perhaps we may not have gone far. However, the Hamiltonian and Lagrangian approaches are sweet ports.

Noether's theorem [1] connects symmetries of a lagrangian with corresponding conservation laws. Time translation symmetry implies energy conservation. Space translation symmetry implies momentum conservation in the direction of translation. This ports directly to QM. Feynman, in his lecture series, mentions another such symmetry - phase translation symmetry - that exists for QM actions and asks what conservation law does that correspond to. It is the conservation of charge. Mind blown!

[1]: https://en.wikipedia.org/wiki/Noether%27s_theorem
Some building seem to have their internal walls mapped. For example:

http://maps.nls.uk/geo/explore/#zoom=20&lat=51.5226&lon=-0.1...

Or am I reading this wrongly?
Thank you for writing this article.

I'm an iOS/Backend developer looking to do some lightweight front-end programming, and whenever I look at the JS landscape I shudder.

Nearly every suggestion from JS developers is on the line "Have you tried "React/Angular/Ember/ObscureJS?". The Grunt/Gulp/Yeoman/Bower/Npm/Batman.js etc toolchain makes me question my sanity. Is it so difficult to just use Plain Old JavaScript™ and be done with it?

Sorry for the rant, I wish novice JS developers like us had a better way to get initiated in the JS land.
Slack Integrations Guide: GitHub, Pivotal Tracker, Circle CI, Heroku, Rollbar
If only we could get away from the patent issues.

HEVC Advance now changes an additional 50M/year to the 25M/year with MPEG-LA.
Our interpretation of the events is very possibly limited - we as a community are hardly informed enough to be judges of Paul Allen's character. It's just poor content, that leads to a lot of silly trolling and adds very little to Hacker News.
Hikikomori: Japanese modern-day hermits
Boeing builds the most powerful rocket ever made
> Windows has WinRT, which doesn't offer native code,

WinRT is pure native code.

It is just the second coming of COM+ 2.0, the competing project to CLR, back when Microsoft was researching between improving COM or extending something like Java into a COM like framework.
If you're planning to work with minimally-vetted freelancers or otherwise need to consider malicious internal stuff, strongly consider injecting sensitive data like database passwords via e.g. environment variables instead of storing them in the repository at all. Rails etc. should make this easy. (Of course, your system administrator can still read that data, but that's pretty much unavoidable.)

(This is a best - and common - practice for exactly the reasons you hint at.)