skysight-inc/HackerNews huggingface dataset:
A majority of the states appointed their presidential electors in the nation's first presidential election in 1789 by appointment by the legislature or by the governor and his cabinet. Presidential electors were appointed by state legislatures for almost a century.

The Founding Fathers in the Constitution did not require states to allow their citizens to vote for president, much less award all their electoral votes based upon the vote of their citizens.

The current system does not provide some kind of check on the "mobs." There have been 22,991 electoral votes cast since presidential elections became competitive (in 1796), and only 17 have been cast for someone other than the candidate nominated by the elector's own political party. 1796 remains the only instance when the elector might have thought, at the time he voted, that his vote might affect the national outcome.
The electors are and will be dedicated party activists of the winning party who meet briefly in mid-December to cast their totally predictable rubberstamped votes in accordance with their pre-announced pledges.

The U.S. Supreme Court has upheld state laws guaranteeing faithful voting by presidential electors (because the states have plenary power over presidential electors).

In a winner-take-all state, if Trump is nominated and wins in that state, his party's electors in that state will vote for him.
http://curlpipesh.tumblr.com/
Those aren't rails specific issues.

If you want to run on old software that you don't have to upgrade or maintain, you are going to pay for someone else to do it.

If you want your cake and to eat it too, you're unrealistic.
Are you a Node.js developer? Help us build better tools for you Short survey
With respect to Anne joining, would Google find out about applying startups?
CodeShip would be awesome, I'd also love to see CodeClimate support. I didn't know about https://about.gitlab.com/applications/, I'll make sure to keep an eye on it
Article's author seems very favorable of Node: which would be lower on my list the Rails as a server-side language.

I believe Rails is still a great option in case you want to use an existing team and where strong performance is not a requirement. Learning Rails is currently a very minor bump in the road, since (1) the language is easy to pick up, and (2) the framework is well documented (every possible question is on stack-ex it seems).

For now I'd look in the direction of Go, Erlang/Elixir, Clojure and Haskell as the new contenders for doing web development. They all have their own strong points, and I personally resonate most with Haskell (strong typed, manageable maintenance curve a.k.a. happy refactoring, fast enough).

So why not Node? It's because of JS. The language is the biggest "API" you will ever write against. Moving away from it is called either a rewrite or a port. So making a choice for a language should be made carefully. And design choices when making a language should be made carefully. In case of JS the design was clearly haphazardly done: and this will leak into any code written on top of it.
Show HN: Inexpensive x-ray hardware
Hi HackerNews!

I'm Adam, a young lad who has been working with some friends on democratizing x-ray imaging, through lowering the cost of such hardware to a point where it's affordable. (from $80,000+ to $3,000 or less).

A short summary of our project is here: http://aperture.systems/mission.pdf

And, a big folder of cool x-ray pictures, gifs, and things we have built is here: https://drive.google.com/open?id=0BwIWrZZX8IW6fjR4LUVOMjExSHN5M0VGQm5jbUtNVTNuNDJqbE1Ja21lckprM3FlV2NEekk

At this point, we're bootstrapping our work by repairing x-ray sensors for people. We'll be applying to YC this year, and are looking for angels who'd like to help us ship desktop CT scanners to workshops all across the country (as our first product). I'm sharing this on HN to see what y'all think of our project, and, to find people excited to help make it a reality.

Cheers!
-Adam
Did you read the article?

"'less' doesn't interpret escape sequences unless the -r switch is used,
so stop aliasing it to 'less -r' just because there's no colored output."
Using bitcoin to buy things. Obviously?
Backlash against Struts and other java MVC frameworks that were configuration heavy?
Neither of those would fit the premise. But thank you PC person, I will tune my language in the future to meet societal obligations.
The author seems to be comparing Node mindshare to Rails, but his Node framework of choice is Sails. It seems to me most production Node web apps are using Express or to a lesser extent Koa and Meteor. Is there some huge secret contingent of production Sails apps I don't know about?
was his title before the demotion, "Best War Reporter"?
fine partner?
Also, they have (or had, at the time) completely different philosophies: while Rails was highly tied to "convention over configuration", Django went the other way after the "magic removal" branch and it became fully "configuration over convention".

