skysight-inc/HackerNews huggingface dataset:
You should change #LoginForm_username from type "email" to type "text" or people will get this false error:

http://i.imgur.com/vHeD5qk.png

http://i.imgur.com/21pm6Bg.png
Regular expressions will exhibit the same behavior. They will also short circuit if no match is possible/ In essence the behavior that causes the problem is a desirable performance optimization for the general case that you just need to prevent here.
I think you really need to differentiate between web applications and websites. Websites still are a lot better off with primarily static websites in terms of SEO and performance (caching static pages is easier). For web applications a SPA approach definitely has advantages; for the biggest part in usability. Given that a vast majority of content on the web are pretty plain websites I'm sure Rails will stay relevant for quite a while longer.
"People often suggest that inline PGP signatures in e-mail are somehow more compatible or more acceptable than using PGP/MIME. This is a mistake. Inline PGP signatures are prone to several failure modes, up to and including undetectable message tampering."

Nope. it IS more compatible. With old clients, etc.

That's confusing being more compatible and being safer. That's not the same thing.
No, it's 64 decimal digits ~ 213 bits of precision! Octuple precision should have 8 * 32 = 256 bit word size. IEEE 754 single, double, and quadruple precision FP have 32, 64, and 128-bit word sizes, with significand precisions of 24, 53, and 113 bits.

https://en.wikipedia.org/wiki/Floating_point#Internal_repres...
I'm not so convinced it's a purely political issue. I think there's equal parts of bureaucracy and technology in there too. Bureaucracy via the costs associated to run and maintain a plant, given the incredible red tape put in place, and technology in that to myk nowledge even the newest gen4 designs don't neatly and completely resolve the objections people have to them.

Are they good enough? Sure. They're good enoguh to convince anyone with an open mind. But they're not the problem. None of them are yet to the point to convince the person who is inherently against nuclear power. It's not yet at the stage where we can throw in some stuff, have it do its nuclear thing and produce energy, then do something very simple, easy, an un-fuck-upable such that there is no problematic waste at the end.

Maybe the technological aspect is political in disguise. I mean, it's easier to point at containers of nuclear waste than it is the airbourne pollutants that coal spews out. But I think you'll find that the easier solution to that problem comes from an improved technology that renders it null and void, rather than a change of political will. Particularly when semi-alternatives in the form of the various renewables exist and provide a much bigger attraction to the nuclear detractors even despite their flaws.
People have so varying experiences it's not even funny. I guess fail to boot means some update was required to initrd that didn't make it, but it's not something that would be common among the mainstream stable distributions. I've certainly never seen it on hundreds of machines.

Windows is a different story altogether. Not primarily because of some technical inferiority, but because people run all kinds of not-even-broken things with admin privs just because they got it in a box.

Just last week someone pushed a mobile broadband stick in their Windows box. It purred and whirred for a while, and hasn't booted since. I've seen similar things before.

(OT: I'd be grateful if anyone had any helpers on how to remove things selectively from the Windows boot process. There is a safe mode boot, which also hangs. Can I step through it, like on DOS? Can restore the boot related registry settings to an older version? Google doesn't help me at all here, and it seems like it should be a pretty common problem.)
Refile – Ruby file uploads, take 3
I guess - from my point of view it would be lumped under the wider group heading of 'how much should I worry about going to significant effort supporting stuff that few of my customers will care about?'
Peppermint Lite – The Better CodeRunner for OS X
Revolutionary paper indeed, if this idea generalizes to bigger deeper networks! (Then) why hasn't it been discovered before? It's like the Cambrian explosion of neuron networks, very exciting times.
Wow, glad to see the news. Now we just embed rails web application into cowboy server by using cowboy-rack adapter.
Thailand party guide – need feedback
Anything that increases executable size might/will cause it to make more fetches into memory, if only to get all those bonus instructions.

