skysight-inc/HackerNews huggingface dataset:
What does this have to do with advertising? Since when is advertsing equated with speech? The type of advertising blocked by Adblock is a form of unsolicited communication.

Your analogy is a terrible one, by the way. A better one is picking up an ad-supported magazine, and asking a helpful friend (one whose judgement you trust - the parallel here being to the EasyList maintainers) to rip all the ads out for you before you read it.

If people could block ads on TV and in print, prevent themselves from seeing billboards, etc, newsflash: they would! If I could go through my life without being subjected to people trying to sell me stuff all the time, I would be a much happier person.

Just because we grew up in a world dominated by consumerism does not mean that's the way it should be, or the only way it can be. If more people were proactive in refusing to be marketed to I believe the benefits would be positive for all of society.
Jens Eckels On MobiOne - Simplifying Mobile Development
Did you actually use the web back then? It was dominated by academic, technical information, and useful discussion. No spam, no interstitial ads, no SEO, no bullshit.
I've always thought the best solution to texting arbitrary data would be sending the MD5sum (or some other hash, and hopefully one which uses base 36 instead of base 16 for link brevity) on a link-forwarding service that sent you to the document on some server, somewhere. That is, something like: http://md5url.com/d41d8cd98f00b204e9800998ecf8427e would be a URL this redirector would give you, based on a hash it did of the content it retrieved from the link you fed it. If the link ever broke, you could just search for the particular hash and find the file that way, assuming that there are document/image/torrent hosting sites that allow you to search by the kind of hashes it uses.
Flickr does exist on subscriptions only.
My co-founder had Conway as a professor at Monash University many years ago. This fact might explain a few things.
Why would he want to implement a frequency-sorted list as a hashtable!?
Ask HN: help needed on VM placement algorithm
Hello!

I'm working on a "cloud computing" management system and need help on a VM placement/provision algorithm.

Let us assume we have a cluster of N physical servers. Each server has a single type of resource - slots (Note that in real world servers have more resources CPU/memory/disk/etc...).
Let a server have M slots.
Servers can run virtual machines, every VM occupies from 1 to M slots.
Once the VM (with k slots) starts on a server, the number of free server slots is reduced accordingly.
When the VM stops, the occupied slots are freed.

VMs can live-migrate across servers. For example, when there is no server with M free slots (every server runs at least one VM), and we need to start an M-slot VM - there we need to rearrange VMs across a cluster.

The goal is implement a VM placement policy to satisfy the following requirements:

* utilize server resources in a uniform way, e.g. if we have 3 servers and 3 single-slot VMs we should place them on different servers.

* minimize number of VM migrations as it is a costly operation.

It looks like the problem in question has something to do with multiple knapsack problem, so I'm looking for some kind of heuristic algorithm.

Any advise / papers / working solutions ?

Thanks in advance,

Kirill
Nothing against Perl

Why would anyone take that as being against Perl? I think most Perlmongers like that folks are talking about the language as something new and interesting again. But, I suspect it's not entirely Perl 6 that's to blame. Moose has been raising a lot of eyebrows lately, and with good reason...and it's actually usable today. Very few people are writing actual software in Perl 6, so it seems unlikely that folks are twittering about it all that much. But, lots of folks are building software with Perl 5 and Moose.
Looks like IE spyware, don't follow the link
Yeah, the problem with diets and exercise is mostly a continuous motivational problem if anything I figure, which is why the current business models are set up the way they are.

People are really motivated for the first few days/weeks, after which their interest wanes it seems. That's why it's set up as a "pay early" type thing.

Honestly, I think something like the wii fit is a step in the right direction. Make it fun.
Wow. Arrogance. He wouldn't have been hired with me.

