skysight-inc/HackerNews huggingface dataset:
Ask HN: is there a way to filter/rank comments by points?
Similar to this one, which filter's out articles less than 250 points.

http://news.ycombinator.com/over?points=250

Is there a way to filter comments ?

I've done my due diligence googling, and this is as close as it gets.

http://news.ycombinator.com/item?id=845920

Any new solutions since then ?
But was it really ever different?

Throughout history, writers, painters, artists, have always had a hard time coming by. Even the ones that are very popular now, retrospectively. It was never a "reliable business model" to rely on creative persuits. If money is your sole incentive, it's better to chose something else.

Surely, there are some that get really popular (either because they are talented or get noticed some other way) and can live from the proceeds. Some even get crazily rich (write an Harry Potter). But those are a small miniority.

Technological disruption, or different capitalization models haven't really changed this basic fact.
Python 2.6 as a language is "good enough", for whatever meaning of that phrase. What would be exciting in Python development is the PyPy + LLVM (and the short stretch of the Unladen Swallow project) backend, and applying the modern optimization techniques for compiling dynamic code into efficient machine code. There is IronPython etc. but the platform is different from CPython's.
$ cheat git
Afaik the answer is that the limit is the limit, and the speed of light is unlimited - but there is a limit, so the speed of light is the same as the fastest speed possible. So the limit is not the light's speed, they just happen to be the same.
Memoization and dynamic programming are not exactly the same.

Memoization wins when the filled-in part of the table is expected to be sparse. Because dynamic programming works bottom up, it always fills in the entire table.

Memoization's downside is that it uses a lot of memory. For the simple variant of the edit-distance problem it uses O(n^2) memory as opposed to O(n) memory with dynamic programming. In relation to this, the cache behavior and other constant factor overhead is usually much worse with memoization.
If you mean that the site should say "X is monitoring you", that would be a big privacy issue since one could simply select all friends and see who is interested in oneselves.
Afaik you can. Relative to an observer looking at a black hole, time is at a complete standstill on the surface of the black hole, thanks to the extremely strong gravity. This time stop is (again afaik) why black holes stop shrinking.
Am I the only one who thought the article would be about: http://en.wikipedia.org/wiki/Merchant_banking

Based on the title of the post, which is different than the original article?
Thinking In Reverse - Not Taking Orders From Your Boss in Realtime
11 - 4*(4+1)/2 = 11 - 10 = 1

n is not an index... it's the last number. I wasn't explicit, sorry. :)
The confusion being expressed among commenters here is what I'm basing my assertion off of. Simplification is fine, but I think in this case it pretty clearly set a lot of people down the wrong track.
Are you stalking the ex? There should be a seven-year waiting period before doing that kind of thing. Then it's just "catching up on Facebook."

If your knowledge of the company is material, then the most you'll want to do is possibly telling them to do their own fact-checking. I.e., if it's your best buddy's startup[1], then you call him or tell him face-to-face, with no written record. Use tone (sarcasm is good here, but when isn't it?) rather than word choice to convey that not all is as it seems.

It's possibly grounds for a slander or defamation lawsuit if your ex finds out that you called potential employers and called her a liar, so think about whether you are still carrying enough baggage that it's worth exposing yourself vs. using this as an opportunity to move on.

[1] In which case, your first words should be,'hey, bro code violation–stay way from exes!' Then you get to punch him once in the stomach the next time you see him.
Agreed. I've found that moving away from middleware to class based views with over-ridable methods simplifies things so much.
Ok, now I'm sure this entire post is the HN equivalent of a 4chan trollscience thread.
Interesting that religion.com is not launched. Does anyone know what happened to his content plans? Sounds like an ideal marketer for content farms to me.

