skysight-inc/HackerNews huggingface dataset:
So, I agree that the interviewee in the story did the correct thing, but the part where they are describing their reframing of the question ("So, I am to write an algorithm that takes a possibly infinite stream of…”) and then are just cut off (interrupted, as the story says) is kind of what I'm getting at. Like, if that happened in normal conversation, you kind of assume that either the person you're talking to is an asshole, or they are correcting your course because you are going down the wrong path.

That, plus the setup of the code with all the variables right there, meaning that you'd of course be tempted to break encapsulation and solve the problem by just adding a "visited" flag to each board[x][y] cell. That's the smarter engineering thing to do, because you a) have access to that state as the problem is setup and b) know that visiting any cell will only ever land you in the same successive cell.

Again, the question is bad because it takes a reasonable question ("Can you detect this loop?") and then foists on the interviewee boilerplate that literally begs to not follow the problem constraints.
> “All the content of Twitter.com belongs to Twitter’s owners,” Castaño explained in a tweet. “Who am I to sell little bits of the domain to anyone?”

Isn't that kind of the problem? Maybe we should be exploring protocols that let users own the content they create.
Looks like one of those malwares that takes the ads out of a website and replaces them with its own. In order to do this over SSL/TLS it has to use its own certificate—as if that weren't bad enough, you're vulnerable to man-in-the-middle attacks through HTTPS.
The $20,000 Apple Watch
The World's Most Idiotic Copyright Complaint
I gave this question to a friend and she came up with what I think is a beautiful answer. Remember min and max X and Y coordinates seen so far, and count the number of steps. When this number gets larger than (maxX - minX)*(maxY - minY) we know we're in a cycle.

It's an extension of your idea of counting the total number of visited positions. What I like most about it is that it can work with streamed data.
More women than men study medicine, so for example your "nursing/health aides" example really conveys the wrong picture.
I emailed hn@ycombinator.com and they replied that they "don't technically have the ability to change usernames." They also "feel that it would be against the spirit of the site" because "threads really belong to the community."

I don't think it's a basic right, but it would be really nice if your past didn't always follow you. People change their opinions and generally grow up. Also, it may be a basic right if you're below the age of 13 due to COPPA:

"the parent can review the child's personal information, ask to have it deleted and refuse to allow any further collection or use of the child's information. The notice also must state the procedures for the parent to follow."
"Because Go"

--Google
I really hope that this view isn't widespread amongst W3C people. "Controlling what HTTP reqs my device sends is morally wrong because the server owner expects to monetise them" is absurd.
DMCA (Copyright) Complaint to Google
OK then, your website and the ad-networks are now CRIMINALLY LIABLE for any and all malicious code that arrives on my computer through them, so that if some ransomware destroys my files you will pay me to cover damages.

Sound like a good start?

Maybe later we can talk about you compensating me for how any of your badly-behaved ads degrade my service on other sites by burning CPU cycles, using outsize amounts of connections and bandwidth.

.. And that's not even touching the whole confidentiality/privacy aspect.
It's not exact. Man care more about their place in the hierarchy , while women care more about how they're perceived by people around them.
There's really no point in thinking of the question of happiness from this perspective. Everyone tries to logically plan out a path to contentment, happiness and satisfaction whether it be through making a lot of money or other means. The reality is... we're not biologically programmed to ever reach that state.

As humans we're creatures of natural selection. Our physical bodies are competitive machines built through eons of evolution. For the same reason our minds have also been honed into competitive machines, designed to never feel satisfied and to always aggressively seek and want more. There is no competitive advantage to a mind that is perfectly content or happy, that is why you will rarely find a person who has truly reached this state.

Simply being aware of this fact will also not lead to happiness. Too many people feel the solution is as simple as changing their state of mind. Simply changing your life philosophy and telling yourself to want less and to lead a simple life is not a viable solution. In the end doing this is just trying to force your mind to deny fundamental biological imperatives. It's like telling yourself to not be hungry. It is imho fundamentally impossible to remove your desire for money if all your peers are making 10 times more money then you.