I particularly like the jab at the interviewer for not having instant recall of every single CS algorithm. I keep TAOCP on my desk, and /because/ I don't know every single algorithm.
Careful, you've got an abstraction layer that's maybe not appropriate. Imagine for a moment that I am a person near the end of my working life and very wisely and prudently put most of my retirement funds in a portfolio of church bonds, municipal bonds, and long-term corporate bonds including GM's. "The financial sector...rapidly burn[ing] through their political capital" doesn't imply that I should get five cents on the dollar while people behind me in line get forty. I have been receiving a paltry interest rate for years precisely because I was promised I was first in line in the event of a bankruptcy.

There are real people behind these massive losses, and the fact that Wall Street bilked me with transaction costs on the way in to this portfolio means I'm more deserving of sympathy not disdain.
Slacker Founder Dennis Mudd Says Demand for Free Online Music Won't Quit
The final list wasn't a hashtable—he said he "harvested" the values from the hashtable to construct the final list. The hashtable was for counting values: every time you read a word from the corpus you're going to increment a value on an almost-random, complex key. Sounds like a job for a hashtable to me.
I don't think I would have been so patient as an interviewer. He tried very hard to evade the questions several times. I would expect "fun" meetings in the future, dragging on for hours.
He said the interviewer had never heard of cuckoo hashing. That's a slightly different matter than a "not having instant recall", especially for someone asking questions about how to implement hashtables in the first place (they should have looked at the relevant reference before going in to do the interview, as they were obviously following a very fixed format, instead of letting the discussion range.)
This would be one problem that they could throw money at and it might have a positive effect. :) If they operate it as a mostly separate company then they could have a branch that could innovate rapidly and also not disrupt any existing teams/culture inside the organization.
All-in-one layout

http://meandmarkpublishing.blogspot.com/2007/06/reducing-xco...
He didn't evade the question; he asked the question that actually needed to be asked. If I ask you how to code a performant 3D shooter in PHP, you don't explain it, you stop me, possibly bitchslap me, and tell me that that's not what I should be doing, or, more kindly, ask "why do you think you should be coding it in PHP?"

I think I might inject this kind of thing into an interview just to weed out the people unwilling to stand up to insanity. If you can't tell me when I'm going too far down the wrong path, how can I be sure you'll know if you're doing the same thing?
The Secrets Of Great Teamwork
Readings in Database Systems (the red book)
100 Online Brainstorming Tools to Help You Think Outside the Box
The article is in Swedish. I doubt that would be voted up.
Motorola RAZR2 V8 Black Grey
When Motorola designed the RAZR2 V8 they must have known it was going to be something special. Special enough to include stainless steel body which ensures stability.
How to secure virtualized applications against the unknown
The 3 types of blog templates
That's not a relative example though: looking at the original question the interviewer wanted to see how he would approach the problem of analysing and sorting the words.

At the end of the day he petulantly (his words) stuck to a point that could have been made in a simple sentence (well, assuming we agree there is no way this could work in the real world because of the fluidity of language and the poor behaviour of web crwlers then I would.....). If the interviewer is looking for a discussion on that he will pick up and ask for more. If not he will let it pass (and probably note that your recognised the issue).

In an interview you must dangle relevant information in front of the interviewer and wait for him to pounce on things he wants more information on :)

Also: NEVER assume a concept the interviewer has "never heard" of IS something he/she has never heard of. That is a simple mistake to fall into.
Sam didn't review http://hackerdojo.pbwiki.com yet! It's approximately 500 feet from the main YC offices and set to debut in a few weeks at $100/month membership -- how could anyone not turn it down?
> Make a copy that it doesn't matter if you destroy

git checkout -b icanhasdrink
He appears to be good at algorithms, has a feel for the actual space and time requirements, is able to think under pressure, and has a sense of humour.

I'd hire him in a heartbeat.
Dune is a ridiculously good book. I never understood why it's relatively obscure. Other then perhaps the fact that I tend to grit my teeth when I hear people talking (or making movies) about it with only superficial understanding.
> What does this have to do with advertising? Since when is advertsing equated with speech? The type of advertising blocked by Adblock is a form of unsolicited communication.