Seriously, both domainers and content farms are absolutely trashing the internet today. It's a mess.
Move to 2.7 first, which should be fairly easy. From there, moving on to 3.x is much easier.
Ask HN: Why most of the HR Departments in IT Companies suck?
I have seen and experienced this over many years. Most of the HR departments for IT companies I have come across function very badly. I wonder why?
Languages are mainly for humans, not for machines. XML is intended for transporting data machine to machine, not to be read and comprehended by humans. Computer languages must foster the comnprehension by (fellow) developers, this is their main task.

Reloading is possible with Java as well. And even an XML-document has to be reparsed and most likely be brought into an internal representation, a task which is very similar to a compilation. So, no difference here or any jsutification that xml is suited better for this purpose than other languages.
MySpace Video Recommendation with Map-Reduce on Qizmt
There are great non-blocking IO examples out there which are pretty easy to find (look at any database, file system, or networking library), but I think jsdom is a rather unique library that is hard to find in other languages:

https://github.com/tmpvar/jsdom

jsdom implements DOM level 2 so you could actually mimic the javascript run in webpages (ie it would actually properly evaluate document.write() embedded in script tags). Web page scraping libraries in other languages won't have this feature easily because other languages will need to include a javascript interpreter along with their DOM emulator. I believe there's a java library out there that makes use of rhino to do this (htmlunit) but it took them quite some time to get there (several years). Most of the hard work in jsdom was implemented in a few months.
This weekend: Lean Startup Machine Boston
http://thestartupfoundry.com/
I'm curious where I could read more about this?
Not very long ago, people couldn't explain why things fell to the ground at 9.8m/s^2 instead of some other acceleration factor. The answer now seems straightforward to us. You can't tell the difference between an irreducible fact of nature and a reducible one until you've reduced it.
Yes it is being planned, here is our list for a RC release soon: https://github.com/paulirish/html5-boilerplate/issues/#issue...
It's a Look-and-say sequence.
http://en.wikipedia.org/wiki/Look-and-say_sequence
Yes TextMate doesn't like it sadly :/
Because the page gave it wrong. It should be 1 11 21 1211 111221 before you're asked to give more terms.

And seeing this question is a sign that the interviewer is trying to feel smarter than you.
I know bunch of people waiting for iPhone 5, so they are not getting this upgrade money until it's released, it should be strong motivator for Apple.
Yes, I haven't read the other comments but that is a terrible terrible explanation. OP had a genuine question about the nature of things and the person answered bringing up paper and arrows. This is the stuff that made Feynmann mad when they asked him about magnets.

The only reasonable answer to the original question is: we don't know. The whole schizofrenic theory of something that can be waves and particles doesn't make sense right now but that's the best we can come up with. Nothing can go faster than light because our equations tell us so but we don't know the mechanisms, exactly as we don't know what is creating gravity, for instance. Physics is full of deep mysteries still.
But doesn't all this imply that I have to get the answer at least right?
Did Frank Zappa Come Up With A Business Plan For File Sharing In 1983?
So the iPad is struggling because you're less likely to see other people using it? And your evidence for it struggling is that you've not seen people using it outside? …

BTW, come to London and look on any commuter train or tube. You're right that the iPad is more of an inside device. But I see enough of them outside to extrapolate that they must be selling pretty well.
it is based on the formula (n^2 + n)/2

picture it like finding the area of a trinagle that is half of a square (long side goes from diagonally opposite corners)

formula for area of a square is n^2, so we need half that.

What about +n part of it? It is because we are dealing in discrete chunks, not smoothly continuous.

---

Alternately, imagine a series of children's blocks

1

2

3

now we have a 'triangle' with left side 3 high and bottom 3 wide. IF we make an identical triangle and rotate it round so that they fit together to make a rectangle, it looks like this

1 + 3

2 + 2

3 + 1

This makes a rectangle 3 x 4, and we should be able to figure out that this gives us an area of 12. So the original triangle ( 1,2,3 ) gives us half that and thus the sum from 1 to 3 is 6.