I'd say this is a pretty minor effect in every scenario I've dealt with. Haskell, in particular, lets you inline very easily (and so many people do if performance is important), and I've only heard of one time where that had a negative consequence, and that was mostly about a missing optimization that you had to fix in a non-removing-inlining kind of way (it had to do with polymorphic strings leading to code inlined at every single string literal, which is extremely silly).
"For the special case of the ejection of binary stars, described in Section 6, we employ octuple floating-point precision (~64 digits)"

"That's about 18 decimal places, right?"

I would 'guess' it's about 64 decimal places. At 3 digits in 10 bits, that would require 214 bits. Double precision has 53 bits for the mantissa, so that is in the right range.
No it doesn't support copy-paste file transfers yet. Supports folder redirection though.
Past, Present and Future of Programming
Once we've found which genes produce a 10-15 IQ point difference (and that's a big "once"!), we select for those genes, and get a 10-15 point boost in the next generation. Eventually, assuming an ongoing eugenics program, we get a strain that breeds true for those characteristics, and the 10-15 point gain becomes permanent. What makes you (or the author) assume that every generation we're going to find another set of genes that will produce another 10-15 point boost?
So are you saying that successful people don't cling to beliefs that have a lot of evidence against them?

Because that's even more generally wrong that what you initially stated.
Apple’s iAd 180: Open Programmatic API
I've been using it for 2-3 weeks and I think I'm never going back to Sublime! I mean... this one is literally packed with features!
Gilad Bracha is the language designer behind Dart and Newspeak.

The talk itself touches on many interesting things but one point that stuck with me is on DSLs and the 'world of shadows'. In a nutshell he explains why …

React >> Angular, Polymer

While you have the full power of JavaScript or Dart when you work with an 'internal DSL' architectures like Angular and Polymer or many templating systems have to re-invent many things like scoping, importing, logic and even things like iteration.

Related article: http://gbracha.blogspot.de/2014/09/a-domain-of-shadows.html
> Perhaps there will still be a large demand for sites that aren't SPA applications. Interesting times.

It's isnt perhaps,99% of websites outthere arent SPAs.I'm pretty sure a majority of website you visit arent either.

> I'm curious about the fate of Rails(and other frameworks like Django) in a few years, seeing that many web applications are moving to the Single-Page-Application model and the server simply acts as a rest backend.

Why would you need a different framework for a "rest-backend" and a website that displays html? I dont understand.I pretty sure Rails has a "content negociation" like feature when it comes to json,xml,or html content types.
Show HN: Give the gift of tech support this xmas
I am learning to code and the welding analogy is helpful and encouraging. I am a competent welder (TIG, MI & Arc). I'm confident that with enough practice and commitment I will be an even more competent programmer.
There's a whole book out recently on superintelligence risks:

http://ukcatalogue.oup.com/product/9780199678112.do
I think Javascript frameworks (like Meteor) will grow in prominence given the promise of code sharing between client and server, better integration with single-page applcation and better libraries for server-side processing.
It's misleading because it implies this is a unique problem scoped in PHP. That is factually incorrect and hence misleading any reader to assume this article is about PHP's poor security against timing attacks.

It'd simply be nice if the scope of the discussion was about how all languages have more or less the same flaws. Anyone writing code with security in mind should understand how to avoid those flaws.

There are many ways to alleviate the problem specified in the pull request that may be better. Pecl is one route that was mentioned on internals. Also, possibly just cache the hex value in memory and avoid the bin2hex conversion outright (with randomization of your cold cache times).

Edit: As an aside, I want to also greatly express that the requirement to attack the bin2hex vulnerability is so high for most cases the attacker would require complete, private, 1-hop, uninterrupted access to a single target machine. Usually this implies the attack not being remote but I do understand the mental exercise.
I find it fascinating that I had to see and play with React to grasp the power of defining DOM and even CSS using Dart (or any decent programming language) itself and how much better that feels compared to working with external DSLs.