The last sentence in the previous paragraph is the key to happiness. Your biological drive to compete is actually tied to the people/environment around you. Your environment and culture dictates not only your drive to compete but the nature of the competition itself. In the corporate world people compete for money, in the military, they compete for ranks. As a result, the key to happiness is really simple. If you're not happy, change your environment.

Move to an environment where people don't compete as much. By being in a culture that is not that competitive your drive to be compete will also fall proportionally. Changing your environment changes your nature. You cannot live in a competitive environment and change your nature through sheer willpower alone, you have to change your environment and that in turn will change your nature; and possibly increase your capacity to be happy.

The perfect example everyone can relate to is the shift from student life to corporate life. As the nature and intensity of the competition from student to employee metamorphosed into another form, your capacity to feel satisfied and happy also dropped significantly (at least it does for most people).
Where I went to university the engineering students had their own jokes category, usually about them never getting laid.
Still SF, and more than ever.
I created a bootable Windows image on a flash drive and sure enough it does give you a choice to keep the other partitions intact. YMMV.
You bring up a good point, but it's not one supported by the text of the story. Perhaps that's why it's a good story: everybody reads into it their personal experiences and assumes it means what they want it to mean.

FWIW, the meaning I took away from it is "Well, this is a cool way of looking at things. Some people will run away screaming, some people will appreciate it. If you want a happy life, find the people who appreciate it and don't worry so much about the people who don't see things your way."
New York has 3.4 million housing units and Airbnb only has 13,415 highly available, entire unit listings. Is Airbnb really to blame for rising rents, or are people just looking for a scapegoat?

http://www.nyc.gov/html/housing/assets/downloads/pdf/housing...

It seems to me that if New York wants to reduce rents, they should build more housing.
Until I saw the map, I just hadn't realized the insane size of AirBnb.

These numbers are pretty rough due to things like suites vs multi room apartment listings, etc. but:

- They're listing about the same number of rooms as the 30 largest hotels in NYC combined.

- NYC only has about 70,000 rooms total, so AirBnb is fast approaching half as many rooms as NYC Hotels total.

Stats from:
http://en.wikipedia.org/wiki/List_of_hotels_in_New_York_City
From the static typing POV, the dualism is imaginary because gradual types are a perfectly acceptable and long known static type system. This is the real point of the "unityped" argument.
Fortunately for us, no reasonable person would construe my generalities as "legal advice".

>With the Internet, you do not need to have a physical location somewhere to do business there.

Although this is true, the rule of thumb has generally been that sites are governed by the rules of the principality where their servers reside, because it's the only effective or practical way to determine jurisdiction in a worldwide network. (It's likely that most websites have something hosted in CA, by the way).

I agree that this issue can become complex, but it's really only a side note to the intent of the post, which is that under our current legal structure, people are regularly bullied by plaintiffs that make exercising legal rights and obtaining justice much more costly than just complying with their original demands. The privacy policy thing is just one example of this.
A nice product, but it should be noted that every additional authorization method you add to your product is a very high value and often mis-implemented weak point!
oh you mean things like windows XP which people have paid for? I rest my case.
On one hand it sucks you lost the accounts, on the other hand I'm glad to see the equivalent of domain squatting is at least somewhat solvable on twitter.
How convenient it is for us men to believe stuff like this.
I deplore Evernote because they destroyed Skitch, evidence that they place end users low in their priorities. This experience does not surprise.

1: Revert.io backs up Evernote.
2: Scrivener and Dropbox work well (but sync badly) for managing a lot of text and screenshots. It's also a great writing platform.
3: glui is my current screenshot app - it provides Dropbox links to each picture.
That was a fascinating dip into an often forgotten piece of American history.
Replacing man pages because 'they look old' is a terribly stupid idea.

How about we replace them because there is something better? Or because they no longer fill a need?

