skysight-inc/HackerNews huggingface dataset:
I'm inheriting a Rails app and I'm thinking of switching it over to Node.js for performance reasons. Most of the code currently implemented is pretty basic and it's all Rails but we're already having performance problems are we're still in beta. I've used Rails before, but I'm not guru and I wanted to know if someone could point me to some resources for tweaking Rails performance?
But but why doesn't she just sell it online instead of taking it to those condescending pricks?
(and who are these people anyway?)
The ability to make money is also strongly related to how much money (and the advantages that go with it) you start life with.
we need trolls like this then.
Admissions people are usually employed full time. Once they have enough students, they might as well boost the rejection rate of the school (subsequently boosting the school's ratings).
I totally agree; RubyMine is my 'home base' when working on Rails apps, because its debugger beats anything I've seen for ruby/rails especially, easy to run server/tests/console under any environment, the best code completion for ruby I've seen, tons of smart navigation options, refactoring right-click 'run this test/spec' feature, etc etc.

I still use ST3, TM2, and from time to time other editors whenever I want... but RubyMine, being a complete IDE, does so much more than those tools.

Managing your product in RubyMine doesn't preclude using other editors alongside it for more intensive code editing sessions, if desired.
Yes, but! The impression I get from this 1 million req/s test is that no actual logic is happening on the backend. E.g. no database queries, no business logic, etc - basically a noop call.

As we saw when running the techempower benchmarks, simply going from the plaintext test to the single database query dropped the best performer from ~600,000 req/s to ~100,000 req/s. Throw in a bit more business logic, another query, and a slightly heavier response, and it is easy to imagine that 1 million req/s now sitting much nearer to 20,000 req/s.

My point being that, that 1 million req/s is a very optimistic number when used in such a comparison. Is it still an impressive max throughput? Yes. I just don't want anyone to think that they can now, say, host 50 netflixes on this setup.

Note: I realize you probably weren't meaning to directly compare those two numbers, but it somewhat read that way. I definitely do appreciate the context though - quite interesting to know that the netflix API was peaking at ~20,000 req/s in 2011.
It would be better if for each statement, you said how it should have been phrased rather than just why you thought it was wrong.

My opinion is that you really are nitpicking, in the sense that the author is making the best explanation possible, but you wouldn't accept any verbal explanation.
Nice, thanks for the laughs.
I have heard / read about docker for quite some time, yet it is unclear still how this is useful.

Let me ask a direct need I have, would docker allow me to use newer c++ compilers on redhat so I can code in c++11?
But any system with such a large array would almost certainly be 64 bit by now.
PNaCl has a JS fallback too, which is pepper.js so we should all be good eventually.
Somehow people seem to miss this.
When we read "doing four different jobs," there are two ways to take that: doing one job that involves the functions of four separate positions but still maintains a rational workload, or being asked to carry a workload that, if not actually the equivalent of four full-time jobs, is still substantially higher than that of just one job. People who are willing to give Penny Arcade the benefit of the doubt seem to be reading it the first way, whereas "skeptics" like Marco and Christopher Buecheler (the author of the previously-linked post about this) are reading it the second way. I admit I'm inclined to be in the skeptic camp, simply because the posting goes so far out of its way to hammer home that the job has no work-life balance whatsoever and will manifestly not pay you what you're worth.

And, Beucheler's larger point remains salient: Penny Arcade is not such a small company that this is so easily defensible. A five-person startup may require one person to be web application developer, sysadmin and operations manager. But Penny Arcade isn't a five-person startup. They've been around for over a decade, produce multiple comics, and put on massive industry trade shows. They can afford to hire more than one person if they have enough work for it, and no matter how many people they hire they can damn well afford to pay them market rate.
Previously discussed here:

https://news.ycombinator.com/item?id=6800265
I don't know that there is much I can do to help you, but sometimes it helps to just know you're not alone. You are not alone. You are not the opposite of everyone here.

It sucks, it sucks big time, I know, I'm in the exact same boat. My business has sustained my family for the past fifteen years and over the past year I have lost clients that have been with me from the beginning due to industry consolidation and pricing pressures. If you hold tough this will pass and you will be stronger than ever. You have that spirit and drive within you. You wouldn't have begun the journey if you didn't.

Please know that this is part of the journey and has no reflection on how you are as a father or husband. Regroup, get back to the basics and try again when the time is right. There are amazing people here that are willing to help others, and among those amazing people is you. You shared your story. Many people, including myself, can't bring ourselves to do that, but the willingness to share your story allows us all to know we are not alone on this journey.
You can get a yacht from Panama to Cartagena in Colombia. That seems to be the only way.

A lot of motorcyclists use this route.
In that case the language fixes the issue so the code is irrelevant.

In languages where integer overflow is possible, my point still holds.
Honestly, this is poorly written. The author ends up giving advice even though he starts out claiming that is a problematic thing to do. His advice is not so different from common startup knowledge-- success is proportional to the number of swings of the bat. That I think any founder can take to the bank. It is true regardless of what your personal situation is. Obeying a simulated annealing algorithm rapidly through life keeps you from looking too far ahead and from getting stuck in ruts. There are many other generalizations largely independent of your personal story that are very helpful.
>When you've got two adults with no kids making 80K a year, "living frugally" and saving money is as easy as falling off a log.

Let's do some math. Saving 32k a year on 80 grand is not in fact as easy as falling off a log.

80k - (taxes + tithe) = 52k. we saved 32k per year, so that is 2 people living on 20k. Don't tell me it can't be done, I did it.

For single parents making 28k 20 grand is always going to be a lot of money. That's why I said most, not all. As it happens, single parents with 28k in income is not the median, not even close. There are a lot of people making a lot more than that. I was clearly not referring to the people living at the poverty line. FWIW, ~25% of America makes less than 30k[1]. The other 75% is who my comment was directed to. But hey, it's easier to be snarky than to let facts get in the way.

[1] http://en.wikipedia.org/wiki/Household_income_in_the_United_...
At this point, I think that only catastrophic technological failure can drive it below $100. It's hard for me to think through the socio-economic dynamic that leads there otherwise.

I can certainly imagine it going to $300-$500, but there are just so many people that want to buy at that range, I think the walls are too steep to go further.
Thank you for your nice help.
LAUNCH SITE LAUNCH SITE LAUNCH SITE LAUNCH SITE LAUNCH SITE LAUNCH SITE LAUNCH SITE

PLEASE TURN ON YOUR JAVASCRIPT

Was that all he wanted to say?
Most universities aren't having much trouble finding qualified applicants. Instead, they're having trouble finding enough funding to expand their programs to meet the demand, especially in public universities.

However, it could be assumed that a previously-rejected applicant may have done any number of things to improve their qualifications in the 3-12 months between application periods. Most universities will have some advisors that will be able to tell you any number of things you can do in a relatively short period of time to improve your chances of being accepted, such as re-taking exams or specific classes. In other cases, related programs may have more openings (or fewer applicants), improving your chances of getting into those programs.

Sometimes just getting to know the people involved in the program (faculty and advising staff) can improve your chances, as being able to recall a face that goes with the name on the page can be the deciding factor between two similarly-qualified candidates. At the very least, it shows an active interest in the program, as opposed to someone that sent out applications to X, Y, and Z universities (after all, how many of the accepted students actually enroll is important, too).
Unemployment is really high right now. A lot of folks might feel compelled to take any job.
simulation of fluids is huge in computer graphics and the GPU is completely necessary for anything close to real time. Physics engines are built to process on the GPU.

I was at one point perusing a PhD in Computer Graphics and I studied many papers ranging from haptic devices w/ liquid simulations (great paper on making pancakes which change properties as they cook [1]) to research from our lab on volume rendered simulations to prevent temperature shock in introducing cool water (relatively) to prevent a meltdown of a nuclear power plant.

[1]http://www.gmrv.es/Publications/2013/CMOL13/haptic_multistat...)
What was the site?
Hah brilliant!
Full Talk Video: http://player.piksel.com/player.php?video_uuid=zdqcx99l really insightful talk & is one of those that will make you more informed
It's not just the actual metaprogramming, i.e. define_method is slow. It's also the runtime implications of metaprogramming being possible, i.e. needing to dispatch each and every method call dynamically just in case someone called define_method. Java can turn every method call into a function pointer at compile time.
Grow up and stop worrying so much about what people think or say.
Zed Shaw you are the man
>Panama to Columbia

ColOmbia
Are you making the argument that they seem more "selective" if they only accept 3% of applicants, and they achieve that number by soliciting enough unqualified people to make the numbers work based on how many they have accepted?

Doesn't seem to reflect a very high standard if true. Of course I don't give a lot of weight to acceptance rates as a percentage of total applicants.
It's not like you have another life to hedge against. what sort of life have you led if you have never pushed or tried or taken a risk. is it riskier for your kids to grow up thinking life is playing it safe.
Researchers Retract Claim of Link Between DPR and Satoshi
I work at Twitter. Actually we use very little Java while almost every service is written in Scala.
Compare objects using Comparator in Java
How to animate TextView in Android
It's obnoxious that AWS hasn't developed an API call or web interface option for the ELBs to pre-warm them yourself, vs having to contact AWS support to get the pre-warming done "manually".
> I don't think they'll actually do that

Problem is there is history of Google doing exactly this: SPDY.
Don't forget support. I know I can get decent AWS support if I pay Amazon. Google? HAH!
It won't impress anyone on the internet until you port it to WebGL.
They are very tacky, the same way I felt about Apples "Im a PC" ads.
I wish you well. Do whatever it takes to keep your family comfortable, regroup and get ready to fight again. In todays economy, we're all entrepreneurs. You don't get to keep a job your entire life like some of our parents/grandparents did. You fight every day for your family, hustle, make friends, call in favors and help those that need it.

You tried. And you should try again. You've learned something from this but you won't get a chance to use it unless you try again.

> Nothing in this world can take the place of persistence. Talent will not: nothing is more common than unsuccessful men with talent. Genius will not; unrewarded genius is almost a proverb. Education will not: the world is full of educated derelicts. Persistence and determination alone are omnipotent. — Calvin Coolidge
Please put down these Asm.js vs PNaCl arguments. We are all going to win in the end as both ASM.JS and PNaCl run on pure Javascript (PNaCl through a pepper.js fallback and ive heared asm.js is already a PNaCl target)[1]

In the end, some hugely popular cross compiled games will drive adoption of both technologies to the point where they are ubiquitous and supported by all major vendors. Apple doesnt want people saying "Wah look at how poorly Safari handles that game compared to Chrome/Firefox".

[1] http://games.greggman.com/game/thoughts-on-asm-js-vs-pnacl/#...
This should be voted straight to the top. Whether or not Marco's assessment of the posting is accurate, it's always good to have more information -- especially with people calling out the family environment as "bullshit" with no real evidence. Thanks for sharing!
Actually, people are already doing this; Amazon e.g. provides GPU-heavy instances with (IIRC) Tesla GPUs.
One of my best college friends and I decided we were going to adventure the entire stretch of South America, through Central America and then up the PCT over the course of about 6-7 months via bus and motorcycle (ended up not doing the PCT because we ran out of money).

We get into Ecuador thinking just a few short bus rides (http://i.imgur.com/kVVqZuX.jpg) will have us through Columbia and at the border of Panama.

We got our asses laughed at so hard when we were asking about how to get through this "weird jungle area" -- asking the dumbest questions like "where are the roads?" "how about hiking trails"

Lesson learned and ended up just flying over it. But highly recommend traveling that area of the world if you ever get a chance. Some absolutely gorgeous areas, and I think it's still relatively under-appreciated
Just out of curiosity, did you apply to Georgia Tech's Online Masters when it opened a few months ago?

It will be interesting to see how they treat candidates with primarily industry credentials/experience, given that an online degree may attract a higher proportion of these prospective students (industry credentials suggest a full time job, which may lead to a preference for an online degree, but I'm obviously speculating).
The startup I worked has closed, I want to keep working
I start working as freelancer for an small startup that this week closed due lack of money.

We were building a complex and big management system that I'm really confident on the success of the idea but recently I receive an email saying that all the team have to stop working because a big client withdraw his intention to buy the service, and the owner was not able to keep the payroll of the team anymore.

I really like the staff and the owner I feel responsible for this the outcome, It will be different If I was capable to finish the release on time.

I ask HN about the intention I have to keep working on this, I profoundly feel the urge to ask the owner to allow me keep working on the project without pay. I review my current situation and I known I can last two months just fine if I don't receive payment. My idea is to finish the MVP and giving the project the opportunity to find another client without expending more money.

I just start writing an email to them about this idea, and don't feel I'm doing it right, I want them to say yes.

The status of the project is 60% done, surely it can be finish in less that two months.

The project manager write a flattering email introducing me for a position in another company. I known the Owner and PM really want to keep going, but I known also because of their work ethics doesn't want to me to work without being paid.

I ask HN, how can I propose to keep working on the project and give this another opportunity to success.
Oh god who writes those?

It's a convention in physics to call it probability amplitude because, you know, it makes sense, as a direct analogous to energy.

(http://en.wikipedia.org/wiki/Probability_amplitude)

If you want to learn quantum mechanics there are far better places than sketchy, hand waving articles. I'd start here:

http://www.youtube.com/watch?v=hUJfjRoxCbk
Zed, You are an example to many if you deliver on this. I hope the OP follows up with you so you can.
A bit late, but I worked in the Hardware Org there for ~3 years. There are notable limits on any sort of public comment or contribution. Just about everything has to approved by an external comms group, legal, and an open source approval group if it's software. This applies to both communications & public software contributions. Email messages to public mailing lists have to be approved. Release notes for software, xquartz CUPS etc, have to be vetted and approved. Contributions to open source projects are even more arduous as there's yet another group asserting authority. As far as the company is concerned that applied to anything created by the employee, there is no software work unrelated to employment.

The fear of the eldritch powers of The GPL run deep with lawyers and (some?) upper management. Circa ~2010 my group was told NO GPLv3, not even binaries. "Exceptions" were made once reality was explained. ZFS for OSX was another casualty of licensing fear. Internal builds worked pretty well until approval for CDDL fell apart.

In reality everyone I worked with participated in public forums without mentioning employer or anything that would obviously track back to Apple. Going to conventions etc was as a private citizen and then expense the costs later. Public code contributions were either under pseudonyms or private patches.
> a unique fingerprint of written language that accurately predicts the identity of the author

These kinds of analysis are usually more "fuzzy" than "unique" and "accurate". And can be easily fooled if you are trying to remain anonymous. Especially in the case that Satoshi isn't a single person.
There is a prominent note on the website: "RethinkDB is a new system and is likely to have quirks." I applaud their honesty.
Two major things combine to increase those entrance GPAs:
1) As the number of applicants increases, the number of openings increases at a much slower rate (if at all), and GPA is a simple starting point for quickly sorting out a large number of applications.

2) When departments/colleges allow exceptions with lower GPAs, the students are rarely as successful in the program as those that met the minimum GPA requirement. This usually leads to fewer exceptions being granted.

No matter how successful we are in professional life, graduate school is still school. The two are very rarely as strongly linked as some would like, and the best measurement admissions staff have for how well you will do in school is how well you have performed in school previously.

In my case, it doesn't even matter that the university finds me qualified enough to work for them in my field of study. My grades are a major problem for admission, and I'm better off improving them elsewhere, first.
La Academia Americana de Pediatría, dice que los niños pequeños
You forfeit the freedom to be irrational when you have a child, let alone four of them.
Yes, it seems so. If you get caught on the wrong side of some upvote mob you lose. Whatever; this is what the oweners want and it's a silly thing in the grand scheme of things.
A few months ago, before the current wave of hype started, I got the historical price data on bitcoin and ran Eureqa on it, which is a program that tries to find the simplest possible equation that fits the data. Not for any practical reason, I was just testing the software. I extrapolated the result forward in time a few months ahead to see what it predicted, and it showed it increasing in price exponentially.

I was disappointed because I thought that was ridiculous and that I must have overfit somehow.
AWS has a really interesting feature in their auto-scaling groups, coupled with their ELB (elastic load balancer). You can configure an auto-scaling group with a variable number of instances that ads or removes instances automatically, based on the ELB's measured latency or the number of requests coming in or many other such metrics.

This works out great and results in cost savings, as it can survive spikes, plus during the night the traffic is at most half or even less than the traffic you get during the day. I had a setup that was handling over 30,000 reqs/sec and during the night it kept about 6 h1.medium instances active, while during the day it could go upward to 20 instances, but was usually stable at around 14 instances.

This article mentions ELB, but I don't understand - does Google's Cloud Compute offer something similar? Can one vary the number of instances based on the incoming traffic or other metrics?
Depending on how far the product is, have you considered partnering with your boss and whoever else to get funding for the project to continue working on it as a startup venture? If it's truly a good idea you believe in and you've put the work in and have something that somewhat works, why not give it a shot? You only have time to lose.
You taught me python the hard way. I watched all the videos at 1.5x speed so I will always picture you as having a curt, snappy, slightly high-pitched voice.

Also, that's nice of you to help out. I hope he gets in touch with you.
What's the app name?
Never say never :)

A bubble bursting could certainly drive it way down, sub-$100. Don't forget that less than two months ago, it was hovering around $200. 2 months does not a trend make.
6 months, not sure. Probably less than 100. Bitcoin is certainly interesting, but there's absolutely nothing backing it. Doesn't seem much different to me than pokemon/baseball cards/pet rocks. Once the novelty wears off, or one of the big players cashes out, we'll see it crash.
You are not just a statistic, you are much more. Your an inspiration to your family and to all of us just like all of those that have responded to you with offers to help. Let us all know how we can help.
I wonder if a poll is the best forecasting device; it seems almost axiomatic that a prediction market [1] would be a superior solution.

On the other hand; I'm guessing that you might stir a bit of controversy if you were to set up a futures market where you offered people the chance to make an offer of how much they would pay for a bitcoin delivered a year from now; and others to post offers for how much they would need to be paid to _guarantee_ delivery of a bitcoin a year from now...

Just remember that it's all fun and games until the government [2] steps in.

1. http://en.wikipedia.org/wiki/Prediction_markets

2. http://www.cftc.gov/index.htm
In case you haven't noticed, the price is already now at $900.
Darien Gap: http://en.m.wikipedia.org/wiki/Darién_Gap
redirecting to a broken mobile page is idiotic.
Like any answer, it depends.

Option 1: If the rest of the key team (Owner and PM) stay onboard, then you can negotiate for sweat equity.

Option 2: If nobody wants to continue working on the project, then the conversation changes to, what does it take for you to own the existing code base.

Whatever the case, working for free without any compensation (whether monetary or share of the business) ends in hurt feelings all around.
With filtering I was thinking about discarding everything with less then 10 views. I consider all of your examples relevant. Getting rid of pages like "Wikipeida_suxxxs" is the first step.
Actually I saw it on reddit WTF and posted it here because I thought people would find it interesting.

It's actually a quite disturbing vision of how people treat each other for a discount.