skysight-inc/HackerNews huggingface dataset:
It's a pretty traditional data-heavy class diagram, it looks pretty much like the kind of class modelling they teach you in college. Our site is about product reviews, so we have users and reviews and products and stuff like that as aggregate roots. Reviews can have comments, users can have profiles, etc etc. A big composition tree, really. We avoid storing the same data twice (and thus, sometimes outdated) by unique'ing the aggregate root objects by their id.

I don't completely understand your question about state trickling down, however, so I'll just blarb another braindump.

Let's assume a page where we render a product review. A Review react component gets, as a prop, an instance of a Review model object. If a user writes a comment on a review, then a Review react component fires an onNewComment event (also a prop), which we tie to an addComment method on the Review model. This model stores the change, sends a POST to the backend asynhronously, and returns a trigger to the view that something changed. The view does a full page-wide rerender (which is fast because React).

We keep all "data" kind of state in our model, all addressible via a core Model object (of which only a single instance will ever exist). The entire tree of React components is built up with props, no this.state at all, except on the root React component (that we call View).

One exception to that rule is state that is only there to help the user, and not "real" data. For example, whether or not some panel is collapsed, or whether or not a few items are selected for a group operation, fancy effects, etc. The kind of things that we're OK with forgetting if the user would navigate away from the current screen. That stuff we do as locally as possible in a component with setState.

I'm not sure to what extent all this is a best practice though. I talked to the React guys on IRC (they're very approachable and very kind!), and they say that a global refresh and preferring props over state is what they do too, so that's something at least :-)

Did this answer your question?
Discussion: https://news.ycombinator.com/item?id=7611093
That would make sense. I couldn't help but feel excited with the LEGO-like construction approach. The video made the tech feel so tangible even to a non-hardware tinkerer.
"The shuttle itself - this needed extensive maintenance work done to it after each flight."

Including complete rebuilds for the three Space Shuttle Main Engines (SSMEs), they were I gather somewhat needlessly too high performance/sports car types of devices.

In general, the Space Shuttle design was twisted by various unnecessary requirements (e.g. while the Air Force didn't want it, it could originally do a single polar orbit mission, which required extreme heat shield technology to land back at the same location while the earth turned underneath it. This was later mitigated by replacing a lot of those tiles with a ... glass fiber mat???), and to minimize development costs. Solid fuel booster you can't turn off were formerly considered to be unacceptably dangerous for manned missions, but they were the cheapest to develop.

Operating costs? Well, NASA post-Apollo makes the most sense if you view it as a public works project.... Low launch rates, especially post-Challenger after more people realized what an abomination it was, plus a huge fixed work force made it very expensive to operate.
I've enabled mine since Steve Gibson said we should do it 2 weeks ago on Security Now.
The use of setState in React strikes me as a code smell. React has two ways to provide state for components: props and state. I prefer using React in a more functional style: your model is managed separate from the view and updates are handled just by re-rendering the view from the top (which React handles efficiently).

In other words: I haven't really seen a need for a library like Bacon when using React, because React provides a means for generating a view without "wiring it up" as you do in a typical reactive app. You just regenerate the view whenever an action is taken that might have changed the model.
New Google Nexus Smartphone at $100 could be on The Cards
I regularly buy data from government departments and it is extremely difficult. They are not commercially minded and regularly undercharge. You have to chase them for weeks to get anything done and the billing arrangements are complicated. In my experience UK government is terrible at selling anything.

An API for tax data would have lots of possible applications, as a way of checking income for example. But it is doubtful that the government would ever have the skills to pull it off. They should either sell the data through a competent third party or make it open.
This implementation will be incredibly slow for large lists. Every time any one of the elements moves, you will make N dom changes rather than the needed one or two. In an individual case, you can hand-write the faster version. But when you have multiple components like this interacting, knowing how to do a minimal change is not an easy task.

Unless you have experts writing these things by hand, using a framework is the quickest way to minimize performance problems and memory leaks.
Yep. Technical debt analogises to financial debt quite well. It's not as fungible, but similarly you can fall into debt, take on debt in a planned way, discover you're not as clever at managing it as you thought you were, etc.

I also highly recommend Denise from Dreamwidth's famous post on the subject, which is a great intro to the concept for not-so-technical people as well (it was written to explain to the user base what they'd been doing): http://denise.dreamwidth.org/57248.html
Was there a reason Cloudflare was singled out? Akamai is doing the same mass-revocation of certs as well.
Ya, will sure do and have now decided to move over .com and most of us Devs are bad at this stuff, but thanks for trying to help.
Checking: "Check for server certificate revocation" does not persist. When I check it and then reopen the settings tab it is again unchecked.

