skysight-inc/HackerNews huggingface dataset:
To me it doesn't matter what React likes to think it is, to me as a front-end developer all that matters is the tool that I choose can do the job. React is just another tool, in a way it is like jQuery: it doesn't do everything and it shouldn't be used for things that need something else more full figured or suited for the task at hand.

I think Facebook do a great job explaining what React is and as far as I am aware, they don't go claiming that React.js is a 100% reactive library. There are no unclear intentions, Facebook saw a need to improve DOM performance and they achieved it in a great library that I think is a pleasure to use.

I have built two projects solely using React and the Flux architecture. I don't have exact figures, but it saved me a lot of time compared to using something like AngularJS which has too many conventions and opinionated ways of doing things. I was able to get a nice performant CRUD application running in the space of a few days, most of the time was spent creating the API and getting it to return the appropriate data.

How can you write off a library like React.js when it goes beyond just another open source project, and unlike Google with AngularJS, Facebook aren't dogfooding their own product and they are actually using it for parts of Facebook, the Instagram website and a few other places. React.js is a battle-tested library. Those who have used React.js on a proper project know that it is very easy to use and its performance is better than any other SPA framework by far. Unlike other frameworks and libraries, React.js can back up its claims and has proven benchmark after benchmark it can render UI components extremely fast and efficiently (with a concentrated effort to make it even faster).

Sure, React might do things differently and it might not be a pure form of reactive programming, but it works and it works very well. Coupled with Flux, you actually do get a nice and reactive development environment where events are emitted and things are updated throughout your application from your stores. I don't really see Flux being mentioned in the slideshow which is a shame because Flux is the missing piece of the reactive puzzle.

It's easy to say something sucks without really giving an adequate reason why it sucks. Seems like the author had a bad experience with React or perhaps just wanted to ruffle some feathers. I also got the impression the author was trying to pedal their own library Cycle.js which will no doubt be abandoned in 12 months time when it doesn't get as popular as he would have hoped. Nice try, but not a very well thought out argument in my opinion.
And just when I felt so smart about using "ö" and not "ø" for fake furniture…
“In the history of science there is always a tension between revolutionaries and conservatives, between those who build grand castles in the air and those who prefer to lay one brick at a time on solid ground.” -Freeman Dyson
Documentation. A subject that is as important as the code, maybe more. We are internally always debating what does an user should known by default, and how. Both matters and depends of the target (noob, average, expert) or which approach first (kv based or python based). I personally don't know how to write a good documentation, except if it's just API documentation. But in that case, API is just not sufficient, as concept need to be explain as well. We have actually one big big big contributor named ZenCode who work behind the scene on the documentation, and constantly fixing our mistake / wording.
I ear you loud and clear, wish to have a better programming guide / module documentation as well.

About ListView... Let's say it's one of the Kivy widget that doesn't fit to the Kivy logic at all. Historically, i started a POC about it, then a contributor take it and worked a lot to have something that works for any sort of situations. And he tend up to something that cover lot of cases, but still bugs, and not easy to get it. Not to mention issue with performance.
That's why i rebooted the ListView from scratch, and named it RecycleView (like RecycledView from android): https://github.com/kivy-garden/garden.recycleview