You solicited it with your visit to the site. You didn't leave when confronted with the choice of using my site and viewing ads or leaving. If you don't like my ads, by all means: LEAVE.
> justify their dislike of the social sciences.

I have no dislike of the social sciences. I just like this piece by Feynman.
> OTOH, if blockers are such a tiny minority, why are you so concerned?

I'm concerned by the general decline of morality online.
The Importance of Simplicity
Kenyon martin wife photos
I switched to Gmail (forwarded emails to my gmail account & used their web interface on my iPhone) to get full search.
I'd disgree with his conclusions. If the blog is doing well & making money then a unique template might be worth a few hundred dollars.

But it's the unique content that makes a blog truely monetized. Some of my favourite blogs use free (or even default) templates with simply a custom banner to identify it. And they do a lot better than some flashy customised blogs....

No template is worth $1000....
The best interview question I've ever had or thought about was also of this style: one concise question that requires knowledge of many different domains, and spawns a conversation that lasts the whole interview. The interviewer also pursued the same strategy of pulling actual numbers (for storage requirements) out of me. It was a tremendously enjoyable and satisfying interview (as far as interviews go). Also given by a well-known search company, interestingly enough.

I didn't give nearly as much pushback as the author, though, since I assumed that wasn't the point.
lot of my friends (which are non coders) made more than one profile in facebook, may be it's the same situation
Wait.... i've got it! If you think you're a hacker you are definately not a hacker. Is this entry criteria we can agree upon?
he fell into every trap laid out for him... (all of them classic interview traps). That would at the very least worry me...

But it depends on the job :)
For all the lock-in that everyone claims Apple has. From my experience I had never bought anything from iTunes until just recently. When they finally dropped the DRM on their music I assumed it was safe to proceed. I have had an AppleID since the store opened. Their album covers were consistently the best (other sites have sprung up since then), and stupidly easy to work with (right click, download album art). The majority of my music is Lame encoded MP3, reaching all the way back to 1997, AAC and ALAC for the more recent stuff. My iPods 2G,5G, and Touch, plays everyone of them.

Before this I had a Sony MD player. At one point I really thought MD was the future but Sony kept turning the screws, it was hard to get blank media, and re-encoding my music just killed it for me.

BTW, for AAC, every device I bought in the last 2-3 years supports it. The only exception was Windows OOTB, but that has changed in Windows7.

The last device I own from Sony is the PS3. I really think this is the last stop as far as media is concerned. I've using a mediatank to hold my music and HD movies. It has worked out wonderfully, the PS3 is barely touched. I've unplugged it so I can free up an HDMI port.
The man-in-the-middle attack is not such a big problem in defending against a short-lived attack. Ubuntu establishes the identity with the keys that you get at installation.
> Also: NEVER assume a concept the interviewer has "never heard" of IS something he/she has never heard of. That is a simple mistake to fall into.

Of course, they just want you to explain the concept as if they've never heard of it. However, he was writing this after-the-fact, so I'm assuming it still seemed that he hadn't heard of the concept in retrospect, which is a much different beast.
Who will control the New York Times?
"That means that you might just as well take LLVM out of the picture, and compare Java vs. C++."

Not really, if you can dynamically load libraries at runtime, then you can separate the platform-dependent code from the main codebase, making it possible to target multiple targets without recompilation.

"The only thing you then have to care about is memory utilization"

I don't know much about the JVM internals, but isn't JIT'ing a more expensive process (as in CPU + memory) for the JVM? If you keep the CPU load maximized for both, won't more of those resources be used by the JVM's JIT'ing and GC'ing?
One definition of arrogance is "making undue claims in an overbearing manner". You know, like turning "never having heard of" into "not having instant recall of every single CS algorithm".
I agree, but it was partly the interviewer's fault. He should have just said "assume static pages" and/or "assume everyone speaks the same dialect of english and uses the same vocabulary". In cases like these interviewer should always try to eliminate fluffy answers as far as possible. How else would an interviewee know what his intent is? Perhaps the interviewer wants him to critically assess the question? On the other hand, I always make a habit of asking things like "is it safe to assume such and such?". Then I don't have to go into detail unless they ask "Why?".

