skysight-inc/HackerNews huggingface dataset:
Satire is nice but if you want an actual city simulation game you can read the source code of [1] take a look at the following:

1. Micropolis -- https://code.google.com/p/micropolis/. This game is based on the source code of the original SimCity released under GNU GPL 3.0. Concincidentally, there's an ongoing effort to produce an HTML 5 port at https://code.google.com/p/microwebopolis/.

2. LinCity-NG -- http://sourceforge.net/projects/lincity-ng.berlios/. Looks and plays similar to SimCity 3000.

3. Simutrans -- http://www.simutrans.com/en/. This one is inspired by Transport Tycoon.

4. OpenTTD -- https://secure.openttd.org/www/en/. Same as above but requires Transport Tycoon Deluxe resources to run and might be closer to it in terms of mechanics.

[1] This is what I was half-hoping to see when I clicked the link. It would be really cool, and possibly profitable, for someone to quickly prototype one in HTML 5 in response to the SimCity 2013 fiasco.
Intuit removed the DRM from TurboTax after one release in 2003 after public outcry and financial analysts questioned them about it. All you gamers have to do is stick to your position and not buy the product. Unless you hit them where it counts, they will continue to do this. Imagine, if the sales didn't meet expectations and analysts questioned EA.
This is a very good point that these discussions always ignore.

A friend of mine purchased a duplex house so she could live downstairs and rent out the upper floor by individual rooms. The only way she found that it worked was to have new tenants vetted by the existing ones. The 4 rooms were rented individually with shared kitchen and bathroom, but by letting the tenants have a say in who they shared the space with, turnover was very low and people tended to get along better.
"Less privileged adults"? The hell is that supposed to mean?
Sorry in advance for being a little off topic here: which VPS hosting companies have the best reputation for automatically restarting your failed VPS (for any reason) from the most recent backup? Many years ago, I was on vacation without an Internet access and my host provider restarted my instance and since I set up my services to start on boot up, all was good.

I would guess that I am a typical customer who does not really need fast scalability. I host several web apps with a modest number of users and what I care most about is reliability and then cost.
Cookie attacks between computers in related DNS domains (*.example.com)
5 more minutes until my slot becomes available. Look forward to seeing you guys there.
My point was more that I would wager most "auto styler" tools will change code that is in the kernel. You are really just bringing up more of what I consider "straw men" in this argument. Terribly formatted code is of course terrible. Much of what folks argue about being "good code" is just nitpicky wastes of time. Take this snippet from the kernel:

if (pages) {
pages[i] = virt_to_page(start);
if (pages[i])
page_cache_get(pages[i]);
}
if (vmas)
vmas[i] = vma;