Things that are old and work are not to be messed with. Frankly, if you don't get that, I don't want you, or anyone else who thinks like you, making decisions about any UNIX I might work with.

I lament the poor documentation on Linux, and OSX, and I lament the FSF's obsession with info pages. There's nothing wrong with man pages. Maybe we don't need groff to prepare them, but we need man pages.
Interesting perspective, but 1984 machines would have all been incredibly tightly resource-constrained with very low resolution screens, making it difficult to even display two windows at once. Fair enough to question it in 1984 but times have changed!
Who Congress Follows on Twitter Data
So why do women become elementary school teachers rather than high school teachers?

Although in general it's probably true that women tend to be more risk averse.

I've always said that women are probably simply too smart to go into IT. Sitting in front of a glowing rectangle in a gloomy basement is probably not the best recipe for happiness. Cliched as it sounds, but a job that involves talking to people might be much more likely to make a person happy.
Unless I'm wrong: The popularity doesn't mean anything necessarily good. More people are probably asking for help in F# than they are in Ruby (much simpler to comprehend). The results aren't really helpful they just give you back indiscriminating numbers.
I'm not familiar with JSONH, but with JSON, you can cheat by encoding a single "record" via JSON on a single line. :-) That way, you can read one line at a time:

{"field": "some\\ntext with new lines"}
{"field": "more text"}
From Java to Rails – what do I need to know?
I'm trying to make the move from corporate java development to Ruby on Rails development, and I'm trying to put together a list of things I need to learn.

For context, what I know & don't know already in that domain:

Know: ruby itself, a decent amount of html, some css, a tiny bit of javascript. I've messed around a little bit with wicket & spring on the java web dev side, although I'm more comfortable with swing and backend-y things.

Don't really know: any advanced javascript or CSS tricks; Framework-style programming in general seems a bit awkward for me.

So- any good ideas of what I should be looking at beyond rails tutorials?

Thanks!
San Franciscans have no one to blame other than San Franciscans for the housing policies that are pricing people out of the market. Well meaning but ultimately deeply misguided liberals are still insisting that housing supply doesn't affect pricing (http://truth-out.org/news/item/26656-developers-aren-t-going...), while others are are calling for a moratorium on building (http://www.bizjournals.com/sanfrancisco/blog/real-estate/201...).

Meanwhile, in Washington DC, rents are falling because of the increase in supply, while both the population and number of jobs in increasing. DC also has a unique character that they've been able to preserve despite growth; San Francisco needs to do the same, and fast.

San Franciscans need to start pushing the city for a lot of new housing units, probably 100,000, with expedited planning, approvals, and building if they don't want to get completely priced out of the market.

More on DC:

* http://www.thedailybeast.com/articles/2013/01/11/dc-rents-ar...

* http://bigthink.com/ideafeed/falling-rents-in-dc-a-product-o...

* http://www.bloomberg.com/news/articles/2013-04-23/washington...

* http://dcinno.streetwise.co/2014/08/01/did-you-know-d-c-s-re...

* http://dc.urbanturf.com/articles/blog/dc_area_rents_drop_3_a...
I know this is unrelated but I had read about your company earlier this week, and was really impressed. Looking forward to hearing more about you guys!!!
That's great; you've really made this clear. In python, one would just use itertools.tee() to get multiple bites at a particular iterator, rather than relying on sugary syntax to instantiate the iterator multiple times; perhaps ES6 should have something similar? I have to say, this "Symbol.iterator" magic string seems like an even less felicitous way to write this than python's dunderous __iter__() function. Maybe coffeescript or one of its forks can help ES explore a more reasonable way to write this.
GAY RIGHTS and FAITH: Pope compares transgender people to nuclear weapons
I agree with her completely and didn't use adblock until ~6 months ago. But, the click bait "one weird trick" and "you'll never believe what XYZ did to ABC" horseshit ads made me crack. I just couldn't deal with seeing that nonsense anymore. I'd be happy to do micropayments, but at this point it looks unlikely to happen.
May be, but women(and men) make their decisions before entering the field.
How to Implement Prism.js Syntax Highlighting into Your WordPress Site
This is more truth-y than true. If occupational prestige drove employment, we'd all be firefighters. And, of course, when you actually look at occupational prestige figures, engineers crush lawyers. Really, there's no axis on which your hypothesis explains anything.
Did you try benchmarking against kdb+?