Does anybody else see this ?

Chrome Version 34.0.1847.116

I've reported it twice now.
The Pirate Economy
Even if someone knows how I can reach out to them, please let me know. Or if you know and understand JS well, pls let me know as to how it works.
the real villain here are the VCs and to some extend YC for promoting them. VCs are the ones who perpetuate the myth of "work 80 hours a week for a startup at 50% market rate and you'll be rich in 4 years". In reality, they take all the preferred stock so that even if the company sells out for double or more what it was worth when you join, you end up with nothing. I've worked at a startup that sold for 4x what it was worth when I joined, and I still ended up with nothing. A couple guys who had been there longer ended up with a few thousand dollars. What a scam!

Work at a large, established organization and earn your fair market rate at a 40 hour work week, and start your own company on the side if you want to get rich folks. I'd never work for any startup again unless I was the founder.
Yes, cat-v. I've wasted plenty of time on there, as well as other werc sites.

As a previous poster pointed out, these guys are hardcore Unix elitists and so their perspectives on software are written from a standpoint of an ardent follower of the Unix philosophy, and one who values minimalism and simplicity over all. The real form of simplicity, not the one of dumbing things down.

It's just a totally different world from your average HN user, or even Bay Area "techie", for that matter.

Their IRC channel is also pretty amusing to lurk around, though of not much use unless you're involved with 9front to one degree or another.
Ah, good point! My code is pretty flawed... it's using new to allocate an SDL_Window! All of this is just aesthetics at a certain point and what you prefer. For me, I'd get bored writing make<SDL_Window, SDL_CreateWindow, SDL_DestroyWindow> over and over. One solution is to wrap that in a function make_window like you've done. The other would be to wrap it in a template function that uses traits to lookup the creator and deleter functions. Pretty much equivalent. I only slightly prefer the latter because it exposes the type of the object in the call.

Thanks for writing the article! I'm much more in this camp of writing thin resource management rather than full-blown wrappers. And even if I were writing a wrapper, I would use these same techniques you're exploring to manage the resource as a member. It removes the need for any boilerplate whatsoever and in one line expresses all you need to know about the semantics of the object.
A one time occurance; since which the law has been chNged to make that not possible and for which people have apologised.

While patient data was released (and possibly poorly anonymised) that was not "patient records" which have a defined meaning.

So the very worst example of "selling off patient records" wasn't patient records, only happened once, has been acknowledged as a failure, and can't happen again because the law has been changed since.
Why is this not the default option?
This is a deep-tought piece by Robert Jay Lifton and I hope it gets some readers.
Ask HN: What does your big data store as? CSV? JSON? Others?
The standard explanation for this is https://www.imperialviolet.org/2012/02/05/crlsets.html

The short version is that any attacker against whom certificate revocation might matter is by definition in a position to MITM connections, and can simply interrupt the certificate check.
Bud light and other light beers tend to land in 3.2% territory, I think. And some brands specifically make 3.2 beer catering to the PA market (it may not even be available in your area if your state doesn't have weird restrictions around 3.2%, like PA or UT).
> Didn't a recent survey show that over half of all programmers think they're going to be millionaires?

Seems pretty reasonable. Rule of thumb is to save 10% of your income. Median income of programmers is reported to be $90,000, which is roughly $67,000 after tax in my location. That annual addition compounded at 5% works out to $900K over the course of a typical career.

And that is just in cash savings. Another rule of thumb is spend 30% of your income on a home. If you use that to buy, that adds another, say, $400,000 to your net worth and we should be safely able to assume another $300,000 once the home is paid for if you redirect those payments into savings.

Add in an earning partner and the numbers get even larger. And while prices can fluctuate, those numbers have historically gone up, which means decades from now you will probably be making more than $90K, and your home will probably be worth more than $400K.

I'm more interested in why half of the programmers surveyed don't think they will be millionaires. You don't even have to make the median income I proposed earlier to get there. Quite a bit less will do.
Two important issues to keep in mind:

A) Wife is going through a lot of stress as she has been let go and if she wants to work again is going to have to accept a significant demotion.

B) Wife is in her mid-30s and is rapidly approaching an age where she needs to have kids (if she wants them).
Doesn't happen to me on Windows 8.1 Chrome Version 34.0.1847.116 m
The concept of starting with an MVP is very important.

You're not going to build a better Facebook by adding more features than they have, the only way to do it would be to create a simpler platform and focus on the users who find your site the most useful (for Facebook it was college students, now it's families and old friends).