This is just an arbitrary snippet, as I really have no familiarity with the code. But, alone in this snippet I already see at least two things that would make most format obsessed people go stupid. (Three in the actual code, but I don't know if the tabs will be visible to folks on this forum.)

Edit: I forgot to add that I realize this segment actually conforms to the linux style guide. So... yeah, doesn't really say much other than to show that the kernel crew disagrees with most anyone you will ever hear online. It does not take too much effort to find snippets that actually do violate their own rules.
Inter-window messaging using localStorage
It's an economic consideration, by allowing offline play they believe they'll be leaving more money on the table than if they make it online only. They'll convert people who would have just got a cracked version into buying it.

Unfortunately for Maxis they obviously didn't hire any programmers who had a clue how to write scalable server code.

And the result is that they have managed to lose a lot of sales in the first few key weeks because of bad reviews.

But economically speaking, sound decision, just poorly executed.

On your last point, this is an unfortunate side effect of digital goods. In Europe we can hope for a growing political movement that this is deeply anti-consumer and will be legislated against, far more likely here than in America, but it will be hard for courts to decide where to draw a line. So ultimately I doubt it will ever happen.
This is the future of TV
I have friends with kids who painfully accepted that they refused to friend them. Now they've friended them, but restricted what they see - severely. :-) Some of their other young relatives friended them, but they seem to actually live their lives on twitter, assuming - correctly - that their older relatives will not follow them on twitter..
"Can we search your belongings?" "Why? Do you have reasonable suspicion to?" "We do now."

When obeying the law and defending your rights becomes suspicious and cause for interrogation, 1984 has arrived.

When driving at or under the speed limit at 2 am gets you pulled over you realize how close we are to a police state.

Edit: I know the first bit is illegal but it happens. The police just make up some bs to cover their butts.
How clearly is this advertised? I poked around online on stores that sell it and saw no mention that an Internet connection is required to play. It's not even mentioned in the system requirements.
At its core, web development is about taking some user input, validating it, throwing it in a database, and displaying it again (perhaps slightly modified) to users. That's a fairly simple concept, and frameworks should reflect that.

Maybe most HN startups are that, but web development _at it's core_ certainly isn't limited to CRUD apps.
>Condo's nowadays start at around SGD 1m for something small and basic

1,000,000 SGD is about 800,000 USD.
It reminds me of a Zend Framework project I'm maintaining, where the previous dev apparently tried to apply any OOP pattern they've ever head about.

To get anything from the db, one needs to get a "service locator" (just a dumb global object but with a cooler name) that will parse a namespace and returns a repository that will call a mapper, which in turn will instantiate an entity, which somewhere deeps in the Zend Framework is going to run an SQL query (going through dozens of classes, just to make stack-traces more readable...) and, maybe, if I'm lucky, I'll actually get some usable data back.

Of course, adding a new table is just as much fun - dozens of modules, controllers, repositories, mappers and so on to create, and just as many configuration files to update. And, of course, if something's not quite right, good luck getting any sensible error from the framework.
“it feels much more comfortable to actually have control over the resources you are using than relying on the magic the JRE does for you.”

That's exactly the problem Java/JRE was trying to solve. People make mistakes. Given the large quantities of programers corporations hire, it is almost certain that mistakes, especially those dealing with hardware resources (e.g. memory), will happen. Java/JRE reduces a large part of them (e.g. memory allocation/deallocation due to GC) so corporations can hire average programers to do the majority of tedious tasks without blowing things (too much) off. You cannot have such guarantee with C/C++.
An annoying thing C++. Anyone know the history/rationale of this change?
They mentioned in the video concerns about hygiene and electrical safety, and cockroaches. Twenty people sharing a toilet, how well do you think that works? What I am suggesting it telling landlords what they can and cannot do, not the residents. Every slum in the world has numerous landlords that don't maintain acceptable standards. To pretend that very poor people have the consumer freedom to challenge that is ignorant.
It's better to

typedef void ( * fptr_t)()

and cast to fptr_t instead of void *
But it's bigger problem how to force users to cast it back to proper prototype, because casting it back to something else will give UB.
Apple not arrogant and not forcing users to do things the "Apple way"? This is exactly what they do.

Also what is the big deal about the Unity hate? It is simple to install another window manager and replace it. Problem solved.
Actually, Huawei Ideos goes for $50 in Africa right now (with Android), but I get your point.
You know, I've actually spent the hours leading up to the SimCity launch coding a simple clone.

Here's a link http://www.browserpolis.com/, you need a webgl enabled browser though.

And a screenshot (http://imgur.com/4ixB2lO) in case you can't see anything.
Seattle bar first to ban Google Glass
How does the corporate veil affect free speech?

Just looked at the largest union, the NEA. It's incorporated in many states for various reasons. Should that prevent it from participating in political discourse?
"now heinously ugly"

A combination lock may not be sexy, but I see it as a classic design. There is no way you can call it hideous unless you have some childhood locker trauma to work through, and/or you only date supermodels, drive expensive cars, and live in a million dollar home.
As another hacker who has suffered from depression, this is an excellent idea. I know that I'd much rather talk to someone who understands my peculiar mindset instead of yet another PhD charging too much an hour.
Actually, I think that most people would assume you meant a military vet and not a veterinary physician, since most people hear a lot more about military vets. My question would be do you want someone with serious skills and just a good coder? If the latter, I'd suggest some community colleges.
I think it works great on desktop via keyboard shortcuts. I use it all the time and I hate it when I have to use other systems.
Well, I live in a "ranch size" home on 10 acres. Why?

Actually I'd rather have 20 acres, or 100, but within the constraints we set, this is what we could (barely) afford. I like my own space and I consider it one of the things I "need." In fact, it's way up there in terms of priority. Your "needs" may be different. I've lived in large, medium, and small cities and I simply prefer to live in a low-density area.

Now, about the house itself, it's too big: I'd prefer something about 1/3 the size. Unfortunately, it's impossible to find a small house on a large acreage unless you want to commute over an hour to work and no bank will lend the money to build one.
Not using attr_accessible is a lot different than not using reset_session after authenticating a log in. It's very easy to forget or not notice a model missing some whitelisting but to roll your own authentication code with zero security investment is just stupid and I would be extremely surprised if GitHub doesn't do it.
The same can be said for EC2. "Amazon EC2 reduces the time required to obtain and boot new server instances to minutes, allowing you to quickly scale capacity, both up and down, as your computing requirements change."

If my instances don't launch "quickly" or I've designed my app in such a way that it isn't 100% linery scalable I can now sue Amazon? You can't sue heroku for their marketing speak.
I did the exact same thing your daughter did, except i "only" deleted some random files on the System32 folder. Windows didn't stop working, it just became strangely unstable.
> Based on the information available so far, it sounds like a very unappealing platform for developers. As a developer, you're essentially stuck using HTML, CSS, and JavaScript.

Saying you are stuck with JS is like saying iOS developers are stuck with ARM. Yes, underlying it all is ARM or JS on the respective platforms, but you can compile many other languages into those two: C#, C++, etc.
Another interesting post from homakov. Thanks so much for posting these as I learn a lot.

A few months back didn't your blog do something devious to people who read it? (Oh, yeah! It was signing people out of their Google accounts, I think?) Anyway, now I'm leery of clicking any links to homakov.blogspot.com.... :-p

I do think I'm safe from you, though. I browse with cookies off, NoScript enabled (except for small whitelist), and RequestPolicy blocking cross-site requests. Homakov, can you think of any sort of exploits I'd be vulnerable to when browsing the web?
> I would love to give something back

How about telling us what helped you the most? You mention you "changed your lifestyle"—what things did you change?
A New Ideas Machine
> How long does it take to stop working?

For Denmark, about another 7 years. Why do you think the government is acting the way it does? (For those not familiar with the situation, pursuing a reform strategy in straight opposition of explicit pre-election promises). By then, the baby-boomers will have retired and the smallest generation in modern history is left to pay for everything.

As for crime, there is no evidence that low inequality causes low crime rates, or the opposite. Significantly more inequal Switzerland and Singapore has lower homicide rates.
It's like having microsoft control a standard, it's why the guys who develop mono are off their rocker. When you let someone at the wheel who completely hates what you are trying to achieve, he's going to steer things in bad directions. What's worse is that wayland was doing was simple. X11 was an old old standard and wayland was just moving in to replace a crufty piece of open source.

Some people were OK with it, some people weren't, then all of a sudden ubuntu goes and makes a THIRD standard, citing a laundry list of nonsense reasons to abandon all that work. We know the reason they did it, it's the same reason they made that ridiculous unity DE. They want control.
No one's forcing me to swim in a cesspool either.

That doesn't mean I can't complain about the stink.
Is there a print view or something of this article that doesn't make me feel like I've viewing the mobile version of this website? The text is squished into this narrow column from a confusing layout that it's annoying to read.
Also on that subject: http://me.veekun.com/blog/2013/03/03/the-controller-pattern-...
At least
Do you honestly believe that there is no level of taxation where the ultra-rich (and the moderately rich which is where most tax-revenue comes from anyway - there are just many, many more of them) will react and leave?
Tell Everyone Your Goal: Madlib style
RequestPolicy is OK, cookies off is better.. but how can you use the web !
I love reading about people trying new things like this.

As an Agile/XP coach, what I find is that I need to be very careful that I distinguish between things that work and things that feel like they ought to work. If you're not a pragmatist, always trying new things but always looking at results with a cold eye, you're truly lost in this business.

Good article, but the jury is still out here. Right now this is more of a sales pitch than a story. In about three years, I'd love to come back to these guys and see how it's going.

One of the problems with any organization is that people like doing what they like to do, not necessarily the things that need to be done. There are things we are really good at -- programming, artwork, group encounters, whatever -- and we tend to gravitate towards situations that let us do these things. The immediate danger of an organization without a tight feedback loop is that people drift into doing their own things and other important stuff doesn't get done.

But that's just the theory. The important thing is how it works in this situation, for these guys. Hopefully there will be an update a few years down the road.
Yes :D.
Just thought I'd point out that Openttd doesn't require the original resources to run anymore. There are OpenGFX, SFX and MSX packs to replace any proprietary content.

http://www.openttd.org/en/download-stable

I'm fairly certain they're pretty much complete replacements now, but I haven't been able to get the music pack working on Arch yet.
Good opportunity for Google to increase the competency level at Motorola. Get rid of the least productive workers now when Motorola's revenues are not great, keep the best ones around, the ones they would've hired anyway if they had the chance, and then start hiring really good ones when Motorola starts growing again.
Fred Wilson interviews Jack Dorsey
No no no, OP doesn't have the resources... yet. You're supposed to put on your own oxygen mask before assisting others - there's a reason for that.
Ryanair does not only have dark patterns on its website, but also within the company.

Two months ago there was a program on Dutch TV where a couple of Ryanair pilots anonymously stated that Ryanair flies with dangerously low fuel to keep costs down. Here is the video with english subtitles:

http://reporter.kro.nl/seizoenen/2012/afleveringen/28-12-201...

While this hasn't lead to an accident yet, it has lead to several mayday calls when planes had to fly to another airport due to weather conditions or had to wait in the air because the airport was busy. The airport had to let Ryanair land before its turn. If the other firms that had aircraft landing at the airport had been flying with similarly low fuel it would have been a crash.

and part 2:

http://reporter.kro.nl/seizoenen/2013/afleveringen/03-01-201...

This part is partially about the fuel issue but also about other issues, such as pilots being pressured to fly while ill or very tired.
"I would love to give something back to you"

You might want to help depressed hackers, but in the mean-time I'd suggest you can give far more than you'd guess. Each day, find someone you can "help" ... hold the door for someone with full arms, smile at someone who's scowling or tutor someone who's having a hard time understanding something you know well.

You'll certainly brighten their day, but you'll also find the satisfaction in being helpful (with no expectation of any compensation) will improve your mood too. Don't believe me? Try it for 30 days ... and if at some point you believe your life isn't worth living right now, think of what the people you've helped would say about your life.
Resources for depressed hackers are pretty poor. You hear of burnout, chronic fatigue, moving someplace isolated -- but rarely the "d-word" in hacker circles. Offering your story is a great start. There's a "Geeks and Depression" list you may be interested in.
Works here in Firefox 19.0 and Chromium 24.0.1312.56 on 64-bit Linux.

I didn't see the GitHub link in Firefox, though, so in case anybody missed it here it is: https://github.com/dreamingofelectricsheep/browserpolis.

Say, how do you plan to add terrain height to the game? At a glance it seems that your engine wasn't built with it in mind. It might warrant a total rewrite to put it in as early as possible since it's such a major feature of how SimCity-type games play and (especially) look.

Edit: I was thinking more about how you'd manage placing Bezier roads over an uneven heightmap.
Wound love to see it when it's done
If Stripe doesn't someone will. It's too useful to go unused.

Tracking us all over the Internet is useful, if you're a spammer who wants to hassle everyone to buy their junk all the time. Most of us don't like spammers, either.

The privacy concerns should be minimal.

Please correct me if I'm misunderstanding you, but you appear to be advocating the collection of arbitrary information, via a third party script downloaded from an external source, in the middle of a payment process where sensitive credentials are in use, without necessarily giving notice to either the customer or the merchant about what is being done.

I normally prefer to make logical arguments and cite real data in this kind of discussion, but I genuinely don't know how to respond to the suggestion that this has minimal privacy concerns.

I don't care for your attempt to scare an entity away from doing something quite reasonable.

You and I have very different ideas of what "quite reasonable" means. Indeed, this "quite reasonable" behaviour seems to be illegal on several different grounds here in the UK, and as a merchant I would worry not only that I could not trust any third party service doing it to treat my customers well but also that they could get my own business caught up in at best dubiously legal activities without us even doing anything. That sort of ambiguity/distrust is toxic and grounds for staying far away from any such service.

Do you actually have any evidence that Stripe is in fact doing this kind of thing, or were you just stirring up trouble?
HackersHelp I'm in! I really love the Idea! A good starting point for these sorts of things has always been founding an IRC-channel ;)
Isn't this endless queue game mechanic patented by EA? You may be on shaky legal ground here.
Roku shipped their HD1000 "Photobridge" video playing STB several years before Netflix introduced their streaming product. I know it was able to display 1080P MPEG transport streams at the very least.
I bet this will be cracked and people will be running private or client-side server emulators inside two weeks.
I thought I found it hear years ago when I was trying to remember it. But was unable to find it. I was surprised when HN let me repost it.
"The browser plug-in is the security problem in question, but the Java runtime has its own annoyances—like constantly nagging you for updates, taking up space in your system tray, and (when you first install it) because it likes to install things like toolbars on your system. For these reasons, we generally recommend uninstalling the Java runtime too, just for the convenience."

I completely agree with this advice, but it kills me to do so. All of my non-trivial desktop applications are written in Java. They're performant, secure, and easy on the RAM. A huge part of Java's advantage is that it's installed everywhere, and it seems like Oracle are trying their hardest to make sure that's not the case. I really hope I can keep writing applications in Java in the future.
i tried it on me and on friends, it works

want a personal proof? $3000.
I'm not sure, but probably historical reasons like much else in PHP.

Though, I'm not a real fan of reading other people's nested ternary ops, because if you're going that deep, just write an if/then in whatever language you're using? It will keep you under 80 chars which is a polite way to go.
The complete iOS and Android app review sites list - Apptlantis
points += 500

This made my day.
What are the rows and columns in your hypothetical database?
did I say cookie tossing is something new?

If I would consider it as a new attack I would call it Homakov Cookie Tossing Attack. Now it's just cookie tossing.
Don’t keep employee contact information on the wiki
> different than not using reset_session after authenticating a log in

if it's obvious for you — you are good at security. But it is NOT a common sense to use reset session
Install it maybe
Telefónica, the main spanish telco company, is one of the Firefox OS partners.
I remember it well. There was a lot of talk about CHRP, but in the end, Apple released no Macs that were fully based on it. The 4400 had the same Apple designed Tanzania motherboards [1] as Motorola used in some of their StarMax machines [2]. Those boards had support for commodity PC ports like PS/2 and parallel, as well as Apple's ports. The Power Macintosh 4400 did not have parallel or PS/2 connectors. It had ADB and GeoPort serial ports [3].

I considered getting a 4400, but I ended up spending a little more on a 7300, which was a way better computer.

[1] http://web.archive.org/web/20010726184243/http://www.macuser...

[2] http://en.wikipedia.org/wiki/Motorola_StarMax

[3] http://www.forevermac.com/1997/02/performa-4400160mhz-comput...
Backdoor CTF
You can shadow other httponly cookies too. Any cookies.
[] really is very well known trick question. Wwll it was on my university before they switched to other language. I think they don't event learn C there. Shame.