Seems like there are always HN commenters lambasting CSV. I am sure they have very good reasons.

But, as for me, CSV is one of my favorite formats. (Sort of like how people like XML or JSON I guess.) I like the limitations of CSV because I like simple, raw data.

I wish the de facto format that www servers delivered was CSV instead of HTML (for reason why, see below). Or at least I wish there was an option to receive pages in CSV in addition to HTML.

Users could create their own markup, client side. Users could effectively use their "spreadsheet software" to read the information on the www. Or they could create infinitely creative presentations of data for themselves or others using HTML5 or some other tool of personal expression.

It is easy to create HTML from CSV but I find it is a nuisance creating CSV from HTML.

Because I have a need for CSV I write scanners with flex to convert HTML to CSV.

I often wonder why I cannot access all the data I need from the www in CSV format. Many have agreed over the years that the www needs more structure to be more valuable as a data source. If data is first created in CSV, then you have some inherent structure to build on; you can _use it_ to create markup and add infinite creativity without destroying the underlying structure.

If data (cf. art or forms of personal expression) cannot be presented in CSV then is it really raw data or is it something else, more subjective and unwieldy?

Whatever. Back to reality. Pay no mind.
Keep all important data with you, both in your PC (better encrypted) and in an external disk (backup).
If you are really paranoid, you may backup it in the cloud too, S3, Dropbox or any other service.
I just wrote in another comment[1] about Microanalytics[2]. It is an easy Javascript option that gives you a lot of cool stuff. If you're not a powerful corporation it is definitely worth a try.

[1]: https://news.ycombinator.com/item?id=9090721

[2]: https://github.com/fiatjaf/microanalytics
Perhaps 20 years ago it was the case that anyone could get job as a teacher. That's very difficult from succeeding as a teacher, and it's also not true today.
Unless I'm misunderstanding, I am fairly certain GA does everything you just describe. They have a real-time menu option and I can see my users going from page to page. I can see the number of people on my website right now (21).

I guess the bottom line is your platform is much more approachable and easier to understand. Thanks for the response.
i totally understand that such key words are polluted with searches like Monty Python, but the trend does seem to change much even if we apply more restricted key words, as already pointed out by many other replies before. in the end it's really just a matter of habit using what programming language to do what, it's still, however, interesting to see how popularity of one language come and go.
Is there a tag for "junior level job that accepts experienced devs looking to switch stacks by working nights or weekends on something they can put on their resume"?

Because, that would be very cool.
Except on tablets of course, where "single app visible at a time" is common.
No language handles regular expressions as easily as Perl. Perl's power has always been in its power to do text processing.

That said, it's objects and pointers are a joke. At least Perl 5's are. As for Perl 6, I don't know. It couldn't hold my attention for 15 years.
That's not really an externality, that's a market equilibrium. New York housing is very scarce, and you should beware of economic thinking that arbitrarily assigns scarce resources to certain people. Everyone has a right to a place to live, not everyone has a right to a place to live in the most in-demand parts of America.

An externality would be something like if AirBnB guests were a major nuisance to other people and there was no market solution to this problem. It's true that AirBnB guests and renters are often violating housing agreements and local regulations, but I'm not actually convinced the harm of this, to the extent it even exists, outweighs the economic benefit of more people being able to travel to New York--one thing that is clear is NYC hotels are too few and too expensive.
What a sickening sycophantic declaration just to plug a very dangerous return to calendar-based contraception methods: http://www.readytogroove.com/the-cycle/appendix-a-the-sympto...
I use simplenote on 2 iOS, 1 android, 2 windows, and 1 linux and have never had the problem you're describing. None of them have intermittent connectivity, though.