Just think if HN started to allow pictures in posts and comments or allowed a wider variety of posts (lolz look at my cat), the site would likely be ruined instantly. It would have also never been as popular as it is if it allowed these types of posts from the beginning.

There is also the method of adding that one feature that the big companies can't add, because it's one of their main sources of revenue. Look at DuckDuckGo, they started as a much simpler version of Google Search except it promises as much privacy as possible.
No, seriously. How is this not a case of "It's never happened before, so it can't be right?" What's the actual counter-argument?
Having kids doesn't prevent you from being an entrepreneur. Many of my startup founder friends jumped in despite toddlers. And you've got time--nothing will stop you from self funding a startup at age 60.

By contrast, biological clock can stop her from having kids in about 3-5 years. She's likely wired to ramp up focus on wanting this. Shut up and make babies.
I agree, C# is a much better programming language than JavaScript. Well worth the time to learn, even if you already know JavaScript.

The version of JavaScript that Unity has is actually just a thin veneer around the Mono runtime, so it's not quite the same language or environment you use in the browser or node.js.

However, there are some good reasons for using JavaScript in Unity: using existing libraries and developing new libraries that run in browsers, mobile devices, node.js, Unity3D and other JavaScript VMs, so you can have one code base that runs across all those platforms.

There some problems and impedance mis-matches to solve, to make running existing JavaScript code in Unity3D more seamlessly possible and even convenient. And that's exactly what Browserify does for web browsers!

http://browserify.org/

There is a great tool called Browserify that solves the problem of running npm modules written for node.js in the browser, resolving dependencies, inserting shims to implement standard asynchonous node.js APIs in terms of the existing Unity3D apis, and packaging everything together in one file that can be downloaded and run in a web browser.

Browserify for Unity3D could be called Unityify.

For example of how it would be useful, I'm rewriting Micropolis (based on the original SimCity Classic code from Maxis) in JavaScript, and I'd like to be able to easily drop the JavaScript simulator engine code into Unity3D, and implement a nice 3D or 2D user interface in C# or whatever useful modules I can find on the Unity Asset Store.

I think "Unityify" would be a useful tool that lots of people could use, since the argument for running the same JavaScript code in both web browsers and node.js servers and desktop apps also extends to running it in Unity3D.

Ideally it would be able to just pass the JavaScript libraries through with minimal wrappers, when building Unity3D projects for deployment in browsers with WebGL.

Is anyone else interested in such a tool, or even working on it already, or interested in collaborating?
Wow, you are right. I was chuckling to myself looking at this article thinking Good thing I am smart and enabled this check. Then I read your comment, checked my settings and indeed the setting is no longer enabled.

I understand that the CRL isn't fool proof, but if your connection isn't in a position to be MITM'd it still provides protection against some things, for example if the target website DNS has been hijacked.

edit: 34.0.1847.116 m
And the correct interpretation of ‘interrupted revocation check’ is ‘invalid certificate’. Now, of course there’s the problem that the CAs are apparently unable to provide constantly-running OCSP servers, making such an interruption more likely to be due to technical inadequacy of the CA than due to an ongoing MITM attack, but that is first and foremost a problem of the CAs, not of a browser vendor.
Garcinia Cambogia and Green Coffee Bean Extract
Perhaps one of the most revolutionary weight loss products to come about in recent years is Garcinia Cambogia Extract and Green Coffee Bean Extract supplements. These sheer extracts are made out of entirely natural materials and are perhaps one of natures best kept secrets to weight loss.
"One way to add special new things is a 'labs' option like Google where you put easy requests in which don't fit with the rest of the program and it's clear to the user they aren't proper stable features."

That's where I'm headed with my start-up. The first feature that was going to be put in there was a userbase-sentiment / survey system with historical charts ... it wouldn't override my decisions and roadmaps, but it'd give me quick and historical insights into exactly what the users think (and then allowing me to drill down into the data further to find trends).

