skysight-inc/HackerNews huggingface dataset:
You can do better by taking advantage of the fact that the lists are already sorted. O(n1 + n2) time, where n1 and n2 are the sizes of the original lists and O(n1 + n2) space for the output.

The "trick" is to iteratively merge your two lists: at each step you select the smallest of the two items you're at in both lists then move forward on the list whose item you picked.

An extension to this problem (I've asked, and been asked, many variations of this) is to merge K sorted lists of N items each. The naive solution is to merge them all together and sort but you can do better if you extend the algorithm above from 2 lists to K and choose a helpful intermediate data structure to optimize the "select the smallest of the K items" operation. AFAIK, all-up the best you can do then is O(NKlog[K]).

EDIT: Re-read the question, realized I read "unsorted" as "sorted" - not sure what you can do to merge two unsorted lists in better than O(Nlog[N]) time beyond non-comparison-based sorts where you make assumptions about the range or distribution of your input (radix/counting/bucket sorts).
Aging: What does it feel like to be old?
What platform? What are your games?
Right. If the standard that we apply to computing were applied everywhere else, we'd all be sitting at home spinning fabric from the wool we just sheered from our goats that we raised with the crops we just harvested.

Nobody does that because it's not a good way to do things.

One of the problems that tech people have is they get mired down in the details, seeing each step as some kind of accomplishment, when each step is just a necessary part of the whole. Raising a crop from seed to harvest isn't easy, but the goal is to have clothes -- yet tech people will spend an impossibly enormous amount of time on tweaking the harvesting process when it's all just going to end up as wool underpants in the end.

And of course, downvotes because I'm supplying uncomfortable facts about population distributions that every marketer on the planet knows.
But I already have "cloud" mapped to "butt". I'm conflicted now.
Yeah, for sure this is probably not the be-all-end-all solution to the problem of mispronounced names; I'm guessing that it's trying to be the email equivalent of introducing yourself (and thus providing the proper pronunciation so people have it), but it's not quite the seamless marriage of sound and text that I think people are hoping for.
"Theoretically you can sue someone for issuing a takedown request in bad faith. Perhaps ISP's could help their users do this too, but it could get sticky for them."

This needs to be done by larger companies. Right now all a
person has to do is claim copyright infringement, and companies take down. There is a guy on Ebay who claimed he owned the copyright to a old
watch making school workbook(Chicago School of Watch Repair). Well
he didn't own the copyright, but Ebay wouldn't even bother
to look into it. There should be clear penalties for falsely claiming ownership to a copyright? I understand small companies caving in, but larger companies should do a
little due diligence?
Scientists find how magic mushrooms alter the mind
We (friends and I) launched SAO Launcher [1] as an Android app in 2013. It lets you make phone calls, launch apps, and a few more things by swiping down from a small hitbox.

Got to build a lot of cool things because of it (Themes and Extensions installed via separate apks, Overlays, Animations). And it's profitable.

[1] https://play.google.com/store/apps/details?id=com.xlythe.sao...
OMG, talk about unintentionally hilarious. No wonder they took it down.
between boston and nyc was generally more expensive unless you were booking far in advance, especially for a busy time. If I wanted to visit NYC for a weekend, megabus would require booking weeks in advance for a specific time in both directions. Chinatown buses, you got off work, show up at the bus terminal, wait half an hour and you're on a bus. Massive convenience factor. And they drop you off and pick you up in chinatown, which is much more convenient than the stops for megabus in NYC.
I use SizeUp, but I miss the extensibility of xmonad.
Migrating Your SQL Schema to NoSQL with Orchestrate
It appears to apply the interest rate monthly. I'd love to have a 5.75% interest every month.

Here's the calculation. It's a little high because we should be getting 1/12th of the 50k per month and compounding, but I'm assuming we got the full 50k up front and got a 5.75% interest compounded per month.

50000*(1.0575 ^ 12)
97799.02314394798212000000

edit: I take it all back. It's super broken. Just mess around with the interest rate and nothing makes any sense. For example, a 0% return still gives you $195,833.33 big co earnings on a 150k salary!

edit 2: The bug is in this function and the one below it: https://github.com/vijedi/equity_calculator/blob/master/js/a...

If your interest rate is zero, the calculated interest is 11 * the monthly difference. Then it's added to your base big company salary, which is clearly wrong. It should be 12 * the monthly difference added to the startup salary.

edit 3: Opened a pull request with what I think is the fix: https://github.com/vijedi/equity_calculator/pull/4
What about Dodge v. Ford Motor Company?
It just isn't likely. There's no plausible mechanism or reason for an intelligence collection system with keyword analysis to have real-time control of the signalling pathway for the phone system.

Which incidentally works very differently to the way most people seem to imagine phone tapping works -- some agents in trenchcoats in a dark room full of reel-to-reel tape recorders, wearing headphones and carefully putting crocodile clips onto a particular wire, and listening in, hoping the suspect isn't tipped off by crackles or beeps on the wire, or suspicious dropped calls. Maybe in 1950s Hollywood that was how it worked, but now the NSA is just grabbing the content and metadata wholesale from a backbone connection, and analysing at their leisure.
Return/Enter key (ANSI, ISO, Big-ass)
No chemical engineer I know learn how to go to the assembly line and take samples for quality control, either. And arguably this is a good thing. You pay to go to school in order to learn stuff that is useful across the board in many different situations, not to have the local big employer save a few bucks per new hire during the induction training.
Aυξήστε την ταχύτητα του WordPress site σας με τρόπους - SEO | WEB DESIGN BLOG
Why would you have an image with "The quick brown fox" without "jumps over the lazy dog"? The whole point of the phrase is to use every letter.
Curious about this. What does your API do? Associate addresses with postcodes and vice versa? And this is a rookie question but how are postcode different from zip codes in the US?
The guy should set up a Github organization and use one repo for every project. Organizations can have members also, and one project is not cluttered with another one's issues.
I'm also trying to get into the book writing business. Can you tell me what tool you use to write the book? I was using Gitbook.io but it was buggy and not formatting well.
Yeah, names in coffeeshops is an entirely separate issue; trying to hear a name when there's a lot of background noise and a hard time limit before it becomes awkward and other customers get angry about the line being held up is pretty rough.

I've actually taken to giving them my full legal first name as opposed to the nickname I usually go by, because the nickname is phonetically ambiguous and the full name isn't.
The Great American Hack:  Aaron Swartz and David Foster Wallace
Right, but for engineers working in startup hubs, is that really a risk? You can pick up a phone and have a parade of offers on your desk in a few days.

At most your risk is missing out on, say, a week's wages between jobs.
StudentRND’s Next Phase
That is a bit shortsighted way to look at value added for being part of a startup. Experience and an elevated role can increase earning power regardless of the start-up outcome.
Apple Invents Intelligent Location-Based Security for Home & CarPlay
Youtube version: http://youtu.be/cJGNItlMWBM
I think the 5.75% return is over the 48 month vesting duration, on the extra money you would have earned (and invested). So, the excess (per year) would be something more like (50(1.0575^3)+50(1.0575^2)+50*(1.0575^1))/4. (Though it seems I'm a little off, so maybe they do the calculation monthly or biweekly).

Edit: Search http://www.tejusparikh.com/projects/equity_calculator/js/app... for bigCoInterest.
> Including legal fees, insurance costs, and payouts, the cost of all US malpractice suits comes to less than one-half of 1 percent of health-care spending.

http://www.slate.com/articles/health_and_science/medical_exa...
At wavelengths which they both observe (~1–28.5 microns; SOFIA goes out to longer wavelengths than JWST), JWST will be far superior in terms of both sensitivity and resolution. For one, the mirror on SOFIA is less than half the diameter of that on JWST ([0],[1], so the resolution is less than half as good and the collecting area is down by more than a factor of four). Even though SOFIA flies above a lot of the infrared-absorbing atmosphere, it still suffers from some absorption. Additionally, the aircraft and the remaining atmosphere emit in the infrared, so the background levels for SOFIA are much higher.

That being said, SOFIA operates at far-infrared wavelengths as well, which JWST will not support. There are satellite missions being propose which would work in the far-infrared; none have been fully approved yet (to my knowledge), but any of them would surpass SOFIA in most metrics (except perhaps spectral resolution).

[0] http://www.sofia.usra.edu/Science/telescope/index.html

[1] http://jwst.nasa.gov/faq_scientists.html#whatis
Googling for "QUALCOMM Proprietary and Confidential." resulted in a small smirk on my side. So confidential.
DOTCOM encryption keys cannot be given to FBI, court rules.
I started cardforcoin.com [1] in January. After great launch numbers [2] and some legal concerns [3] we're back up, and on track to pay founders salaries next month. We're still deciding how much of that should be in bitcoin :)

When we had to put cardforcoin.com on hold, we built coinforcoffee.com [4], which lets you spend bitcoin at Starbucks. It's also "profitable", and I think we're going to see some big numbers when we expand to other merchants in a couple months.

[1] https://cardforcoin.com
[2] http://www.digitaltrends.com/cool-tech/card-for-coin-trade-s...
[2] https://news.ycombinator.com/item?id=7157180
[4] https://coinforcoffee.com
I'm an Aussie living in the US. My name is Rob. Basically every American calls me Raaaab.
I built this eCommerce site using Magento for my wife and it was profitable from day 1

http://flovery.com/

It's basically a more modern / contemporary artificial flower arrangements. Stuffs you see in Neiman Marcus selling for $400. She sells for $200 or less.
That is really good for you and your employees (no sarcasm intended at all; it really is a good thing). However, this case is an outlier. The percentage of startups that straight up fail or at least don't get sold is huge. The percentage of startups that succeed and make it to a sale/IPO but don't get a high valuation at this point is huge. The percentage of startups that get sold/go public but don't pay out or don't pay out enough to their common stock holders is huge. It's true that every lottery winner thinks that the $2 lottery ticket they bought was a great investment. That doesn't mean that investing significant amounts of money/time in lottery tickets is sound investment advice.
Good point. Perhaps we need to work through professional organization to look into hiring practices and propose practical solutions.
I know you're not being serious about the bank thing, but I just want to say, if you're a programmer and you love what you do, and you're good enough to be choosy, don't work for anyone (especially banks!) whose main job is not software. There are a few exceptional companies, but mostly it's a good rule of thumb. Working for Dilbert's pointy haired boss is just not a recipe for happiness - who cares if it pays well. Life is short, if you don't enjoy your job, change your job!

At any rate that was advice given to me by my father, who worked in the IT department of a large oil company, had a long line of pointy haired bosses who took the credit for anything that went well, which was eventually gutted and outsourced leaving just him and a couple others as insurance. I've regretted it when I did not heed that advice.
Well, in my case, my first name is fairly common, it just has a letter repeated that normally isn't. So, it's not some unusual, foreign name.
Failed nation states are places without laws.
Laws require someone to exercise control. Governments just don't do that for free.

I can see the appeal of being left alone in peace.

Certainly you can see the appeal of being able to live on a river that isn't polluted, or being able to drink water that isn't contaminated?

The only reason you can do that is because big brother uses those ("taken by force") taxes to keep the poor factory owner (who just wants to be left alone) from dumping his mercury where ever he wants.
Shameless plug: https://github.com/jmgao/metamove
It's funny you ask whether someone will do the jobs we cannot outsource to robots. I saw an old man bend over and pick up a piece of trash the other day while walking to work. I have also calculated that about 90% of the software I use on a daily basis is OSS. Your question has actually already been answered. People do jobs they are not compensated for all the time. And for things that must get done, you can raise salaries until they get done.
So if the NSA is the new McCarthyism, does that make Linux the new Communism?
Telnet BBSes are still a thing, believe it or not. The first one I can think of off the top of my head is the home of a BBS software package.

Try telnetting to vert.synchro.net
If you get an early stock grant and file your 83(b) you'll actually be taxed as long term capital gains.
PayWhirl recurring subscription widget launches on BetaList
Great, so by clicking that link, I'm flagged. If I wasn't already.
Ensafer: Encryption for Dropbox
Like my buddy Leo, I write in mirror image. Should I...
> In my thought experiment, the prices of everything will instantly rise to compensate for the increased wealth, and everybody will be exactly where they are now, just with more zeros on all their bills and paychecks.

Well that's true if America is a closed economy without connection to the rest of the world.

I could say that manufactured good prices shouldn't increase too drastically as they are made elsewhere, but that'd only be assuming that everyone in the US continues living their life as they already have.

But this is a revolutionary change, so it ought to have revolutionary outcomes.

Possibility #1: US loosens immigration controls as everyone is cash-rich. A flood of Mexican and Canadian immigrants enter the country to become the new middle and lower classes. Prices normalize rapidly after a brief spike.

Possibility #2: Seeing the writing on the wall, Americans flee their country en masse, taking up residence everywhere in the world from Europe to Africa to Asia. These cash-rich Americans take advantage of the fact that local prices elsewhere can't change to compensate for their newfound wealth. The US dies.

This is ofcourse all assuming that everyone can offload their cash into something valuable before the US economy goes into a slump, making American dollars less valuable.
Link to research article in the journal Human Brain Mapping: http://onlinelibrary.wiley.com/enhanced/doi/10.1002/hbm.2256...
I use VS + R# so tend to use them already :). I still find the mouse useful.
The World Cup of Everything Else
It gets even worse than that. Some people are stuck with an HSA.

A HSA is not insurance (it covers nothing), but it looks like insurance (so hospitals still charge you the 'ten times more' price).

A $100 doctor visit, becomes $900 "charged" to your HSA (because you 'have insurance' so they can eat the artificially-inflated cost). But since HSA never covers anything, the insurance always just passes that $900 bill on to you. They stamp "THIS IS NOT A BILL" on the top, but that's a lie, it always requires you to pay money.

You call up the hospital and explain "I don't have insurance, I need the sane price." They say "we can't give you that price, you have insurance." No one in healthcare understands that HSA's aren't insurance, and cover nothing, so no one will let you pay a manageable sum of money.
-Design quality is good, but you should re-evaluate that top image. Does a tar-covered hand say "High quality leather" to most people? Not to me, especially because I can't see the object.

-Headline #1 should tell me what you're doing. Don't assume I know what your deal is about. You could almost switch the first and second.

-CTA is way too far below the fold. I should immediately know what you want me to do. Donate? Subscribe? Drop it beneath "You are about to challange [sic] the status quo".

-Challenge, not "challange". Might want to look over your page for spelling and grammar...

This might be helpful:
https://www.youtube.com/watch?v=r2CbbBLVaPk&feature=kp
Yep, I have found that link. I am relieved it's not limited to Unity3d at least.
You are already on the 'extremists' list for reading HN.
I think an even more significant thing in the XKeyScore code (in terms of the idea that "NSA targets the privacy-conscious") is the existence of a "documents/comsec/" hierarchy of fingerprints. I may have written some of the documentation that's targeted elsewhere within that hierarchy.
In the US it refers to a section of the East Coast [1].

1: http://en.wikipedia.org/wiki/Mid-Atlantic_states
So the argument is, machine intelligence isn't going to happen, but its bad that we're trying?

But this idea: "In short, we can make the Singularity more likely by stupefying ourselves into becoming machines instead of simply seeing machines for what they are — useful tools." is interesting. PBS Idea Channel just released a video that I think is related: https://www.youtube.com/watch?v=FLieeAUQWMs

What I think both the author of this post and the Idea channel video have in common is that they both are thinking of humans (or animals for that matter) as something different from a computer - but what are we but the excitation and suppression of electrical signals? Does the fact that we were grown instead of constructed make a difference?

In reality, we are just a very complicated machine - once you learn enough about how we work you could build your own. And the singularity, specifically the melding of mind and machine is a logical path along that road. Are there real concerns that we need to be thinking about? Sure. Will the 2045 timeframe be accurate? Who knows. But I think we are going to start seeing the lines blurred more and more as we approach that timeframe.
Shameless plugin > "education platform that matches up people who want to learn with people who want to teach" - kind of what we are trying to do at FillSkills
Would you really want to not be on the list? Besides, the more people on these lists, the less value they have.

Nazi Security Administration
> In reality, there is hard epidemiological data showing that selling raw milk (edit: e.g. through the normal store channels) can lead to serious harm including deaths.

I'd love to see the evidence, and see it compared to other food sources.

I grew up in India. There all we got was raw milk from the cowherd; in fact, even today, my parents send the helper to get milk in a pail from the cowherd. It's always been raw milk, warm and fresh from the udder. And the first thing they do is to boil it.

If I were to conjecture, it's that the "no raw milk" diktat forces farmers to go to big distribution companies with the requisite facilities for pasteurization.
Even if you go full Stallman data leaks everywhere. Credit card purchase data is bought and sold daily as is satellite imaging time.
So libertarians should avoid actual, relevant, concrete issues surrounding personal freedom, and that people care about, in order to concentrate on abstract Republican rhetoric (that Republicans have never carried through on, expanding government as much or more than Democrats)? Sounds like a dumb plan.
How long are the exposures? One would think that due to vibration etc. the exposures need to be extremely short, but long exposures are beneficial in astrophotography.

EDIT: Wikipedia answers the vibration issues:
http://en.wikipedia.org/wiki/Stratospheric_Observatory_for_I...
Mayday PAC needs your help
I Really appreciate the view into the process to make a cool data visualization.

I look at http://goo.gl/9T5510 (world wind) every day out of curiosity of the movement of the wind and its apparent relation to shifting weather in the midwest of USA (Missouri).

Thanks for sharing!
closures to the rescue...

var dict = {
'disrupt': 'bullshit',
'growth hacking': 'marketing',
'rockstar': 'arrogant jerk',
'ninja': '2cool4u',
'guru': 'knowitall',
'lean': 'cheap',
'startup': 'small business',
'social media': 'facebook clone',
'FREE': 'free',
'cloud': (function () {
var a = [
'rental servers',
'butt'
];
return a[Math.floor(Math.random() * a.length)];
}) ()
};
Ballmer thought so.
Also I don't understand why they didn't first launch in Paris, which has exactly the same problem, possibly worse.
Right but they published the paper based on tweaking that ordinarily Facebook would have done anyways.

One could just look at it as zoologists studying lions (Facebook) interacting with gazelles (the population) in their natural habitat.

Marring this research as unethical will just stop it from being published, not stop it from happening since without publishing it it is just an ordinary business processes.
And now we live in this wonderful world where companies don't actually file DMCA takedowns at all, but rather have gentleman's agreements to take down content in a manner indistinguishable from the DMCA except the part that actually gives the uploader any legal recourse to challenge it. :-/
i would guess it's the difference between "making revenue since day 1" and "profitable since day 1".

it's hard to imagine that you recouped all of your time/money/expenses not to mention that going forward, you can work on it full time -- all as of day one.
When your backup isn't a backup: a postmortem
A good trick to get this information without viewing the source code is to simply hit the tweet button ('Share' on the bottom of the page).
It will open a popup window with the static URL of the page as a template tweet.
Works on most pages and without a twitter account.
Psst,

> It also records details about visits to a popular internet journal for Linux operating system users called "the Linux Journal - the Original Magazine of the Linux Community", and calls it an "extremist forum". [1]

Hush puppy, it's okay to call absurd that which is absurd. It won't bite you.

Oh, wait...

[1] http://daserste.ndr.de/panorama/aktuell/NSA-targets-the-priv...
We only fly at night. Well, technically speaking, we can observe with the sun up, but the guider cameras are optical which makes it nearly impossible to track any targets when the sky is bright. Moreover, we have to stay well away from the sun as the telescope would focus the sunlight with enough intensity to destroy itself. So, yeah, we only fly at night.

Airspeed is roughly mach 0.85.
I've been keeping a running tally of the real-world things invented via XKCD comics, I'll add this one. http://euri.ca/2013/xkcd-is-the-new-donald-duck/