One of these situations where something was always in front of my eyes for so long yet I couldn't see it until I tried it.
Do you have an email? I'm in the industry.
The article was about Santa Clara County, not SF.
which editor are you using?
You don't need to sell your product in the first meeting. Just talk to them about their business and understand their pain. Later, you can guide them to your product and they will give some suggestions that can make your product better.

Sales is not about selling stuff and moving on. But it is about helping your customers success in their own business.
Some of these problems can be incredibly difficult. We used to use these to practice for the ICPC.
A Multi-World Approach to Question Answering about Real-World Scenes based on Uncertain Input is very cool.

The Karpathy paper, too.

I love the cross-modal work that's going on at the moment.
Haven't found anything yet. Concentrating all the industry away from the residential sections doesn't help. Using all nuclear power doesn't help.
WP Plugin Directory – The smarter way to find WordPress plugins
No sockpuppets on Hacker News, please.
A slick timepicker based on MomentJs
Even though Spoj is great, nowadays contest programming people use some other online judges. http://codeforces.com/ and http://www.codechef.com/ are mostly used platforms.
> It's isnt perhaps,99% of websites outthere arent SPAs.I'm pretty sure a majority of website you visit arent either.

Currently 99% of websites are not SPAs, but I think a lot of sites will switch to SPAs in the future, since they offer a better UX(no full reloads, more interactivity etc) in most cases. I'm sure customers will demand these sort of sites once they start using more SPAs.

> Why would you need a different framework for a "rest-backend" and a website that displays html?

A full-stack framework is overkill as a backend for SPAs.
Yeah I'm gonna bring it up next time I attend a meetup. :) Hopefully I'll find out something like it already happens and I just wasn't aware!
programmer nearly arrested for helping woman
yes, definitely. also beyond Thumbtack, see Homejoy, Handy (both doing extremely well with lots of capital), even TaskRabbit, and a handful of other younger attempts that are late to the party. should be interesting.
It's only in the last 12 months that it became clear this was possible. The Ng "Zero Shot Learning" paper came out at NIPS2013, and given the lead time for a paper like that I think they must have started work at about that time.
Mou raised funds successfully, 1.0 will release in April 2015
Awesome work, Joe!
In case you wonder if this s yet another study about this matter, note that the article is from 2011/01.
How much does a codebase have to be worth to justify programming like this?

It seems like if there's one or two guys, they'll just use haskell, or o'caml or f#, and skip this complexity.

I'm guessing a company must have 40-50 engineers, with one super critical execution path that must be separated out to support this style. Maybe 10% of the team has to interact with this style code? Maybe $5 mil in engineering labor - a $50 mil/year company?
"You want to avoid hiring a weak or bad employee, and you want to avoid not hiring a good employee who merely looks bad on paper."

Yes, but the first is a much more serious problem. It's unlikely that a small company will founder if it misses a good hire, but a bad hire can certainly destroy it. Better to err on the side of caution.
I've asked this before because I don't get the American fetish for brand name universities, but never gotten a good answer. Who has shown that a degree from MIT would be better than a completely equal degree from another university? Has anyone (recently) sampled X MIT students with X other random students with the same score and shown the MIT students to be superior?

And how would MIT compare to non-American brand name technical institutes? Moscow, St. Petersburg, Berlin, Tokyo, Beijing, Bangalore ...?

If you haven't seen any evidence, but still believe that MIT is the best, how can that not be bias?
> A full-stack framework is overkill as a backend for SPAs.

A full stack framework doesnt(and shouldnt)force you to use its view layer.I fail to see how it is overkill.

What is overkill is using different frameworks for an app that spits json and an app that spits html.A good framework shouldnt care wether you return one or the other to the client,that's exactly what Rails does.
Great Idea on How to “Prototype Your Products 10x Faster” Using PPT
but I think a lot of sites will switch to SPAs in the future, since they offer a better UX

Actually I suspect that a lot of these kinds of sites will primarily migrate to native mobile apps.

A full-stack framework is overkill as a backend for SPAs.