So the pattern for summing the numbers 1 through N is to take a square of length N, add 1 to one of its sides, so it has sides of length N and N+1, and then find the area (which is always N^2 + N) and then halve that.
Spanish Essays
Students studying other languages will be assigned the writing of essays in that language. The same is applicable for students who are doing Spanish. They too will be assigned the writing of Spanish essays. Proper knowledge of the language will make writing this essay easy.
That's the point - because relativity exists, the measured speed is not simply the addition of the two.

I was explaining why that is necessary if you want e=mc2
I'm not in the UK, you just assumed that. I just said the UK is heading the same way. You have to undergo racial profiling, in your own country when applying for a visa for both the US and UK, and then you're subjected to "random" searches and interviews when you land there. This has happened on several occasions to a friend of mine. In fact, soon after 9/11 everyone in his family's US visas were mysteriously cancelled, presumably because his surname is "Hoosein". His sister had to leave the US where she had been working for years and reapply for another visa. She has to do this every year now. Last month, my friend's employer (Sky News) had to supply special documents to the UK government to prove that he was actually who he said he was, and even then they wouldn't give him a visa. We had to get in touch with the local foreign minister to get him a visa. The last time he was in the UK, he was detained for several hours (and nearly arrested without warrant under the Terrorist Act) because he dozed off in front of the Israeli check-in counter. These aren't isolated incidents.

So yes, I refuse.
This function would be good if you know that all other integers are in the array once. However, this isn't elaborated within the question. A perfectly legal array with the restrictions we've been given is this:

[1, 3, 3, 9, 42]

All numbers in the array are integers between 1 and 1,000,000, and one integer is in the array twice.

As for the solution, allocate 1,000,000 bits and do a "bucket sort". If the next number in the array is n, check if the nth bit is 1. If it is, you've found the integer appearing twice. If the nth bit is 0, change it to 1 and continue.
Unlimited Serials - How to use the site
Contains too much text which is unnecessary.

All the explanation about UTC, GMT, DST doesn't need to be on the page where I come to see the time. The page for a timezone need to display only the local date and time and the offset from UTC.

The left side bar is unnecessary if the search bar at the top works as intended.
Meta-comment: I often see the above pattern on HN. Someone writes a very informative comment with a minor inaccuracy. Someone replies to it only to correct that inaccuracy. The reply then gets way more upvotes than the original comment.

I don't particularly care about "karma", so what bothers me is not that the original commenter didn't get enough points, but rather what people in the community think it's important in a conversation.
Butler Bingo
Good point tyvm for correcting me. Using just a bit in a bucket sort is a great approach.
The first Hungarian digital computer was designed in 1957 by someone with the same name, if I'm not mistaken.
Probably, but it will require a new system in which we don't depend on domain names to navigate. I think Google has already envisioned it, as they're starting to de-emphasize the address bar in Chrome.
Don't forget the reverse sexism always at play on HN.

Oh meh a new website someone wrote. Nothing new... Holy cow it says it was written by a woman upvote! Well done her! Amazing!
Lg LB52113D Akku
58Wh Lg LB52113D Akku, Lg LB52113D Li-ion Battery Replacement, 1 Jahr Garantie, Versand in die ganze Europ
Yep, if you don't trust hosted SCM services, just don't use them.
Very simple terminal/console in JavaScript
I HATE interview questions that ask the candidate to write some trivial piece of code. Particularly the ones that need to be written in C to give an optimal answer "if you just do pointer math, this would be trivial..."

Not to say that some good candidates won't be excellent at C coding, but these problems often test for specific knowledge, when they should be screening for critical thinking skills. I've seen candidates who were "good" at this sort of problem (probably because it was on a CS homework in College), but didn't have much in the way of critical reasoning skills.

I prefer asking questions that require them to devise some sort of algorithm to solve a problem (typically by walking through the situation methodically), and then implement that algorithm in the language of their choice. No real ahas or tricks, and I don't care if you write it in Python or Assembler...
Yep, me too. I'm pretty nervous at interviews already, so I reckon I'd melt down if I was presented with some of the questions without having vaguely prepared.