That said, it was quite obvious that guy was trying to avoid the question. That wouldn't have sat well with me.
Very good article, and very true for start-ups.

I am always skeptical when I hear someone describe their start-up and it sounds really complicated (especially if they haven't launched yet).

I suppose it is possible to deliver complex systems that work for users, but it's extremely hard. And it's already very hard to deliver even simple systems that work for users, so if you like to change your 1% odds into 0.01% odds, either you have money/time to burn, or you're making a bad gamble.
Even so, a link to the article within the body of the story would have lent some credibility to the posting.
"Not really, if you can dynamically load libraries at runtime, then you can separate the platform-dependent code from the main codebase, making it possible to target multiple targets without recompilation."

It's not just libraries. It also stuff like the size of pointers and integers and the way that structs are aligned and packed.

"I don't know much about the JVM internals, but isn't JIT'ing a more expensive process (as in CPU + memory) for the JVM? If you keep the CPU load maximized for both, won't more of those resources be used by the JVM's JIT'ing and GC'ing?"

It doesn't matter how the JIT works, if you just measure performance. The JIT is just an internal thing, which you don't have to care about if you do the right benchmarks. The only thing you're interested in is is stuff like requests/second, and you shouldn't care how that is handled (through a JIT, interpreter, or native code).
Easy there: 150.99 KB (154611 bytes)
I'm torn on this - on the one hand it's those employees' healthcare which is at stake - real people and real lives. On the other hand there is due process, and the risk of making it very difficult for the government to encourage private investment in the future. If only this had been seen up front - surely employees' healthcare should have had better protection from the start, but these things are only obvious in retrospect. Perhaps the government needs to legislate to force companies to make their employees benefits higher priority in the case of a bankruptcy.
What were these traps? I'd like to know.
That's irc.freenode.net #ramaze. Not sure irc.ramaze.net points there.

And +1 for Ramaze. :)
I would appear to have missed those traps too. From my reading, he appears to have avoided many traps of assumption, traps that the interviewer blundered into without even noticing. IE, there is no average corpus, language is dynamic, hash functions aren't all equal, etc.

Perhaps you could enlighten me?
"But it's the unique content that makes a blog truely monetized."

Yes that's true, tuts network is paying $150 per blog post to show unique and good content, but i talk about setting up a blog only (template design + setup)

"No template is worth $1000...."

I have no idea if it some templates reach $1,000 may be the blogger (jggube) was talking about blogs like Smashing Magazine, nettuts...
While the interviewer probably wanted a typical "programming answer", I wonder how large a dataset you could do by simply using the command line. That's programming, too.

Just use sort and uniq.

Or if it's slow, sort in parallel, then merge into one stream, and extract the frequencies.
I thought the Red Book was the OpenGL Programming Guide.

Good stuff anyway :-)
Want to work in Costa Rica? Do Rails work there.
Ignore sunk costs
Git submodules in N easy steps
I believe you're saying that the company should exist primarily for the benefit of the employees' health coverage, and secondarily as an entity that takes money and makes something of value.

I might be mistaken though. If you are, is that out of a sense of fairness or sympathy to those who have lost benefits? Are they somehow more deserving of our action than the person who put their life's savings into bonds in a company? ie, is this just an appeal based on current emotion -- how bad it makes you feel about those employees?
"By using adblock, you're abusing trust."

Nonsense! What trust? You put up a website, I visit it. If your whole operation is based upon the "trust" that I'm also going to view your ads - you've got another think coming.

Anyway, I see it from the opposite angle. It was websites abusing my trust - that I would be able to view their content without being subjected to inane, distracting ads - that led me to this attitude in the first place. Adblock users were created, not born.

"You're assuming the website you visit is going to be intrusive and horrible to you."

This is an assumption born of long and miserable experience and I stand by its general accuracy. 75% rule!

