skysight-inc/HackerNews huggingface dataset:
This does not describe an increase in demand:

"as crime and pollution have decreased in American cities, and the downsides of auto-oriented suburbs have made them unappealing to many, there are a lot more Americans looking to move into urban housing"

You describe a change in preferences, from one form of housing to another form of housing. All other things being equal, this does not lead to an increase in demand. If 1 person moves from the suburbs to the cities then there is 1 more person demanding urban housing and 1 less person demanding suburban housing. Total demand does not increase in this scenario.
Cookie counting: Understanding cookies through user studies
Many years later, similar functionality made it into gdb: http://sourceware.org/gdb/wiki/ReverseDebug
"Elementary Number Theory" by Underwood Dudley is great.

Also, I enthusiastically second tokenadult's recommendations of all of Stillwell's books, which has quite rightly been voted to the top.
> That's going to be a pointer, where a value that causes the CPU to trap is quite handy.

You're confusing an invalid pointer with an invalid index. There is absolutely no reason for any index to ever be invalid.

> And there's already plenty of invalid index values. -1 for example.

-1 is not representable with unsigned integers. There are no invalid index values in a 0-based indexing system (using unsigned integers, as I initially stated).

> There's no way to make an allocation the size of your entire ram, so 0xff...f is going to be invalid.

This is so completely off the mark I'm surprised you even came up with it. There are several things wrong with this (off the top of my head):

1. I don't need an allocation the size of my address space in order to want to address both the first and last bytes in the address space.

2. You don't know what machine I'm running on. This could be an embedded 16-bit machine without multiprocessing with 64KB of RAM. Every single addressable byte is valid and corresponds to RAM storage.

3. It doesn't even matter whether or not a given address can be loaded. Indexing a pointer does not necessarily require loading it. As a trivial example, I could take the address of the resulting indexed value.
CEOs are not like presidents. If you leak the story to the press, a CEO can't contain the story because they have no power over the media. A president has the power to do a lot of things, including killing citizens who prove to be troublesome in some ways, and get away with it. And yes, even in democracies.
I thank you for providing examples that prove my point. :) That's mostly speculation along the lines of "evil could have been done, therefore evil must have been done".
It's worth noting that they specifically state that for Gmail they can use OAuth through the refresh/access token system. Hopefully they do this for all other IMAP servers that support OAuth (there are a couple of them now).

However, for traditional IMAP/SMTP servers your point is well taken. They must store your credentials in a restorable state, which, however carefully you do, has difficult security implications.
"Why would you buy a Macbook and an iPhone if you could get away with just one?"

I agree, but I also see this as the moment their product line would start to calcify. I don't worry about Apple's ability to make the smart moves, but it seems like this will come to a head.

I saw this from another HN post, a quote from a Microsoft VP:

"Let’s be clear – helping folks kill time on a tablet is relatively easy. Give them books, music, videos and games, and they’ll figure out the rest. Pretty much all tablets do that.

"But helping people be productive on a tablet is a little trickier."

http://www.macrumors.com/2013/10/23/microsoft-bashes-apples-...

No matter who says it, it's true.
Passing 0 as the index into an indexing operation is not even remotely "accessing a null value".

Also, believe it or not, on various machines and OS's it's legal to map address 0.

Edit: Your edit makes even less sense. There is no such thing as a "null index", much less an operation to "access a null index".
Here's a simple diagram to explain what is doors.
https://github.com/bredele/doors/blob/master/doors.png
Ask HN: What do startups look for in an intern?
I am currently learning Ruby on Rails and would like to start as an intern and eventually get a job as a developer. What do companies look for in an intern?
Brisko: a True Tale of Survival
It's called "mental context."