The visual design was taken from Meego / Android in the old days. We might be able to refresh the theme one day, if we have somebody that can contribute to it (i mean a real designer, not a coder). I rarely use the default theme, always extend a widget to put the designer visuals i got on customers projects.
This only handles functions of type a -> a -> a (https://github.com/robpike/filter/blob/master/reduce.go), whereas a generic reduce takes functions of type a -> a -> b. So this is certainly not proof that you can write generics in go. See also pmahoney's comment in this thread: https://news.ycombinator.com/item?id=9315721.
The things I like better in OS X aren't really design features so much as, well, I don't know what you call them. App bundles are so much better than whatever MS has in store. The help in OS X is beautiful. I can still remember the day I gave my mum an old MacBook and showed her that she can basically search for a button she can't find in realtime and they'll point a huge arrow at it. The Windows help (still is?) really just a huge manual.
Chef server API integration with PHP
On the Design of Matrix Libraries
Huh that's interesting. I haven't looked much into ARC (or NaCL for that matter), I just wanted to point out to the parent that it's fairly typical for Google to go down multiple paths for a specific market need. They're kind of the anti-Apple in that regard.
This isn't a payday loan trap. Greece has a structural government AND trade deficit, not a payday liquidity problem. Even if the loans were forgiven today, they would have to loan again tomorrow.
Luke's essay reminded me of Aaron Swartz's essays when he dropped out of high school and my own experiences when I dropped out around the same time. We knew something was wrong, and by the size of the "education reform" section at the library, we're not the only ones.

Sudbury Valley School was my first thought as I read Luke's essay, so I am very excited to read your contribution to this discussion. The readers of Hacker News want a startup to fix education. But what if this startup was already founded forty-seven years ago in Framingham, MA?

For anyone who is interested in learning more about Sudbury Valley School, I recommend reading some of their articles at the following location:

http://sudval.org/05_articles.html
> Port Internet Explorer, Microsoft Office to Linux

Office maybe, but is there any demand for IE on Linux?
A question for the site creator who seems to watch this thread : how would you compare classmill to https://usefedora.com ?
It is in private beta
> What methods could we employ for increasing our margin of error? What might these methods look like?

These methods and their applications are the field of distributed computing :)
How does one disrespect another without being stupid, ignorant, or mean?
And you would be wrong. There are plenty of open source projects that are not free. That Microsoft wants to name some of their projects "shared source" doesn't change that. And I'd bet we will see you in court should you do anything with Microsoft's.
The Executioner We Can’t Live Without – Molecules that Kill Rotten Proteins
Perhaps pointless drudgery isn't the only way to instil discipline.
GvR discourages them if that's a strong enough reason for you :)
I'd be more worried about the unusual license.

React is under BSD, but includes additional terms in a PATENTS file. Very generous terms. And yet ...

I'm not a lawyer, I couldn't even play one on TV. But it is profoundly bloody annoying that they didn't pick a well-understood, well-known license instead of baking up their own Frankenlicense.

I'm sure their lawyers have a reason for not just using the Apache 2 license. I'd love to know what it is.

In the meantime, every single company with fastidious lawyers is going to be dealing with Legal yanking the emergency brake when they see React, because it does not neatly fit into a known license.
typo: Facebook ARE dogfooding
I think that author is completely right about the part, that React has the only one reactive part — its render function. But I don't see why it makes React bad. I think it is great, fast and easy to use.

By the way, virtual-dom is a little bit early to use for production application. For example, if you have some elements in your vdom, that are changing after you render it (i.e. like buttons, embeded posts, etc.), virtual-dom will be totally confused and unpredictable. For example, it can duplicate some elements on the page.

I believe it happens because vdom depends on its internal index to traverse real dom nodes. It is still a remarkably good piece of software.
people and corporations who use open source software do not [generally] pay for it.

Except, of course, for all of the companies that do, which is every company that uses Red Hat and many that use Ubuntu, Snort, and numerous other, smaller projects. Red Hat and Canonical may not have created Linux, but what we have today would not have been possible without their (highly paid) contributions. If Linus and the other original developers were gone tomorrow, Red Hat could easily keep Linux going for the foreseeable future.

The point you're trying to make is that people don't pay for open source. And you're right. But companies do pay for support for open source, and they do pay for valuable cloud features that tie into open source software for a small fee.
OS X has code signing and a I think you mean ASLR not ALSR. Further OS X has ASLR the SAME YEAR as Windows (2007) according to wikipedia [0]:

> Windows