When I had to chose one over the other, I ended up using Django simply because diagnosing issues was simpler. Rails required a pretty substantial amount of a-priory knowledge to get things started (think, naming a file or method a certain way for it to magically be available somewhere else.) Django was more straightforward and allowed you to write code that, while not 100% django-esque, would work. I remember doing a lot of refactoring whenever I'd figure out a new framework idiom that I had missed earlier, but hey... I had working code before I needed to learn the idiom.
promises, async functions and generators will make writing async code look more sync in javascript/node.

Whether or not this is a good thing or not, I'm undecided.
You're arguing that a compiler is not a major operating system component when the license explicitly enumerates it as a major operating system component. Nobody says you have to get all your operating system components from the same disc.
I also noticed if you zoom out all the way the map disappears.
Super thrilled about Anne. YC could use more exposure to biotech, and aspiring biotech-ers could use an open, accepting mind. Great choice.
I'm unsure about the hardware capabilities of this. I understand that the display cannot display 1080p.

However, if i do copy a 1080p mp4 file with subtitles onto it, is it likely that this one will be able to play it?
I think that was only for a few cities in India?

This works everywhere uber works. Today!
Yes, while zoomed in that property is useful, zoomed out less so.
The National Popular Vote bill would guarantee the presidency to the candidate who receives the most popular votes in the country.

The national popular vote winner would receive all of the 270+ electoral votes of the enacting states.

The bill ensures that every vote, in every state, will matter equally in every presidential election, and the candidate with the most votes wins, as in virtually every other election in the country.

Every vote would matter in the state counts and national count.

The bill has passed a total of 33 legislative chambers in 22 rural, small, medium, large, red, blue, and purple states states with 250 electoral votes.
The bill has been enacted by 11 jurisdictions possessing 165 electoral votes—61% of the 270 electoral votes necessary to activate it, including 4 small jurisdictions, 3 medium-size states, and 4 big states.

http://www.NationalPopularVote.com
I've worked in PHP since 2000 or so.

It's amazing what it's turned into. That said it's still very painful and the ecosystem has a very long way to go in terms of build tools, etc etc.

I bet there's a lot of money to be made in being able to turn old legacy php codebases into nice well factored systems in the next few years.
I am too concerned about the PR and the fact that this study was commissioned by Uber. I would view the conclusions of this study with appropriate skepticism.

http://newsroom.uber.com/2015/09/the-effects-of-ubers-surge-...
would love ot hear what you think drop me a line at my email if yo ufinish it.
I sometimes wonder about this very question from month to month and I always end up seeing Rails as a winner.

I believe the success behind rails and ruby ecosystems is due to the rails "monopoly" - it got so many things right along the way, from embracing REST, to migrations, generators, TDD, to the asset pipeline, turbolinks, supporting PG's hstore and jsonb and so on...