I'm not so sure. HTML rendering is a pretty small part of what a complex framework like Rails does. You still need a database/ORM layer, user management and auth, routing, caching, etc. The same things that make Rails productive for traditional web apps also make it pretty nice for building REST APIs.
Great stuff.
Zubair from NemCV!
XP to Vista took 6 years because MS had huge plans for Longhorn. It took some time to build these things, then some more time to decide they won't be ready any time soon and throw them all away.
The second you say "install this PECL extension" people hop on the fast train to nopesville. That is the problem I ran into getting people to adopt libsodium :\
So you've just sterilized the Einsteins...

The whole premise is that "like produces like", which of course is nonsense. Dumb people have brilliant kids, ugly people produce beautiful children, and so on and so forth.
Seems like here's the right time and place to ask.
How do I comfortably inspect variables of types like
std::vector<std::vector<boost::optional<string>>> with gdb ?
I see a lot of anekdotes here on HN about meditation. But anekdotes are not science. I dislike the very close relation between meditation and spirituality that turns into fluffy bullshit.

I distrust peoples self-reporting because it is extremely unreliable.

The 'eight weeks to a better brain' sounds like any link-bait you see on the internet (' 6-pack in 12 days!').

Also, the results may be merely from the fact that these people spent ~30 minutes a day deliberately relaxing. What would happen if the control group would just lie on a couch for 30 minutes, doing nothing? None of that in the article.
Actually, it's not necessary to build a list of known pairs that you eventually link into a solution; if a challenge reveals at least three vertices you can identify each vertex unambiguously one by one. (That's because there are only three colors, so as long as you include the same two vertices v1, v2 in every challenge, you can classify every vertex into [color of v1], [color of v2], or [color 3] as soon as you see it.) A list of pairs only becomes necessary when there are more than three colors allowed.
Rails works quite nicely as a REST backend. Its also much faster in my experience to render json than HTML templates. Rails is great as a general starting point, letting you choose SPA at the start or later.
Isn't mention of chaos theory irrelevant? Chaos is the effect you get when you can't measure something accurately enough, or you can't (don't have enough computational power) to run a perfect reality simulation with those measurements (even if they're good enough in theory to form the basis of an accurate prediction) in reasonable time, or both.

I think the main premise rests on the same confusion about free will that shows up in Newcomb's paradox. Either there is free will that transcends anything's ability to predict, even in theory (perfect knowledge/measurement and infinite computation), or there is not. If there is not, then a demon/AI/God setting up a test/prediction based on your future decision may be possible, but your awareness of that fact will simply be an input into your future decision-making... an input that the demon/AI/God already accounted for when making the prediction. Just because something is recursive does not mean it's not deterministic. I happen to believe that Laplace's demon exists, it's called physics, but its state is the physical world, so it predicts things will happen at exactly the moment they happen (the prediction/computation being entropic decay); unfortunately that doesn't seem very useful for predictions in the practical sense.

If there is free will that transcends physics, then prediction is fundamentally impossible by something bound to physics—so it's a thought experiment where some things are bound to the laws of physics and others are not. What is the purpose of conducting thought experiments about the physical world, based on supernatural axioms? "Free will exists," the claim goes, and yet "here's a thing that can collapse free will and issue arbitrarily accurate predictions on human behavior." And then, "Let's see what happens when these axioms are applied to someone in the physical world choosing whether to try to make more money or less."
Well, in the protocol described in the OP, the verifier can't build an internal copy of the graph-coloring, because knowing that two adjacent vertices in the graph are two different colors doesn't help anything; that much is required of any solution. In the protocol I describe, the verifier can do that, because revealing more than two vertices simultaneously leaks information that isn't necessarily true of all possible solutions (at least, it can; if three vertices which connect in a triangle turn out to be three different colors, you haven't learned anything because any valid solution will have that property).