"You're putting your fingers in your ears and saying "Nothing you ever say to me is going to be useful to me"."

If I knew someone IRL who spoke with the same abysmal signal-to-noise ratio of your average web advertising, that is exactly what I'd do. Or, rather, I'd wear some kind of filter so I couldn't hear them.

You are constantly defending advertising in this forum - I have to wonder, are we using the same internet? 99.9% of the ads I see are awful. Punch the monkey. Win a PS3! Get your horoscope on your mobile! Repair your Windows registry! They are pure annoying noise. How can you possibly blame me for wanting to block them out?

I have nothing against site owners; hell, I'm a site owner myself. If there was a more surgical way to easily block only the annoying ads, I'd adopt that. There is not, to my knowledge, so I block them all. I don't understand why you can't see that this is a perfectly reasonable reaction.
Mutual funds are huge shareholders too. Are those not real people and real lives?

UAW members have done very, very well over the years, it's about time they shared some of the pain. What goes around, comes around.
- chasing an irrelevant point (the interviewer specifically wanted to move on. NEVER stop that, that is the one single that can cost you a job).

- assuming importance (his tone suggests he thinks he knew more than the interviewer. I imagine that might have come across in the interview)

- assuming ingorance (if it seems amazing the interviewer is clueless on something then it probably isnt true. Adjust appropriately.)

- chasing the wrong issue (if an interviewer needs to draw an answer out - even in a fluid way like that - it will be a black mark on your notes)

- assuming irrelevance (his opening remarks suggest he though the question was not relevant to the interview he was having, which suggests he possibly did not treat it with the same gravity. Everything is relevant - the more off the wall the question the more important your answer is).

There are more but those were the key points I picked up: not being there and only having his side of that short portion I cant say 100% he fell into every one. But it definitely looks that way :)

This is based on similar traps I set up for our interviewee's.
Have you got a 401k (US) or ISA (UK) or whatever? You are "the financial sector".
You solicited my visit by putting your website on the internet and leading me there by some means. Now I'm going to view it on my own terms. If you don't like that, block me, or take down your site.
The royal road to learning Chinese is to use the textbook series written by John DeFrancis (who died just this year).

http://books.google.com/books?as_auth=John+DeFrancis&sou...

His Chinese Reader series

http://www.amazon.com/Beginning-Chinese-Reader-Part-I/dp/030...

has never been surpassed. See my HN profile for my basis of knowledge.
Cuckoo hashing is a relatively new but underperforming hashing scheme due to the fact it's not cache friendly for modern processors: "despite its constant worst-case look-up cost, the bucketized cuckoo hash table was demonstrated to be the slowest hash table, far inferior to both the chained and array hash tables."

No, they're not asking for details of hash table implementation. The main goal is to see if you can scale the algorithm, for which they're the real experts. The hash table discussion is a mere diversion. The "expected" progression of the particular discussion is: 1. hash table implementation (simplest map container) when you have enough RAM to see if the candidate gets cs basics. 2. sort | uniq -c when you have enough disks on a single node to see if the candidate has experience with non-trivial amount of data (larger than RAM.) and understanding of modern disk performance characteristics (random vs sequential I/O) 3. map-reduce on multiple nodes for the entire internet; see if the candiate has experience and understandings with distributed computing. So the author didn't make very far. His attitude and mindset were also getting in the way of interviewers' steering the interview. It's a classic case of impedance mismatch in interviews.
I would have expected the candidate to bring up something like "OK, let's assume the work of Shakespeare or another fixed body of text" if he was worried about that issue. Instead he said "that question does not make sense", which would have annoyed me.
foof works well for me
https://addons.mozilla.org/en-US/firefox/search?q=foof&c...
I see your point, but I don't think the questions were particularly insane.
are you on the team?
Texas Property Tax Loans Quick Easy Approve and Fast Funding
Easy Approval, Quick Funding -Texas Property Tax Loans is dedicated to workinig hard and finding our clients the right property Tax Loan for their induvidual situation. Come find out more today.