Thing is, since all the notes are backed-up as simple textfiles to Dropbox and Dropbox saves history, even if that does happen you'll never be screwed over by it.

Dropbox backup is a belt+suspenders type deal. Simplenote also saves full history; I just checked my version of "ToDo" (named "Misc Apartments" for reasons you can probably guess but aren't worth going into right now) and it has full history for every single edit going back 212 days inside Simplenote's web UI.
Look at the queries... they're all noob oriented.

How to use a for loop, hash, or array?

I'm not saying that the supply of noobs drying up is a good thing, but...
Where you see weirdness I see monoculture that calls itself counterculture. And nerd/tech culture has never been part of this. To try and rewrite the history of nerd/tech culture like this is a form of cultural appropriation. The same nerds who were hated and ridiculed in the 90's turned out to be part of the counterculture movement all along! You say a lot of pie-in-the-sky dreamers were here trying to make their way in the world. How is that different to what is going on now? Isn't Elon Musk a pie in the sky dreamer? And does this make him a "weirdo"?
When you say "current valuation" do you mean "valuation at the most recent round"? (Of course, that might be not at all "current".)

If the last round was 12 months ago, the last 409A was 6 months ago, and the next round closes in 2 days, I'd argue that the "current" valuation is the price in the next round not the prior round or the 409A.

In terms of your example, 50K options out of 100MM total issued, you compute a dollar value of $75K. If you're trying to get at intrinsic value, that assumes that the 100MM is on a fully-diluted (not currently issued) basis, and that the strike price is $0.

In particular, watch out for the "fully diluted" bit. HR isn't necessarily lying if you ask them how many shares outstanding and they tell you the answer to the question you asked. That's of some interest, but the fully diluted number is more interesting.

To give actual data, we issue RSUs (strike of $0), vest over 4 years (1 year cliff), and grants are in the high 5-figure range for what I'm guessing is your level and from what I recall. (We pay very, very competitive cash salaries, hence the modest equity grant.)
That means going to the bathroom during a commercial on TV is also theft.

I have an idea: get a better business model instead of thinking you're going to be rich selling advertising on the internet.
Perhaps the new buildings won't be cheap, but supply is supply. The old buildings may cease to be ludicrously expensive as they are now. I heard stories of the real estate agent telling the line of people out the door coming after a Craigslist post to leave if they don't plan on paying more than posted price.
Sounds like evernote has all the read guarantees of /dev/null, but none of the write performance
I've been using text files as notebooks as well for a very long time. In the past I sometimes sent them to myself via email to have them available. Since I have an iphone I use the regular iphone notes app [1] and enable IMAP sync. I can read and edit them everywhere, on the phone, in the browser with webmail or in an mail client.

The only thing I'm missing is end to end encryption; with both ends being me (or the application I'm using at the moment).

Otherwise it's perfect for my use case: just notes for me and myself, just ASCII text, regular adding, rarely editing, no sharing, no other users, no versioning.

[1] I'm quite sure there is a similar solution for Android, I just never tried it there.
On new accounts, Dropbox only allows a paid upgrade to store one year of file history.
For Tens of Millions, Obamacare Is Working
I haven't seen any movies this year. Not that I don't like that but I've been doing other things.

But I will say that I regard "The President's Analyst" starring the immortal King of Cool James Coburn as the very finest motion picture in all of human history.
I was confused why so many web dev jobs required Java.
"That said, it's objects and pointers are a joke. At least Perl 5's are."

MOOOOOOOOOSE!

http://moose.iinteractive.com/en/

I agree, nobody uses the native stuff.

Its like claiming Perl DB support is a joke. Well, yeah, everyone uses the addon package.
Austin, Oakland, Portland, Sacramento, Los Angeles, Denver, Utah...