skysight-inc/HackerNews huggingface dataset:
I'm late to the party, but I want to share an insight I've had regarding game development and UI applications. It baffled me for a long time why building UIs were such a pain, and doubly so in a web app. Why could I, and others, create such seemingly advanced graphics and interactions in a video game, but try to make a UI and you're stuck with thousands of difficult to discover bugs. After I started using react, I realised games are "easy" for the same reason react is a huge productivity multiplier: you re-render the game every single frame. You have the data that represents your game state, there's a game loop, and you render every single little damn thing, every damn frame. It's a one-way flow of information from your explicit state to the presentation layer. React works the same way, only it re-renders only if the state changed. That's it. Super simple, but it's a mind shift.
What, they not only want to sell me a PR pamphlet, they also ask for my mail address before I even started to read the bait. That was certainly built by an expert designer. For chasing potential customers away before they know it. I'm gone, anyway.
It sounds like me playing the piano. You might be fooled for a moment but it's definitely not music.
That is very, very different, and you know that : p
The use of illustration in web design
Hi, I am one of the founder of CouponHunt, like to get community feedback on our new site.
Strings are a big security hole that doesn't get nearly enough attention.

Conceptually there are a ton of different string types. File names, path names, SQL query templates, SQL query strings, URLs, URL query parameters, command line arguments, full command lines, human-readable text.... Yet just about everything gloms them together into one "string" type. Even APIs that allow for structured construction of SQL queries tend to rely on the programmer not to put arbitrary data in the template bits. These really should all be completely separate types requiring conversion.
How Britain Beat Germany’s Magnetic Sea Mines
Are the majority of languages now broken, or just a small niche subset that don't see much use vs. ruby, python, etc?

If a few minor languages hardly anyone uses as compared to the whole site might need some fixing, this still seems like a win from Github's side of things since per the graph the change did in fact significantly improve render times.
Is it a toy or a serious music app?
By this reasoning, functional programming is only the "method" in OOP. Surely that means OOP is a necessarily fuller abstraction?

React gives you a powerful V that expresses things so intuitively that for most cases it eschews the help of a C or an M. That's a good thing when it's achievable.
PencilBlue Node.js CMS v0.3.0 Released
Yes, we need competition but... Even if we changed our laws today (which would still require federal action and money) how long would it take to have 3 or 4 players in most markets? A decade? The Internet will already be useless by then if Net Neutrality is eliminated.
> Not sure what is being worked on now that might be relevant in a decade and a half from now.

Mirage OS is one of those things - http://openmirage.org - though I expect (hope) it'll take much less than decade to be relevant. Some of the same team that worked on early Xen are working on Mirage.
Instead of Windows 8.1 I have used it on Windows XP. It looks like it is the solution for edge versions of Windows :) which does not supported by MS itself.
Polymer: State of the Union
SpaceX Planning to Land Autonomous Reusable Rockets on Drone Ships
How to Get Motivated from Negativity
Wazzmedia 6 Months Premium Access for Free: Unblock Regional Media Restrictions
Yeah, Capsela I think is done, but there are replacements. Problem is I can't think of them. Just put gears into eggs and there you go. Pretty genius. This is how we should build cars, computers, everything. Just snappable parts that do something you need. Did I just say that, "Computers". How cool would it be to snap in a graphics card, software, pictures, apps, etc? Clunky I know.
Automatically Scale Heroku Dynos
So, if we continue the thought experiment, and say thousands of people have been making observations of the comet for five years and have come to roughly 50% impact probability estimate, with multiple independent methods. And that impact would likely kill maybe a billion people.

And you say it is unacceptable for them to advocate doing anything?

http://neo.jpl.nasa.gov/risks/a410777.html

Current impact risks overview is here. 50% chance of a large object would certainly be unprecedented.

http://arxiv.org/pdf/0804.1126.pdf

Now, replace the comet watchers with paleoclimate researchers finding out what happened when the planet last time crossed 450 PPM (the other way around).
Officer: A Beacon Prototype
Just get a page with empty brackets after authorizing on GitHub:
"
{}
"
It's "cost effective" for a €150 keyboard.

http://www.amazon.com/dp/B00JM61264
Time for a small rant. I mostly agree with the premise of the article (that most home automation products are too tech-user targeted), but I have an even bigger complaint:

Automation doesn't mean that you can control it from your fucking iPhone.

Automation means that I don't have to think about it. It happens automatically. I was looking at "automated" systems for underground sprinklers this summer and it drove me insane. I don't care at all whether I can turn on my sprinklers from Starbucks. What I want is a sprinkler system that is smart enough to know when the soil is dry, and smart enough to look at the weather forecast and say "Hey, the grass is dry, but there's an 80% chance of rain this afternoon. I'll wait it out and see what happens"