I've found transparency and open-communication with users is pretty much the #1 thing you can do from day-0 to build a good relationship with them.
Patents were already a legal device long before European pilgrims settled Jamestown. The original reasons behind patents existing, assuming the non-existence of time machines, has nothing whatsoever to do with the constitution of the USA.
Does not happen to me. Windows 7 x64, same version number. Perhaps it's an issue with sync?
The world's dumbest idea: Taxing solar energy
The web is more than a place to read an article like on paper. It is a place where articles (ressources) have their own URL and are linkable, sometimes even in both directions (think of trackbacks and pingbacks, following the vision that was way more prominent in the beginning, or xanadu). You need navigation for that, it is essential for what the web provides.
The way I approach it with my users is there is a link on every page to report bugs and request features. Bugs get attention, features get considered. I also follow a [ feature ] -> [ tech-debt && bug fixing ] -> [ optimizations ] -> [ repeat ] and my users know that. Generally what I look for in the feature requests are trends and clusters of topics or pain-points and then I try to find the more common case that those multiple requests are all unified by. Once you find that, it's a lot easier to see if it fits into your overall roadmap / vision, and allows you to execute on it better.
Maybe with news of Heartbleed a chrome update happened which forces chrome to check for revocations? Might just be a UI issue with showing it as an option and could be always on. Is there any way to test if it does indeed do the check?

Most likely not though. in the Dev branch its fixed and I was able to turn it on.
How Asteroids could destroy the earth
8 Guidelines For Friends And Family Startup Funding
The article states "However, most Google Chrome users are left in the dark, as Chrome performs neither type of check for non-EV certificates by default. Instead of conventional revocation checks, Google Chrome relies on an aggregated list of revocations, dubbed CRLSets, which are compiled by Google. The revocations from GlobalSign's CRL have not yet appeared in Google's CRLSets and hence Chrome users will not be warned if presented with a potentially compromised, but revoked, CloudFlare certificate.

The CRLSets deliberately do not cover all CRLs in an attempt to reduce the total size of the aggregated list. In effect, Google has traded the completeness of their revocation checking for a speed advantage over rival browsers as downloading CRLs or making OCSP requests imposes a performance penalty."
Personal animosity, I imagine:

http://www.idlewords.com/2005/04/dabblers_and_blowhards.htm
To explain the joke: Yes, he caught that error of mine, but I found a retrospective justification as a way to get out of it, as a joke. That's why he replied "Well done!"
That's with PAE, you're still limited to 4GB of virtual address space, or rather 3GB with the default Linux configuration.
Personally, I now only buy and recommend routers that are supported by OpenWRT even if the end user does not end up using it. Usually such support means that the device is fairly open and uses fairly standard hardware. Something new and esoteric is likely to be more buggy. OpenWRT is also a great OS. If your router supports it, please give it a try, for security's sake.
Thank's for the links. It was the annual returns that I was talking about. I was concerned that they might have sold the documents to Duedil cheap in a bulk deal that the public didn't have access to.

However, looking into how Duedil got its dataset, it appears they buy the digitised data from Experian and friends, who get it from who knows where.
Use your social network, write down a press release about your app and send it to blogs interested in the subject. Don't send a bulk message! Be creative and personal for each blog you contact.

That's my 2cent about this, it worked for a little experiment I made some times ago

Best of luck!
Contrary to what the author claims, portraying the sexual organs of a random insect incorrectly, and thereby "getting the science all wrong", does not do a "disservice to the public".

I'm totally in favour of funding basic science like studying insects and don't expect immediate practical applications. Until something relevant and important comes out of it though, treating it as infotainment is perfectly fine.

Good for you that your area of study gets some public interest (and possibly more funding?); next dinner party, when someone asks you what you do, don't hesitate to use the simplified and "all wrong" version from National Geographic or The Verge.
Good point. Please see my comment about "Unityify"! https://news.ycombinator.com/item?id=7613488

Since I haven't written much "UnityScript" code myself, I'd appreciate your comments about whether you think it's possible (or worth the effort) for a tool like Browserify/Unityify to translate JavaScript code so it runs in Unity3D, or for programmers to write portable modules in a dialect of JavaScript that will run in both.

Maybe Unity3D themselves could help, by fixing problems with UnityScript that make it hard to run standard JavaScript, and providing hooks in their compiler pipeline that enable passing JavaScript libraries through with minimal modification when you're targeting the web browser and WebGL.
You're improperly conflating the two issues, though I agree DADT was a horrible policy.

There simply weren't plenty of linguists before or after those discharges (which obviously didn't make the situation any better). There still isn't for languages like Arabic and Persian Farsi. Attrition rates for DLI are high.
Show HN: Ditto – Markdown documentation system
this is awesome, I commend you sir
I like that he mentions "integer". It is still very incredible how JavaScript can work well without a integer construct. Or threads and shared memory. Or bells and whistles.
Full transcript available here:

http://billmoyers.com/wp-content/themes/billmoyers/transcrip...
Passionate about data? Hiring UX, Backend, Frontend, BizDev at Natero (YC S12)