> Microsoft's Windows Vista (released January 2007) and later have ASLR enabled for only those executables and dynamic link libraries specifically linked to be ASLR-enabled. For compatibility, it is not enabled by default for other applications. Typically, only older software is incompatible and ASLR can be fully enabled by editing a registry entry "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\MoveImages", or by installing Microsoft's Enhanced Mitigation Experience Toolkit.

> The locations of the heap, stack, Process Environment Block, and Thread Environment Block are also randomized. A security whitepaper from Symantec noted that ASLR in 32-bit Windows Vista may not be as robust as expected, and Microsoft has acknowledged a weakness in its implementation.

> Host-based intrusion prevention systems such as WehnTrust and Ozone also offer ASLR for Windows XP and Windows Server 2003 operating systems. WehnTrust is open-source. Complete details of Ozone's implementation is not available.

> It was noted in February 2012 that ASLR on 32-bit Windows systems prior to Windows 8 can have its effectiveness reduced in low memory situations. Similar effect also had been achieved on Linux in the same research. The test code caused the Mac OS X 10.7.3 system to kernel panic, so it was left unclear about its ASLR behavior in this scenario.

> Mac OS X

> In Mac OS X Leopard 10.5 (released October 2007), Apple introduced randomization for system libraries.

> In Mac OS X Lion 10.7 (released July 2011), Apple expanded their implementation to cover all applications, stating "address space layout randomization (ASLR) has been improved for all applications. It is now available for 32-bit apps (as are heap memory protections), making 64-bit and 32-bit applications more resistant to attack."

> As of OS X Mountain Lion 10.8 (released July 2012) and later, the entire system including the kernel as well as kexts and zones are randomly relocated during system boot.

[0] http://en.wikipedia.org/wiki/Address_space_layout_randomizat...
Bitcoin security startup Gem opens its platform to the world
Hi Jim

One of the main problems people have with counting calories is accurately being able to do so. While I don't think counting calories is for everyone, if you do try again, try to weight everything you eat. Don't forget the teaspoon of olive oil in the salad and those kinds of small things that add up. Research has shown that comparing food logs of people that say they have a slow metabolism and that they count calories, when subjected to something I think is called, reverse isotope water (or similar), shows that they are not accounting for a lot of the things they eat.

Also, a month isn't a long time to notice changes even on the scale. It isn't uncommon to not drop weight due to water retention during a few weeks (depending where you start) when starting a diet.
I agree insofar that it greatly benefitted me that I was pretty much free to do as I pleased from age 12 to 18, and then semi-free throughout college.

But looking at my siblings and some of my friends, I hesitate to make a blanket statement about this freedom. Perhaps everyone can do well if they're given this freedom from a very young age. I don't know. But I've met plenty of people who, if given this freedom in middle/high school (12+?), would not have been able to handle it. Whether this is because they already were 'corrupted' up to that age, or whether they have different personalities, I don't know. But I've seen it happen.
The Cuban Money Crisis
I think most non-overweight people do pay attention to what we eat. Most of us don't count calories, but we do use heuristics. For example I wouldn't eat three normal-sized pizzas a day. I could over the course of a day and it would be delicious, but I know that it wouldn't be good for me.
Does anybody write that by hand? I kind of had the impression that it was notorious for being write-only.
I saw that in June, and I'm interested in how effective it is, and what the usability characteristics are (it looked complex at the time, but it was an early demo). But going from 2010 to 2013 was a painful, and I don't want to throw this in a VM, so I'll just wait for RTM.
That's not why clojure has transducers. You can use a mapping transducer to express map, but it's actually going to have slightly worse performance than regular map.

There's nothing inherently slow about higher order collection functions, rust has them and they compile to the same machine code as the equivalent loop construct. Its just that most languages implement them on the wrong data structures. Functional languages implement them on lazy lists, which is good, but has overhead. A lot of languages implement them on arrays, which is bad because then it needs to process the whole array at once, and allocate all the memory, even though the next transformation in the pipeline doesn't need all that memory. Rust implements them on iterators, which have all the sane benefits as lazy lists, but fit better into a performance-focused imperative language.
It depends on what one's definition of "is" is. From the top of the link:

An Open Source reimplementation of Windows
PowerShell, for Mono.

Mono is not *nix and PowerShell provides direct access to [nearly?] the entire Windows OS.

More from the project page:

Status

Alpha. This project is useful in certain constrained
applications, e.g. the NuGet Console in Xamarin Studio.
Because the patent system requires you to do so else you lose the patent.

The only solution to this is to stop having math and logic patents, which are already illegal under any sane interpretation of patent law: its Congress and USPTO that continue allowing these un-patents to be issued.
Censorship Order That Threatened Websites and Message Boards Overturned
The breakout of Ansible, and the state of config-management communities
Also, React goes with Flux, and Flux is a reactive architecture. So, if you treat React a separate module, the whole flux architecture is pretty reactive.
Show HN: Team Paper, like Asana but for images
OS X help is amazing.... if they have what you are looking for. But this is a problem in all OS's and I do think that the "Show you where what you are searching for in the menus" is a huge UI/UX improvement over anything else. It's leaps and bounds above Windows "Here is a manual, good luck".
The CPU isn't halted - it's denied access to the bus. A lot of the time, this doesn't matter, which is presumably why they chose to do it that way, because most 68000 instructions won't be accessing the bus at the time anyway. (Supposedly, if you have a long instruction that doesn't use the bus, such as DIVx or MULx, and you get your timing right, you can overlap it with the blitter, which on the ST always runs in some approximation of nasty mode - better you than me though.)

More info (than you probably ever cared to know) here: http://pasti.fxatari.com/68kdocs/AtariSTCycleCounting.html
> Do not change APIs unreasonably to sabotage these projects

Forget about Windows. That's a malicious thing they've always done with Office, even after promising to adhere to a "standard". It's so ridiculous even their own different Office versions aren't properly compatible with that "standard".
I keep looking for these revolutionaries, because all I seem to find are people who rather we tow the party line, study popular theories and methods that will win grants, are more busywork than difficult since they are doable but are tractable and easily fundable with low risk since they are but minor adjusting of the skirt of the already established theory.
I had to come here to see what's going on. Thanks.
I'm not sure - I'm from Scotland.

Though from what I understand, it's illegal to make copies (electronic or otherwise) of banknotes in both Scotland and the USA.

When I was recently in the US, I bought a novelty pad of oversized $100 bills from the Bureau of Engraving and Printing gift shop. It's obvious they're not real but they have all the hallmarks of a real bill - a serial number, same print, series number and even the phrase "THIS NOTE IS LEGAL TENDER FOR ALL DEBTS, PUBLIC AND PRIVATE". Even a fake (monochrome, scanned and non-reactive) security strip.

My fiancée bought a similar pad of oversized novelty £20 notes here a few years ago which were littered with the word "specimen" and small print stating that they were for novelty use only. Additionally, many government websites with images of banknotes here have the word "specimen" printed quite prominently on their images (except where the image is a photograph of a banknote in some setting, not stand-alone).
Policy guideline on adoption of open source software for government of India [pdf]
The "official" way to do this is map, then reduce. The way reduce is meant to be used exactly matches this implementation.

Consider that you have a large quantity of numbers that you want to get the min, max, mean for. If you write something like the following:

function minMaxMean(list) {
return list.reduce(function(lastState, n) {
var min = lastState.min,
max = lastState.max,
sum = lastState.sum,
count = lastState.count;
if(n < min) min = n;
if(n > max) max = n;
sum += n;
count += 1;
return {
min: min,
max: max,
sum: sum,
count: count
}
}, {min: Infinity, max: -Infinity, sum: 0, count: 0});
}

...then you're assuming that the reduce function will run once, over a single list of numbers, in order from left to right. However, if you implement it as the following:

function minMaxMean(list) {
return list.map(function(n){
return {
min: n,
max: n,
sum: n,
count: 1
}
}).reduce(function(a, b) {
return {
min: (a.min < b.min ? a.min : b.min),
max: (a.max > b.max ? a.max : b.max),
sum: a.sum + b.sum,
count: a.count + b.count
}
});
}

...then you can distribute this out across multiple threads/machines/etc, update it when new data comes in, reduce in any order.
Great series of videos. Unfortunate that he uses mostly enhanced footage from emulators and modded PC games instead of showing them as they appeared when originally released. Also unfortunate that the aspect ratio is wrong on so many of them.
I always wonder what would have happened if popular products had been open sourced in their heyday. What if Windows had been open sourced around the time Linux was growing up? Windows would be on every platform in the world.

What if Flash had been open sourced in the early 2000s? HTML5 would have never been created.

In either case these companies would have been in charge of global standards. I'm not sure if that would have been better for them or not?
This is a repost from a few months ago. Relevant because the author commented on the original HN post https://news.ycombinator.com/item?id=8819115
Actually, I both noticed and appreciated that :). And a lot of IKEA product names are just first names anyway, so it _was_ overly pedantic.
I'm on the opposite camp and think Fed Up is not a good movie to watch and seems the author (Kuric I think) had a bone to grind mostly with the fast food and shitty food industry.