And even if you decide not to build the frontend part of you application with Rails, it is still a powerful tool for building an API. After a few experiments trying to embrace a more domain oriented approach (largely thanks to Bob Martin's talk 'Architecture, the lost years'), I am both productive and comfortable writing complex business logic in plain ruby and attaching it to Rails.

And finally there is testing. When I need to move from RSpec's powerful BDD capabilities to py.test (our ML algorithms are written in Python) I see how much more productive (and confident) I am writing Ruby code.

The article indicates that the next big thing in server-side development is Javascript, but hasn't it been for the last 5 years?

First express, then the whole MVC moved over to javascript with backbone, angular, ember and meteor - but you still needed a server side API so at least the models and controllers were written twice (I still see the marshalling data in JSON as a "V"), and then came Angular V2 and before you even got the chance to play with it, you were using a "useless" framework. And then came React (which, btw is just the V, despite being (wrongly) promoted as an Angular alternative), but it doesn't quite specify how to connect with the data itself so then there is Flux, and JSX and Babel, Typescript, ES6. And, let's not forget the tooling behind everything javascript: node, iojs, requirejs, webpack, npm, bower (why are some packages available on both places btw?), grunt, gulp. And the cherry on the cake: no more REST, the next big thing is GraphQL.

I exaggerated on purpose, but as a software engineer who is not strictly focused on web development I appreciate being blindly guided by the decisions made by the Rails community.

It feels there is so much more serious/strong "competitors" for the next server-side Language/Framework duo now, than there was 8 years ago (Go, Javascript, Java8, Python 3, Haskell, Clojure, etc) - and from what I am able to keep up with, if I had to move, I'd go to Elixir/Phoenix, exactly because it seems to be fixing ruby's major issues while keeping rails' excellent choices.

But this moment hasn't arrived yet. What I'm looking for, before betting on the next big thing, is success, and as a @andycroll said: "If scalability and speed is a problem, congratulations, you're a success."
Fish oil yay, multi-vitamin meh.
At

http://cstheory.stackexchange.com/questions/1539/whats-new-i...

I found a reference to Skip-trees, an alternative data structure to Skip-lists in a concurrent approach[1] by Xavier Messegue (1997).

[1] http://www.lsi.upc.edu/~peypoch/investigacio/reports.dir/RAI...
> A few frameworks are strong contenders to be the successor to rails. Node.js is in the lead.

Node.js isn't a framework. What about comparing apples with apples?

Anyway, I think that the main change that's going on right now is that lots of web apps have a higher and higher percentage of the code written for the front end (web and mobile) rather than the back end.

Rails still has much higher productivity and tooling for back-end development than the Node.js frameworks I've seen for now, but that could become irrelevant for many startups in the medium term, just because a lot of the added value for them will come from the front end rather than the back end.
I've created a similar example in order to try out the new Python 3.5 async syntax. While the async function bodies themselves do not change, there is some boilerplate necessary in order to call async functions.

You can check it out right here https://github.com/justuswilhelm/kata/blob/master/python/cor...
if this allows anyone to use their D-Link hardware however they see fit, I'm all for this kind of mistakes...
I'm learning Rails right now and this isn't the first time I heard how slow RoR can be. Hell, there's a whole site answering the "Can rails scale?" question (http://canrailsscale.com/).

A lot of what Rails does, and even the little things, like naming conventions in ActiveRecord, intuitively make sense to me. If RoR ever does expire because another language/framework displaces it (maybe Elixir/Phoenix?) or because of poor/no support from a big company, I wouldn't look at it as a waste of time. Overall, I'm seeing a tried-and-true method of creating web applications and I'm enjoying it so far.

RoR can still get you where you need to go and fast, which is what you need when starting out. And if you ever find yourself in the same situation as Twitter, then you can make the switch...or better yet, improve on Ruby and give back to the Ruby community.
interesting concept, but I can't really read any text with oculus rift. not enough pixels, the resolution is simply not enough.
I use Koa ("Express' successor") which uses co/generators to let you write familiar sync-looking code.
Actually, it isn't a famous marketing strategy. YC is already massively successful and I disagree with your thought process.
> But the legal interpretation may diverge from the spirit and purpose of the license, so I would love to hear the opinions of a practicing lawyer...

What are you talking about? You just heard an opinion from a practicing lawyer, and an IP lawyer at that.

> I would say this is a popular opinion, especially given the upvotes I have received.

There's no opinion here -- this is a matter of law, which you clearly have no expertise in.
Use Node 4.x with ES7 and Async/Await for replacement to Promise pattern. Use async-csp for more demanding scenarios.

Node 4.x is awesome (relative to Node 0.12)
"If you want to future-proof your web application, you have to make a bet on what engineers will want to use in three years. That’s more important than what framework lets you be most productive right now. If you’re Facebook, you can get away with using anything and people will still want to work for you, but most companies are not Facebook."

Ugh, I so disagree with that statement and this whole post. The company culture should be one that promotes using any technology, as long as it solves the problem. You should be hiring engineers who are comfortable picking up any language/framework, not fanboys who can only develop in X or Y.

As a start-up, you should be trying to iterate as fast as you can, not future-proofing your application. Chances are, your application will get a complete re-write once you've got enough engineers, or you're just a badass from the get-go and the code is solid all around regardless of what language or framework you used.

I can't stress this enough, but like it or not Rails (and Django) are some of the most feature complete frameworks out there. Particularly because of the ecosystem they've created and the community that supports them.

As far as remarks about Ruby or language X being slow. It really doesn't matter. The primary cause for slow applications is poor architecture and shitty code, not the speed of the language. People building one massive piece of shit monolithic application because they didn't bother to learn about microservices. Not to mention the amount of engineers who haven't gotten a clue about how to scale an application. With some proper HTTP caching and nginx to help you bypass the entire application layer, you can speed up your application by orders of magnitude.

The comment about Django being a Rails clone... wow, just wow. Although they share the Active Record design pattern for the ORM, they are vastly different.

This post makes my blood boil, because it's about language flame wars and fanboys.
> Then there can either be an option to disable this check or a large warning that is produced when you try to install unsigned code.

If the device allows unsigned or self-signed code to be installed then there would be no need to release the signing keys because they are not necessary to make modifications. Releasing signing keys should only be required when it doesn't.
Tom Brady Endorses Donald Trump
here is how I last answered that question ↦ https://news.ycombinator.com/item?id=6090358
this is my worst nightmare. free users are some of the most abusive and aggressive people that will without question overrun and destroy your product.
I will not be able to address your arguments one-by-one without rewriting chapters of Huemer's book. I would recommend that you or anyone else interested in these points read the book and/or the numerous discussions he has had online with other academics.

It will be very difficult for you to come up with off-the-cuff arguments which will best a book written by an experienced philosopher over more than a year, and you are unlikely to win over anyone who agrees with Huemer in this forum for exactly that reason. If you wish to discredit him, I suggest you find an academic who has written a thoughtful critique of "The Problem of Political Authority", or that you write a book or paper on its flaws. Anything short of that is most likely to be self-satisfying but ineffective rhetoric.
The best description of our understanding of what would happen when two black holes collide is from a reddit poster, RobotRollCall: https://www.reddit.com/r/science/comments/f78wo/would_a_blac...

She no longer posts, but was thought to be a physics professor.

More black hole fun from RobotRollCall: https://www.reddit.com/comments/f1lgu/what_would_happen_if_t...
Just devils advocate here but I highly doubt you never performed a search for rails again. I am very proficient in NodeJS, but I'm searching daily with the term for helping fix a bug I have. I am having an issue with es6 classes, I don't search "classes" or "programming classes" I search "es6 classes node.js" Boom, Node.JS now has a search term in trends.
With on-demand fuel, gas comes to the customer
Above you mention that this is with a 65" display from 10' away.

A 65" television with a 16/9 aspect ratio is 56.65" wide.

So:

A 480p (DVD) image is displayed at 12.71 ppi.

A 720p image is 22.59 ppi.

A 1080p image is 33.89 ppi.

A 4K UHDTV image is 67.78 ppi.

With 20/30 vision at a distance of ten feet you are capable of resolving 19.10 ppi, so 720p is an improvement over 480p, but anything higher is wasted pixels.

With "average" 20/20 vision you (or perhaps your guests) would be able to resolve 28.65 ppi, still somewhat less than the full resolution of a 1080p image but a distinct improvement over 720p.

With 20/15 vision you are capable of resolving 38.20 ppi, so, with a viewing distance of ten feet and a 65" television, 4K is actually a modest improvement over 1080p.

If you can actually see a difference in resolution from ten feet with your glasses off, you may want to speak with your optometrist, as by definition you have been provided with an incorrect prescription.

Some further information and the formulae used above are available here:
http://jaredjared.com/2012/10/visual-acuity-dpi/

*Edit: I accidentally used 4096 pixels of width (the cinema standard) to compute the 4K ppi, rather than 3840 (UHDTV); corrected above.
If you're enjoying your inflated salary, thank Janet Yellen.

Toda תודה Madame Yellen

Don't you love trickle-down economics, crony capitalism and the Fed/Wall St. cartel?

I really like how Americans have no qualms about the fact that a private institution controlling their currency and their economy and in turn their life but whatever floats their boat.
You can't really switch projections mid-zoom, because the tile coordinates wouldn't match and you'd find yourself in entirely the wrong place.
> Node.js isn't a framework. What about comparing apples with apples?

What would you call it? Because it's not a language either. JavaScript is the language.
Running Rust Code on the 3DS
I, Josh Jones, 100% agree with everything in this comment.
Yeah, I just made a mistake - you can increase the maximum number of mappings using /proc/sys/vm/max_map_count; I tried doing that and switching back to normal stack allocation (but still specifying the minimum size of 16KB using pthread_attr_setstacksize) and it doesn't change the number of threads I was able to create.

...in fact, neither did removing the setstacksize call and having default 8MB stacks. I guess this makes sense: of course the extra VM space reserved for the stacks doesn't require actual RAM to back it; there is some page table overhead, but I guess it's not enough to make a significant difference at this number of allocations. Of course, on 32-bit architectures this would quickly exhaust the address space.

If increasing max_map_count hadn't worked, it would still be possible to allocate stacks on the fly - but you would get a bunch of them in one mmap() call, and therefore in one VM mapping, and dole them out in userland. However, in this case guard pages wouldn't separate different threads' stacks, you would have to generate code that manually checks the stack pointer to avoid security issues from stack overflows, rather than relying on crashing by hitting the guard page. Rust actually already does this, mostly unnecessarily; I'm not sure what Go is doing these days but I think it does too. Anyway, given that the above result I suspect this won't be an actual issue, at least until the number of threads goes up by an order of magnitude or something.
It will be interesting to see if [Crystal](http://crystal-lang.org/) ever gets a port of Rails. Crystal currently has some serious limitations that I think would make it all but impossible to port (e.g. lambda support is weak), but perhaps those issues will be remedied. And if so, Crystal on Rails would be 4x to 20x faster than on Ruby.

On the other hand, I think [Phoenix](http://www.phoenixframework.org/) could be the next big web thing. Not b/c it is super fast (although still faster than Rails) but b/c it is super stable and easily distributed.

The big advantage of Node.js (and thus Sails) is, of course, that the front end and back end can be written in the same language (ie. less to learn), but that might change in a few years with [WebAssembly](https://medium.com/javascript-scene/what-is-webassembly-the-...).
It's a pet peeve of mine when bankers or consultants complain about 3-4 hours per night of sleep. There are sprints and periods of crunch time in every industry. But having known (and lived with) friends in the hardest working rungs of consulting and banking the only reason they would consistently be limited to 4 hours of sleep is if they were out drinking and blowing coke every other night (and not in a job-related networking sense), and had poor time management skills to boot. The only people I've known who legitimately have no personal free time are surgical residents.
Django was released to the world in July 2005, but the developers started it as an internal project at a newspaper in Lawrence, KS in late 2003.
I think a better way of looking at it is there isn't enough "cross pollination" in big open-source frameworks and languages.
Is it worth upgrading from SPDY 3.1? Opinions welcome.
Why are you even on this site? If you think rich people are out to get the poor, why spend time on a site whose themes are technology and wealth creation through technology? Why not go down the park and shout slogans and wave placards at the passing '1%'

You impugn morals on price activity when there are none to see. For all we know, the high price takers wer students late for an exam, a young man determined not to be late for a first date or a relative rushing to the airport to see their family arrive.

It is far better for supply to increase when needed than for supply to remain fixed and the market to stay uncleared. There is nothing myopic, wrong or class based about that, and it is childish to even look for it.
Hardware Virtualization in Microcontrollers
7+Research-Backed+Ways+to+Stop+Procrastinating+(And+Get+More+Done)