The problem I'm having is that I agree that the one-edge protocol is zero-knowledge (and that a verifier could be tricked indefinitely by a prover with a time machine), and obviously the two-edge protocol isn't zero-knowledge (and, in probably-related-but-I'm-not-sure news), a verifier using the two-edge protocol cannot be tricked indefinitely by a time machine). I can tell that, but I tell it by looking within my soul and thinking "yes, there is no information leak when one edge is revealed, but there is a leak when two edges are revealed". That's not a reliable method; I'd like to know how to prove that information does not leak through a protocol, and I don't see that anywhere in the OP.
Its actually the ksplice blog. :/

Oracle got their filthy hands on it when they bought Sun.
Or that the group learnt a new skill, which involves both new physical and mental agility. For example would learning to dance for an introverted person produce the same changes in the brain?
I flew with Singapore Airlines in 2000 and they had already Nintendo systems for each seat. Similar to this: https://www.youtube.com/watch?v=EIkx6E0Mwsk
So they just add a patent for emulating...
> ...help restaurants to speed up sales. Apparently it is not a very hot field to be in at this point.

Money and confidence. It's probably better than you think!
I was always under the impression that these server based frameworks are better for two reasons, the code is safe, so you're leaking less of your code, and that the size of the website on the client is reduced allowing for faster downloads.

I could be very wrong, but I feel more comfortable keeping as much code on the server as possible.
Learn from the masters: The secrets of Steve Jobs' presenting style
When doing your market research (by which I specifically mean talking with your target market about their pain - you can't do market research in your basement, only competitor research which is not the same thing) ask them about sales reps for their other providers that they like and trust. Get an introduction wherever possible.

1) If nothing else, people who already sell to restaurants understand the market and can introduce you to other owners you can speak with, and

2) You probably want a salesperson with industry expertise and existing relationships, rather than someone with App / SaaS experience. Even if they've previously sold produce or tableware or linen services, you can teach them the technical basics and they can sell it in terms that will create cutthrough in the market.

Lastly, when people Ask HN about finding a technical co-founder, the advice is nearly unanimous: try learning some of the skills yourself. The same is true of Sales and Business strategy - you may never become an expert, but forcing yourself to learn the basics will help you identify the really good operators in that space.

Good luck!
تحميل برنامج تركيب اللوحة على اي جسم
Compare to Gentoo. Gentoo defaults to their homegrown OpenRC. But Gentoo is all about choice and so systemd is an option and works perfectly well. That's "init-freedom". If someone doesn't like systemd and removes it from their distro, that's OK with me. But calling that "init-freedom" seems weird. Maybe they should call it something like "sysv-freedom", if that's what they mean.
GDB 7.0 and up can be expanded with Python pretty printers to do exactly this. See here: https://sourceware.org/gdb/wiki/STLSupport
>But I don't know how to _solve problems_ with it.

Do you have problems? Maybe you just don't to solve anything at the moment.
You guys need to learn how turbolinks works. Rails already is basically an SPA framework.
There are so many mobile emulators that I would be surprised if they wouldn't do this too.
Wadler typically writes very clear, approachable papers.
Paragraphed version available?
Nice, I'll go trough this things. I'll be in touch if I have any questions. Thanks.
Turbolinks wipes off the entire DOM and replaces it with the new request's html on link navigation. So no, it is not an adequate replacement for SPAs.
Ask HN: What would you exchange for an hour of  1to1 coding lesson?
You want to learn coding, I (or s.o else on HN) can teach you. What would you pay for it? Anything but money.
Or that compiles to Javascript for the client-side, like Volt (which I have been very impressed by): http://voltframework.com/
Thanks for the info!

Now that Office 2003's support has ended, I don't think Mirosoft will do anything about the problem for newer versions of IE.

(If I could, I would also upgrade Outlook on that terminal server, but that is another story altogether.)
He should be arrested for his unreadable writing.
From preliminary obervations, Meteor.js as some users have earlier mentioned, is actually a full platform but yet with sketchy documentation and little support from users in terms of open source stuff and help.