I remember a scene about a mother going to the store, and buying 'light' oreos/chips/other stuff, and giving that to their kids instead of the regular ones to their kids and then complaining he didn't lose weight and taking as a conclusion that 'dieting' and 'exercise' doesn't really work. Never considered that maybe a carrot stick or an apple would be better, she would just buy diet soda/cookies/chips.
No, you're thinking trademarks.
That's a huge range that demonstrates the point you are trying to contradict. Someone on the low end of that range will gain between a quarter of a pound and almost a full pound a day on the same diet as soneone on the top end, with a similar activity pattern and assuming similar absorption (which is an additional source of variation besides metabolism; these are probably combined in what most people think of as "metabolism" since people seem to tend to think of it in end-to-end terms, though technically metabolism is more limited.)
I have a report from Q3 of last year that breaks down adblocker usage by age range:

16-24: 34%
25-34: 32%
35-44: 26%
45-64: 22%
55-64: 18%

I found those numbers pretty surprising since installing a browser extension isn't a typical user behavior.
This is a standard reveal.js presentation: https://github.com/hakimel/reveal.js
I just want to say that this is the definition of "reactive" is amazing! Now I finally understand what "reactive" actually means.
" i wish that US give Ukraine high-precision weapons so those weapons would be used instead."

Are you absolutely bonkers? I live just far enough outside of a major US city where I'd die a slow miserable death from the fallout.
They could always do a "partial open source", where DLLs with license problems are kept closed-source. There's precedent for that; I recall a successful open sourcing of an old game engine where the third-party audio library it used couldn't be released.

In fact, I could argue they are already slowly going a "partial open source" route, with their gradual open sourcing of parts of the dotnet runtime.
I agree that it's not easy to overcome the inertia (the psychological aspects). I've been skinny all my life and I still have to motivate myself to exercise.

You don't necessarily need to "go to the gym" though. There are lots of bodyweight exercises that can produce great results. Not just pushups, either:

http://www.beastskills.com/tutorials/

http://www.dragondoor.com/articles/building-an-olympic-body-...

Some of those exercises are very difficult - the only one I can do is the single leg squat (pistol). But pullups, dips, pistols, sprinting, kettlebells (cheap one-time purchase) can take you a long way.
Yeah, I agree. It doesn't necessarily make React bad. And, after years of Backbone and Marionette, having an hierarchical structure in which parents "pass down" methods and data makes more sense than events, which can be hard to manage, test and visualise. And I really, really, really want to be able to visualise the structure and interactions between components when developing.
I play CS:Go on my home Comcast connection, and on certain servers (and time of day) I will have 5 - 8 ms ping due to their location. It's awesome to have such low ping times.