But I suppose that's why the page is there, not so we can feel stupid but so we can re-engage that "solve arbitrary problem X" mentality.
I think a lot of these questions don't really reflect what someone will be doing in their real job. It's more of a "how much do you remember from your CS degree" test that has little relevance to your job duties of maintaining some monolithic Java based enterprise platform.

I mean come on, Binary Trees? I know what a Binary tree is but I'd have to look up the definitions of all the traversal types because there's no way I'd be able to remember what Post/Pre/In Order traversals actually entail.

And this question is an absolute abomination: -

What is the next line in the following sequence:
1
11
21
Answer: it's 1211 and the next is 111221

That's a joke right? I'd personally answer 31 to this question.
Ruby on NetBeans lives
A quick story about Capital Raising and Romance
Yes, the "random" string is a hash of the string, but no, removing one does not remove all. It only deletes one instance of the item. A subsequent "-f" will remove the next, and so on. I specifically had this usage case in mind, and I do that myself.
node.js and tornado are both event driven asynchronous solutions.
These questions remind me of the time when I took AP Computer Science AB, many years ago (10 years ago to be exact Freshman year). To be honest, many of these concepts are good to know, but I find a much more useful test is to test them on something that they probably haven't used before, especially a technology that you use in your project.

For instance, our project uses a good deal of Jabber, so we test our applicants if they can write a program to act as a bot responding to the Jabber message "ping" with "pong." It tests their ability to develop rapidly and to justify their choice of a library and how fast they can pickup our technology. It's been a great filter as well as a useful test to see if they can assemble a solution on their own. Even non-working solutions work well for us because we can examine their thought process.

Asking them to develop a sort solution isn't useful for us as much as seeing if they can develop code relevant to the components we use--because, let's face it; you aren't going to be writing your own string class from scratch, but it is good to know how one works. And in our case, they'll learn about XMPP/Jabber if successful--and it will test to see if they are willing to learn. Seeing which library they use is also interesting, because it tests their system design skills, and in some cases, will indicate if they can make good design decisions. But if we do have doubts about them being able to assemble a program, we will test them computer science questions, but in the meantime, we want to see if they can engineer a solution.

But if you are looking for a low-level programmer to develop you a compiler from scratch, maybe these are the right questions to ask. But we don't expect our applicants to build a hammer; we want them to know how it works, but we don't expect them to build us one. I guess if we need a hammer maker, we will find one, but if we need an applications programmer, we will have them use the hammer. Just like your engineer knows how a spectrum analyzer works, but won't be expected to build one. Unless you are hiring them to do that.
http://cleaning.tips.net/Pages/T004197_Remove_Gum_from_Carpe...

Sorry, I just had to find an example...
I don't know how programmers can convince themselves that a framework based on callbacks (event driven) is a good idea.
Most of my past experience with XML reminds of a certain saying. The one about how someone realized they had a problem and that it could be solved with XML. Then they had two problems.
I agree that better features field better community, I only disagree with all the features listed in the poll. I don't have a better concise idea right now, but I will think about it sometime I am not waiting in a foreign airport and see if there's something I can suggest.
Worst HN comment ever.
Interesting! You should change the user-agent, though...
Looks like how tabs and location-bar is intermixed in MSIE9. Must admit I'm not too happy about it.
Junk Car Removal - North Hollywood Los Angeles Towing Services.
Kudos to Google for making this change. Sounds like they're reacting to feedback.
> There is a lesser known variation of "find a cycle in a linked list"

There's also a lesser known alternative to Floyd's tortoise-and-hare algorithm called Brent's algorithm. It's a little faster in practice, but more importantly it represents an algorithm design technique that everyone should know.
I fall into both these examples. I had an iPhone and kept waiting around for either better reception or verizon iPhone. I finally gave up and bought the droid 2 last aug but it isn't as good as the iPhone. I qualify for another upgrade this aug which puts it right about the time iphone 5 comes out. I'll wait for 5 then dump droid and go back to iPhone.
Learn Kali Martial Art From Judo Videos
Various videos of Judo tournament techniques from the comprehensive and popular kali martial art information with complete references on history, principles are avialable at goldstarvideo.
Thanks for your interest.