Also, what kind of drugs does one need to ingest to make it seem like a good idea to enforce UI conventions optimized for 4" cell phones on a user with a pair of 30" desktop monitors? Are we talking plant-based alkaloids, aromatic hydrocarbons, or what?
Thats exactly how it works now. http://www.iana.org/domains/root/files
I don't think it's possible to have a retroactive tax on instances of patent trolling, as opposed to patents in general. In order for this to be a tax and not a fine, it seems like it would need to be a tax on the patent application, not on bringing and losing a patent lawsuit. And in order to determine at the point of application whether or not a patent will be used for trolling (which we might define as whether the patent will be used in a lawsuit by an entity that holds the patent but does not itself employ the patent's "invention"), the USPTO would need to be able to read the future.
Love the art here. The giant crashed robot looks like an homage to "Iron Giant" (http://en.wikipedia.org/wiki/The_Iron_Giant), one of my favorite movies as a kid.
Before I start, let me say that I love the idea of a surface, and that the only reason I have an iPad instead of a surface is because I couldn't warrant spending $900 bucks on a secondary device at the moment. Both are great devices, but if I had the money, I'd probably get a Surface Pro 2.

>That’s what Surface is. A single, simple, affordable device that helps you both lean in and kick back. Let’s be clear – helping folks kill time on a tablet is relatively easy. Give them books, music, videos and games, and they’ll figure out the rest. Pretty much all tablets do that.

The problem with this statement is that its not relatively easy. I've owned seven Android phones (starting with the G1), an Android tablet, an Asus EEE Slate, and two iPads. When it comes to a streamlined system for delivering entertainment, the iPad provides a superior experience to all of them.

>The Surface and Surface 2 are less expensive than the iPad 2 and iPad Air respectively, and yet offer more storage, both onboard and in the cloud.

I never understood why people say things that they know are disingenuous at the time they make the statement. Yes, its technically correct to say that the Surface Pro 2 is cheaper than a 128GB iPad, but Frank knows very well that the 16GB model is by far the most popular.

>The good news is that Microsoft understands how people work better than anyone else on the planet.

I think office is better than any of its competitors, but if Microsoft understands how people work better than anybody, why did we get an overpriced, gimmicky keyboard cover instead of something that can be used without a desk?
Just out of curiosity, is it ever possible for two people at different levels in the same workplace's hierarchy to engage in sexual relations without it being sexual abuse?
http://en.wikipedia.org/wiki/Wheelbarrow

I am kind of surprised Egyptians weren't the first. As a fan of the Chinese's Three Kingdoms (both the history and the novel), I remember Zhuge Liang (諸葛亮) invented a wheelbarrow called Wooden Ox (木牛流马) during the war (according to the legend his design was really intelligent). The sad thing is his design was completely destroyed and unclear what the wheelbarrow actually look like.

http://en.wikipedia.org/wiki/Wooden_ox
The privacy outrage around this is nonsensical.

Over 500 million people trust Google with complete and indefinite access to their email. The leap from trusting no external email providers to trusting Gmail is much greater than this incremental step of trusting LinkedIn as well. The risk is similar to trusting an established company to automatically backup your emails, and smaller than trusting startups like Greplin (which rebranded and got acquired) to safeguard a dump of all your emails.

This is not to say the privacy and uptime risks are non-existent: the attack surface area is marginally increased and there is another system that could break.

Claiming LinkedIn's doing a "MITM attack on your email" is on the same level as saying "Google is Big Brother." Both statements capture an element of reality, but with an extremely alarmist bent.
You're correct, but the iPad should be sufficiently powerful enough to run a proper office suite.

Pages is good enough for my purposes(writing papers for college), but the other apps have a long way to go.
There's a huge misrepresentation in there that a President thinks they or has any particular knowledge of what's best. Honestly, that's more like the legislative branch. ;-)
Some versions of BASIC going way back into the 80's (I very dimly remember Microsoft BASIC for Macintosh having it) have an OPTION BASE keyword allowing you to actually specify which array base to use (0 or 1).

Although I kind of like the following solution I found in a dusty corner of the Net:

http://vb.mvps.org/hardcore/html/optionbasezero-basedarrays....

Basically, you yourself specify the range indices.

Dim ai(1 To 10) As Integer
Dim ad(0 To 49) As Double
Dim av(-10 To 10) As Variant
>You're confusing an invalid pointer with an invalid index. There is absolutely no reason for any index to ever be invalid.

I'm not confusing them. You are very clearly describing a pointer.

>-1 is not representable with unsigned integers.

When I wrote -1 I meant "the value you get when you type -1 in your source code".

>This is so completely off the mark I'm surprised you even came up with it. There are several things wrong with this (off the top of my head):

>1. I don't need an allocation the size of my address space in order to want to address both the first and last bytes in the address space.

That's a pointer issue. If I allocate 20 bytes near the end of ram, my last index is only going to be 19 or 20, so it doesn't matter if I can't go to UINT_MAX.

> 2. You don't know what machine I'm running on. This could be an embedded 16-bit machine without multiprocessing with 64KB of RAM. Every single addressable byte is valid and corresponds to RAM storage.

Again, that's a pointer.

> 3. It doesn't even matter whether or not a given address can be loaded. Indexing a pointer does not necessarily require loading it. As a trivial example, I could take the address of the resulting indexed value.

Taking the address is a pointer issue.
Flickr Job Board Ad in Source Code (view source code)
One has to wonder: where is the money coming from that drives up these rents, if wages are stagnant? The issue is supply and demand.

One factor is that an item in constant demand but having limited supply is a great store of value - people buy to keep their money safe regardless of whether they have use for it or even whether the thing yields a reasonable profit. And once that store of value starts to rise more in price, that just accelerates the trend. It is speculation but not random speculation. Land will always be part of people's wealth, the price of land reflects how wealth different groups have. Land prices go up in response to the rise of the ultra-wealthy but if the ultra-wealthy aren't going away, those price rises are justified (by some logics at least).

And as they said, the source isn't foreign as such, it is extremely-wealthy-as-such.

Essentially a product of the extreme concentration of wealth world-wide.
http://mailplaneapp.com/index.html - multiple accounts are a breeze.
Here's a good article on disfluency and why it causes resistance to new things.
http://www.edge.org/conversation/disfluency
Peter, the blogger in this post, is an excellent artist :) Watch his work on Paper Wars as well : http://pandoralive.info/?p=1375 (for iOS and Open Pandora, sometimes soon)
Generating More Secure GPG Keys
This is incredible. I have shown a few people, and they just keep playing and trying to fix their buggy "spells". Nice job guys!
Hmm this is not new. I have seen a dozen of websites like this. For example, examine wordpress.com you can see that.
>There is no such thing as a "null index",

Would you rather I write "index that is 0 in a world where indexes start at 1" over and over? I am willing to do that if it helps make the conversation smoother.

>much less an operation to "access a null index".

foo_array[0]; //operation to do an access with a null index

>Also, believe it or not, on various machines and OS's it's legal to map address 0.

Which is a bad thing. You get a couple extra variable slots in exchange for thousands of privilege-escalation bugs that could instead be crash bugs.
I'm curious: given the negativity of the comments why does the post have so many upvotes?

Do people find the technical details interesting despite the privacy concerns?

Either way, congrats to Martin, Sam and others on the launch. Getting something out the door to such a wide audience after working on it for over a year must be quite a challenge.
I logged in to read about CodeCombat. Instead, I read this submission. Mostly because it was sitting there forlornly with no comments. Alcoholism is really painful. It in no way lessens the excellence of the contribution of talented people; it only makes us cherish them more. We just don't get to help often because the destruction happens in a way that is inaccessible to outsiders.
They need your cleartext pw in order to create a config profile and that's it. Why would they need to store your pw at all? Once the config profile is setup, the IMAP AUTH request gets proxied through them to the original provider and handled as normal. No need to store any pws at the proxy.
> The vast majority of people have a hard enough time using Word or Excel

Being a majority doesn't prevent them from being illiterate. For most of human history illiteracy was the norm.
Unless a company is in the business of producing things its patents cover, it isn't utilizing the patent system as intended. I fail to see how barring a Non Practicing Entity from litigating patents it isn't actually using in a real, product making capacity is unjust. It seems perfectly reasonable to me, in fact.
Which why it's awesome that it's 2013 and anywhere worth being has WIFI.
I will have to side with Microsoft here, everything said is in-fact true. The Surface from a technical perspective trumps the iPad, it's effectively a true computer (USB ports, storage options) inside of a tablet form. In all honesty, it was never Apple that was focused, it was Steve Jobs. When Jobs was at the helm, he did things differently to everyone else and it was this different approach that got Apple to where it is now. The legacy that Steve Jobs created is being carried on, albeit rather loosely. It's obvious Apple are losing their way very slowly, we can't forget that the iPad and iPhone were both masterminded by Jobs and Johnny. I mean seriously, the iPad Air? It has nothing to gloat about except being lighter, but was the iPad ever that heavy to warrant being lighter? It already weighed less than some books can way.

Microsoft don't get enough credit, they've done a lot of things wrong, but I think the Surface is a solid device that doesn't get enough attention. The price point was definitely wrong, if you want to rival Apple you have to undercut them in the market. Most people don't buy Apple devices because of technical specs, they buy them because of the large library of applications, the hype around owning an Apple device and the look and feel. When is the last time you heard someone saying they were going to buy an iPad because of the kind of CPU it has?

The iPad and Surface Pro 2 are both fantastic devices that can achieve the same things. The software is different, but on a hardware level they are both highly capable devices with seemingly limitless potential. Apple has the better OS for the moment and the better design, but Microsoft has the better hardware. For those that have used both iWork and Microsoft Office, it's obvious that Microsoft wins hands down. You never see anything other than Microsoft office being used in the enterprise and I doubt you ever will in this lifetime.

If you want to win accolades and praise, making fun of the competition in this way makes you look like a jealous douche, both Apple and Microsoft come across as childish to me. Once upon a time Apple in terms of their public presence and marketing never really mentioned the competition but based on remarks that Tim Cook made, it's obvious their strategy is to no longer take the high ground and let the consumer make their choice, they're playing hard-ball with Microsoft and Samsung now.
Considering what you can actually do with the different devices, I think the prices are a good selling point. I had an iPad before but after I got my Surface (both RT and Pro) I found myself using the tablet for more stuff and I found myself having it with me much more and enjoying it. I've used Surface Pro for work (Visual Studio, Office) and it's been working good.

Regarding the keyboard and not having a desk, with Surface 2 it is supposedly better as you have one more angle with the kickstand. I love the TypeCover when I am by a desk, never really found TouchCover that enjoyable to write on.

Here's some of the prices:

Surface 2 with 32GB is $449

Surface 2 with 64GB is $549

Surface 2 pro with 64GB is $899

Surface 2 pro with 128GB is $999

Surface 2 pro with 256GB is $1,299

Surface 2 pro with 512GB is $1,799

iPad 2 with 16GB is $399

iPad Air with 16GB is $499

iPad Air with 32GB is $599

iPad Air with 64GB is $699

iPad Air with 128GB is $799
Coffee v smoothies: Which is better for you?
You missed a key point, "responsible disclosure". Not only to the company but to the public. I care less about whatever bounty they give or do not give. They could just deny the bug but this lingering is too much. I like Google's program where you have to wait x number of days and then you can disclose any bug. I guess all I wish from these programs is that they fix the bugs fast which is good for them.
I did not spent time to enter anywhere. I was just curious 1 day and played around for an hour or two. I guess you are assuming too much about me and my capability and you cared so much as to create an account just to reply to this post...meh :/
Franklin and I are bros and all, so I don't mean to dis him, but he's a shite programmer.
In general, wouldn't this be easy to crack too if the bot writer can write a good image-to-text recogniter?

http://techcrunch.com/2012/03/29/google-now-using-recaptcha-...
Their game is inextricably linked to how well it teaches people to code. Lets consider that their "game engine" is their competitive advantage. If they open-source their game, they are giving away that edge leaving another company with more money easily able to take it and run.

That said, I'm not sure how many gaming companies would actually do that, since they are not in the recruitment business.
With no other opportunity and with a deep resentment towards the millionaire, the fisherman's sons become involved in the drug trade. Violence escalates in the village to the point that kidnappings for ransom become a popular way to finance the importation of drugs for resale. The sons kidnap the millionaire's wife for ransom and kill her when the businessman fails to follow instructions. Later the millionaire and his new trophy wife are gunned down in the street. See Acapulco:

http://www.borderlandbeat.com/2013/07/violence-in-acapulco-i...
It doesn't matter how cool the slice notation is when people have trouble accessing single elements!

1 based is better for human counting and 0 is better for certain mathematical expressions, usually when thinking about offset from the start rather then list position.

Clearly it is a judgement call, but I personally think counting is more important for the same reason PI is wrong. We are confusing ourselves because easy things aren't intuitive.

Imagine you have:

var list = ['first','second', 'third']

`list[2]` should clearly be the second element (not third), just as PI / 2 should mean half a circle (not 1/4).

We wonder why there aren't as many computer science / math grads. Well in every intro class in the world people are getting confused by this.
This horseshit entitlement attitude is everything that is wrong with the OSS community.
It may not be intentional but what about unintentional fixes ? What happens to bugs that were valid when posted but fixed (unintentionally) right after a release/code deployment.
An interesting point of view I found via Google:

http://www.esva.net/~thom/philkatz.html
Do you remember the whole "I'm a Mac" commercial series? Apple didn't exactly take the high road under Jobs—they just took the low road better.
GCC 4.8 is in the repos. Interesting that you had trouble getting it.
I wasn't trying to make a plea for community consensus. I think individuals come to their own conclusions about morality, but those conclusions are informed by the information that they receive from their environment and community. A person who never experiences meaningful debate, thought, or contemplation is going to be morally stunted compared to those who engage in regular debate and discussion. That doesn't mean every person who argues a point is morally superior, but in the aggregate, engaging in moral discussions will enhance an individuals expertise in determining moral veracity.
Wha? It's not obvious? Be nice.
Lisp and Smalltalk are not on the standard curriculum at most US schools. I know that GT used to offer an OO course (speaking of abandoning history, can't view old course webpages past 2008, and new ones are apparently hidden behind a student only portal) which used Squeak, it was a co-requisite of Software Engineering (circa 2003, don't know how it's changed since because I can't get to the pages). I wasn't introduced to lisp until I took a special topics course that used Common Lisp for AI in grad school. Ok, technically I used scheme before then in a survey of programming languages course, but 2 weeks exposure hardly counts. For various reasons I left GT about that time, and finished up elsewhere. I do know that in 2002 (2001?) they introduced scheme for CS 1301 (whatever the number changed to), but dropped it for python later (cheating scandal that year, something like 200 students caught in CS 1 and CS 2).

Speaking of, that PL course was probably the closest to a CS history course that I ever took. The only other courses that came close were ones where I deliberately sought out papers on algorithms (AI, graphics) that had been developed in the 70s/80s relevant to projects I was working on. Other students just brute forced their solutions taking advantage of the much faster hardware available at the time.
I'm doing some serious development right now for the first time in 12 years, and it's way more fun and much easier to work with a geographically dispersed team than it ever was before. It may not be hand-wavy object magic.. but let's be real about this: we're not a future-oriented culture anymore. We're all about the present. Lots has been written about this elsewhere.

The secret to creating advanced tools is to minimize the magic. Crazy powerful tools still require the expert user to have a predictive mental model of what is really going on so that accurate decisions can be made and valuable experiences can be accumulated on the learning curve.

I would say, though, that the programming we do is by its very nature futuristic. So few humans have been able to interact with information the way programmers today do. The tool churn and huge volume of ideas and trials that we're going through will, eventually, become a mainstream way of working with ideas. It may take a long time.

The other thing is.. a hammer may seem like a simple and obvious tool, but there is still a huge gap between an expert and a novice when it comes to pounding nails. You still need a lot of practice.