The same goes for all kinds of "home automation" products. I couldn't care less about controlling my lighting from my phone, but it'd be really awesome if the lights in the living room dimmed when I started playing a movie (of course, with the option of turning them back up if I'm trying to do something else).

Get the 80% cases right, with an option for manual override, and I'll be happy as a clam!
He is, throughout the talk, presenting the case that iOS and OS X are really BSDs, and somehow nearly FreeBSD, so somehow relevant.

I don't buy it, which means many of his earlier points don't make any sense. e.g. Majority of FreeBSD machines running on battery.
regarding issues with themostat placement check out http://ecoventsystems.com/

Themometers in every room, and controllable vents let you set temps for each room, making each room its own zone. Granted it's only compatable with forced air systems but i love the idea of one zone per room.
Unreadable in pdf.js in my FF 33.1.1, too.

Interestingly, in this longer document the author gives (more or less) an actual definition of "dyad" which isn't the same as "tensor product of two vectors", and with that definition the statement that "every tensor is a dyad" is (more or less) correct.

I need to qualify everything here with "more or less" because the author is trying to do mathematics but fairly clearly isn't actually a mathematician, and so a lot of what he says doesn't really quite make sense, but one can see what he's trying to say. (E.g., he says "a dyad is any quantity that operates on a vector through the inner product to produce a new vector with a different magnitude and direction from the original". Except that actually I'm sure he wants ii+jj+kk to count as a dyad even though it doesn't change either magnitude or direction, and except that he hasn't actually said explicitly what the "inner product" is except for the special case where the dyad is a tensor product of two vectors, and in order to say what the inner product is for a vector and a dyad one already has to know (at least kinda) what a dyad is...)

On the other hand, if you ask a pure mathematician to explain this stuff you'll generally get something nice and elegant but incomprehensible to most physicists and engineers, and much less suitable for symbolic calculations than the physicists' coordinate-based approach. (A tensor field is a section of a product of the tensor product of some tensor power of the tangent bundle of your underlying manifold, and some tensor power of the cotangent bundle. What do you mean you don't know what a section of a tensor power of the cotangent bundle of a smooth Riemannian manifold means? Bozhe moi!)
"An analogy best describing this would be just because someone leaves their window open it does not give permission for an unauthorized individual to set up a camera outside their window and broadcast the feed worldwide,"

That's a terrible analogy. These webcams are accessible publicly on the web with no security. A better analogy would be, it's like leaving your window open, and your window location can be indexed by google, and your window can simultaneously be viewed by anyone around the world in their underwear. And in some cases they can pan, rotate, and zoom your window.

"If we can take one lesson away from this experience, it is that default passwords do not provide protection from the threats that exist in the modern world."

No, if we take away one lesson from this experience it's that the person exposing the serious issue can sometimes recieve the most criticism. Nothing is better, just back to being hidden.
The BlackBerry Passport enigma: TCOB-machine or “worst designed thing, ever”
>This is just completely false. Google has just as much backstabing and infighting at the exec level as an company out there.

Of course it does. And much more then people outside of the company think. As long as people like Eric Schmidt are on board there will be no shortage of hypocrisy and backstabbing.

Disclaimer: I work for TAGA (The Arrogant Google Assholes)
Craigslist hacked?
Going to http://www.craigslist.org redirects to a youtube video.
I don't understand what point you're making. Someone's written a post about a fatal bug in a popular piece of software, and it brings down the OS. You said it's interesting. But because it's got to be a pathological case, even though it's actually happened to people in production, it's not important? (This response wouldn't bother me if it didn't feel to me like part of a broader culture of minimizing the impact of serious software bugs under an unfounded assumption that they're not that common -- as though that were enough to make them unimportant in the first place.)
where are you getting all this sawdust from
Now there is a FOSS project one might have expected to dogfood. Nothing beats free... b^)
I have exactly this experience whenever I read something by a physicist! It is another universe where everything seems vague, but they somehow manage to get the correct answer anyway, and usually very quickly too.

> and it turns out to be a rather elegant bit of theory

Do you have a recommendation on what to read for that?
Another issue I noticed: In the FAQ the line spacing is way too small.

Firefox, Windows 8.