My home internet is down, so I don't have the latest version handy. This shows I should keep things in github.

I'll post an older version from my laptop here now, and follow up later with the latest if I remember.

http://pastebin.com/bxt7RLX5

This is missing key functionality:

- 'run' command which spoon feeds you a random selection of the tasks

However, you can start it, and see the schema, and that direction it's headed in.
For a moment there I thought he was talking about the other NaCl, which didn't seem like a very djb-like project.
I don't know what kinds of presentations you've seen, but I've seen (and made) more-than-decent presentations with it. Plus, if you have any math in your slides, neither PP nor Keynote hold a candle to LaTeX. That being said, I agree it is usually quicker to get fancy effects in either PP or Keynote.
> Languages are mainly for humans, not for machines. XML is intended for transporting data machine to machine, not to be read and comprehended by humans.

You might want to avoid rewriting history, or at least avoid commenting on things you clearly know nothing about.

XML Working Group design goal 6 (out of 10):

> XML documents should be human-legible and reasonably clear.

Human readability was a primary goal of the WG, and one of the big advocacy claims against binary or custom plaintext formats.

> Reloading is possible with Java as well.

Sure, anything's possible, you can even parse, compile and load C source code in a Java program if you have time to waste. How many JVM implementations let you trivially reload executed source files on the fly, and how often does that feature explode in your face?

> And even an XML-document has to be reparsed and most likely be brought into an internal representation, a task which is very similar to a compilation.

The point is that it's performed on the fly, easily, and can be re-executed as often as needed without bringing down the whole machine.
+1. I too like this idea starting with niche. Path and Instagram are good examples.
1. His practice of buying prime domains and using them for displaying ads is like buying land in the middle of Manhattan and just using it to display billboards. It'll make good money but nothing like the true potential of those properties.

2. Even as lame as domain squatting is, I admire his genius for recognizing opportunity at the right time and betting big.

3. They are not locked into their current strategy. At some point he'll want in on the action that he's advertisers are getting. That's when he'll really make a killing.
I am going to pair this up with my Pomgranate Phone (http://www.pomegranatephone.com/) and never need any other device again!
And NaCl now has signatures based on curve25519: crypto_sign_edwards25519sha512batch.
This relates directly to creating solutions for pain-points. It's an approach to solving a problem.
s/ignore you/shoot at you/
The moral equivalent in a function is alloca(), but that can be a fast path to stack overflow.
It sounds like you dodged a bullet. You were asked a subjective question to determine if you would fit in to what they believed was "right." In such a large company, you really do need to fit the company culture or it ends up being just as painful for you as it is for your coworkers.

As much as I thought I would love working at Google, that opinion quickly changed after the interview. I discovered it was everything I hated about school with a thick layer of free food and brightly colored bicycles smeared on top.
Clickables:

http://news.ycombinator.com/over?points=250

http://news.ycombinator.com/item?id=845920

To my knowledge, no. But my knowledge has, in the past, proven incomplete. Further, on occasion, a question like yours has led immediately to the implementation of the feature in question.
License your idea to your boss...
Maybe there is a way to license your ideas to the company for which you work. I had to sign over any ideas I had to my employer, but I am rethinking that. Sure, they paid me to create solutions, however some solutions go beyond a job task. To be fair, they should own what they paid for. But what about micro-innovations that fall outside the scope of what they paid for? Just a thought...
PostScript is another stack-based language based on Forth, but with specialized graphics commands. It also has the delightful property that many printers can interpret it. I always wished I had known this while taking my intro CS courses, so that I could have submitted my problem sets as PostScript files, to be computed by the printer.