http://imgur.com/x8zIXFT
what is your opinion about Backbone.Marionette. i have been looking at it for a while but have not jumped in
Can you provide a bit more detail?
In fact, there's a unikernel specifically optimized to run the JVM (as its only process): http://osv.io/
Show HN: Code South Labs, Mississippi's first coding school
I am a co founder of Code South Labs and a native Mississippian who has been a developer for 12 years. Today we launched Code South Labs (http://codesouthlabs.com) not only to hopefully make it a viable business, but aslo to give opportunity to the people of one of the most impoverished states in the United States by offering them the opportunity to learn how to code. I know how much this knowledge has done for me, my career and my family, and hope to help as many people as possible out through teaching and helping others learn through our program(s). I would appreciate any feedback about the curriculum and the site. The site is live but we will be making tweaks to the curriculum and copy over the next few weeks as we finalize our courses for 2015.
>The real question is why it took so long

Remember one of C++'s promises: if you don't use it, you don't pay for it. Your C++ programs have to be as fast as C as long as you're not using any C++-only features. The only way to have reflective information is to add all of this reflective information to your binary. But when do you add it? How? Obviously you don't want to add if the calling program never uses reflection, but it's difficult to predict in advance when this is going to happen. Worse, what if a program wants to use reflection on a pre-existing external library?

I suppose they're finding ways around this problem, but that's essentially why it's taken so long. RTTI is expensive enough, and reflection even more so. If you want polymorphism in your reflection (and reflection seems kind of useless to me without it) I don't think you can do all reflection at compile time, so some sort of payment will have to be done at runtime.

I suppose non-polymorphic reflection is enough for Qt, but it's still a very limited form of what is usually desired from a reflective interface.
The fact that we live in multiple thread environments does not mean that we have to use them.

The same could be said about Internet, people say "there was no Internet distractions" when you could disconnect the network in any computer with a 3 seconds click.

In fact what threads do is make your life easier. I did program a multimedia program in DOS using INTs and it was the definition of hell.

Now you could make a simple audio thread, another simple picture animation thread and the more complicated thing you deal with is managing mutexes, that is super easy if you understand them.
Show HN: Vulcand – Proxy for microservices and API
You can run Skype inside a docker container: https://wiki.archlinux.org/index.php/skype#Docker
Other languages have made it into the browser, in much the same way that other languages than raw machine code have made it into computers in general.

JS is the common compilation target of the web, and also happens to be a language that many programmers find tolerable enough to use directly.

As nice as it is to have multiple options of source languages for the web, there's a lot less value in having multiple options for compilation targets, as well as greater costs (particularly given how tied execution engines are to browser engines, so that you really need a separate engine for each compilation target for each browser engine. Having a reliable, good-enough cross-browser target language that is a the intersection of the JS supported by each browser engine is easier than doing that same thing for multiple different target languages.

A new target language is going to have to offer really compelling improvements in execution to make sense to compete with JS in that role on the web.
If you have a smartphone you could use that as your Skype-machine. I have a cheap Chinese Android phone bought 1 year ago and it can take video calls easily. The point being that in most cases you don't have much choice giving up security on your phone anyway so you may as well put all the spyware in one place.
Aha nevermind! https://news.ycombinator.com/item?id=8651303
Keep in mind it's an hour show with 5-10 minutes devoted to each company(TV Time). The time spent asking the real questions, getting to know the founders, and learning the product takes a lot longer. It's just edited for TV. That stuff is edited since it's network TV and the general population would be lost.

Is it real or staged?

MC: It’s all real. There’s nothing fixed and nothing staged. Literally those deals go from 30 minutes for just stupid-ass ones to 2.5 hours for some people.

http://www.businessinsider.com/mark-cuban-what-shark-tank-is...
And there's OSv, http://osv.io/, from the people behind KVM.
Instead of burning a coaster, would it have worked to just play the .wav files out of the line-out jack on the more modern computer?
I don't think this is universally true. The bottom of the market is hefty in real estate, as you say. But, it's not the whole market. In fact, the range of quality/price in all home fixture is pretty wide. There definitely is a market for high end everything, including Aircon, water heating and other "similar" categories.

It's like saying that some high end monitor failed because everyone gets the cheapest monitor. Yet, Apple still sell some monitors @ 5X the price of the bottom end.

A lot of markets are like this. The bottom takes 50-75% of the market share with the rest ranging widely. TVs, doorknobs, office chairs, socks, nipple tassels...
If the DMV did the same thing it shouldn't surprise anyone.
Cameron Treu and Scott Warner – Authentic to the Bone
Now there's a product idea: a backup thermostat that takes over when the house temperature drops toward freezing.
Same error here, with the same empty response, followed by {"name":"RqlDriverError","msg":"Object field 'id' may not be undefined","message":"Object field 'id' may not be undefined"}
It is a DoubleClick invention that Google bought. They then attached "from Google" to the logo and it took off like a rocket.
My team is using Angular for an app that contains large tabular data all over the place. We ended up having to rewrite the table generation in jQuery and now we've got a POC in development using React. Most other places we've had to use shims like angular-once to make menus performant. At this point we're building work-arounds for most of the things that makes Angular special.
Nitra is actually written in Nemerle. It is open-source just like C#. So in a true Linux spirit should be compilable from command line.
>> "most other users simply don't care enough to read something like this"

It scares me to see the number of people who post publicly on Facebook and the sort of stupid, potentially damaging stuff they post. The only conclusion I can come to is that A LOT of people really don't care or they're too young to understand the implications of posting publicly.
Haven't used ReactJS much but it looks promising in solving the problems created by AngularJS for instance its push-and-pull mechanism for data binding is efficient than angular's 2-way binding using watches...

> React is just the V in MVC, Angular is / can be the rest.

that's why its more of a micro-framework, its pluggability with other frameworks makes it customisable according to the proj requirements
"being a syntax highlighting service for editors" - a bit of an understatement for syntax checking and future refactoring capabilities.
Musk: I Won’t Be Tesla’s CEO Forever
That article doesn't say what you think it says. It starts with an HR person tut-tutting about desktop sex. About the only example of overt empire-building it cites is Google+, and we know how that ended. It also cites examples of self-organization and un-management, where leadership emerges bottom up. Argumentative meetings with the CEO are pretty much the opposite of a backstabbing culture.
Toshiba Makes Over Mothballed Computer Factory into an Enormous New Factory Farm
For some reason Rybka is indeed named after the word for fish and the developers of Stockfish probably made a joke (I don't understand) by referencing this.
Sprinkler systems (and the people who don't use them properly) are indeed in need of "automation" as you say. I see so many sprinklers on in the middle of the day (as opposed to early morning, when they should be on) or during a rain storm. It's not that hard to properly set the timer, but people still don't do it.

Get the 80% cases right on sprinklers and the fact that people don't manually override is fine.
The rule of thumb is that most languages are rarely used (since there are a finite number of users), so if you support only the most used languages you necessarily drop support for most languages.

Then depending on exactly how popular a language must be to be supported you could end up breaking language support for quite a lot of them.
Xen is an example, but, more generally, virtualization has been the big story in systems software for the period mentioned in this article (post-2000). VMware came out of systems research at Stanford and Xen out of Cambridge. The cloud world of AWS/Azure/GCE with tens of millions of VMs running for pennies per hour is a radical shift in how we think about systems. The new wave of Docker/containers promises to extend this idea even further up the stack. How can we call that "stagnation in software" since 2000?
You're confusing compile-time reflection (what is needed for moc) with runtime reflection (which affects binary size and execution time).
finally, a slide deck that uses `history.replaceState` instead of `history.pushState`. no more having to hit "back" 90 times to exit the deck. how the latter ever became a pattern is beyond me.

[EDIT] it probably became a pattern because of browsers that didnt implement the history API, so all hashchange events were pushed onto the history stack.
The fastest way to view Google Analytics on your iOS device: $0.99 launch price
Hagel Resigns as US Defense Secretary
"5 star performance requirements" - Scala Play comes to mind rather than any JS MVC frankly speaking.
The BMV offices in Ohio have already been privatized. http://www.cleveland.com/open/index.ssf/2014/06/ohios_driver...
Is it hard to find a training partner for your favorite sport
Hi All! I've built Vulcand to support Mailgun's micro services infrastructure. I think of it as Hystrix + Zuul embedded in the proxy. Let me know if you have any questions or comments!
Can we find the talk somewhere?
My opinion of Angular is now that it's basically the equivalent of PHP (if we're comparing it to other languages.) PHP is super easy to get started with and is magical and with enough forethought and planning, proves to be a serviceable language suitable for small projects.

However, if you don't draw lines in the sand for yourself and watch performance very carefully as you scale, your app will suck. For reasons of maintenance or user experience, it will suck.

It's awesome for tiny projects or things that won't need to be changed or internal use stuff. I personally am using it to build a prototype of a product. But I'm planning to convert this prototype very soon to React or Meteor.
That's a very nice retrofit technology. I have hot water heating. But that does bring to mind the possibility that a weakness of the Nest thermostat is that it does not have a complete picture of temperatures around the zone each thermostat controls.
Ask HN: How do I get users to engage?
I launched my app cronasaservice.com recently to provide a simple API and UI for online Cron jobs. Many people have entered their email address for a free account but very few have ever logged in.

How do I engage users and get them to log in? They are obviously interested otherwise they wouldn't enter their email!

I have tried introduction emails and contacting people directly but no luck.
I'm hearing the following rebuttals:

- Comcast/AT&T/Time Warner is not real/enough competition, more like a monopoly

This problem could be solved with the antitrust laws already in place. Despite being a libertarian I'm not opposed to breaking up these private monopolies that government policies have made possible.

- Being private hasn't protected them against federal intrusion

Being private citizens has also not protected us against the NSA spying on us. That does not mean the solution is more government intrusion to offset the existing one.

I oppose the federal government overruling state laws in any sense (so I'd rather the laws against municipal ownership of the last mile be abolished by market forces) as that obviously stifles competition between states.