skysight-inc/HackerNews huggingface dataset:
> Your consuming code is tied to Foo. In dart, the consuming code only needs tying up to the interface.

Foo is an abstract class, which is the exact same thing.

> Nope. That's the whole point which I am trying to communicate: you do not need a reference to a class to get the instance of the interface from

Neither do you in the code I posted, can you bloody read?

> My personal feeling of liberation comes from the fact that the code is simpler and more clear.

You'll have to give actual examples of that, because I've not seen it so far.

> the point is the transfer of characters into a mental model which is more efficient with the named constructors/factory constructors.

This phrase doesn't even make sense, what "transfer of characters" are you talking about, and how is it more efficient for the user to type more? (named constructors only add ceremony to factory methods) (I'm not even going to talk about factory constructors again, they're a band-aid on the self-inflicted wound of stupid java-style constructors)
> But I will forever have to live with a "what if..." in my life.

This is going to happen many more times in the future, with work and family and health. Sometimes it'll be about more important things than money. How you deal with it today will set the tone for how you'll deal with it in the future. You'll be one step ahead of those who haven't had to deal with this, and their millions won't help them then.
It is material as a measure of complexity when it becomes necessary for a developer to understand that complexity. Database tuning is a black art to many because databases are very complicated.

It turns out that having less code does in fact fix some issues. Consider Prevayler, for example, an object persistence layer that provides full ACID guarantees in something like 3 KLOC. It's also radically faster. It has a number of limitations (e.g., data must fit in RAM, no query language) but if you're ok with that, it's great: a Prevayler system is radically easier to reason about and optimize than something 300x as complicated.

Also, your 15 MLOC for Linux is a bit of a red herring. Look at this (somewhat old but presumably representative) breakdown here:

http://www.h-online.com/newsticker/news/item/Kernel-Log-More...

70% of the code is in drivers and arch. The kernel itself is circa 1% of the total, which at that point was 75KLOC. I think that they've been so disciplined in keeping it small is part of what has made Linux such a success.
But we're comparing a software engineer, who hopefully doesn't live paycheck to paycheck, to a Facebook engineer, who presumably will make a couple million dollars in 6 months.
You realize that's not true? If you choose to enable the "Contact Sync" (the only time when they are sent your device's contacts), this page is shown: http://static.guim.co.uk/sys-images/Technology/Pix/pictures/... Unlike the Path scandal earlier this year, Facebook has done a consistently reasonable job warning people about what they are doing (as well as having the feature off-by-default and, even if you want to use it, somewhat difficult to access).
Ask HN: Advise on building a Rules engine
I have a need to build an app (Ruby) that allows the user to select one or more patterns and in case those patterns are matched to proceed and complete a set of actions.

While doing my research I've discovered the new (to me) field of rules based systems and have spent some time reading about it and it seems exactly the kind of functionality I need.

The app will be integrated with different web services and would allow rules like these one:

When Highrise contact is added
and Zendesk ticket is created
do add email to database

I had two ideas to build this. The first is to build some kind os DSL to be able to specify the rule conditions and build them on the fly with the user input.

The second one is to build some rule classes each one having a pattern/matcher and action methods. The pattern would evaluate the expression and return true or false and the action would be executed if the match is positive.

The rules will then need to be persisted and then evaluated periodically.

Can anyone shed some light on this design or point somewhere where I can get more information on this?

Thanks
Pirate Pay - Microsoft funded anti-piracy startup
New Type Constraint Module for Perl
They've worked hard for what they have - and I think it's good to give them that credit. But - well, sometimes I think you have to accept where you are and see the strength it holds.

When I was a kid, my dad used to tell me a story about a guy he knew in college who always got easy A's, and spent the rest of the time partying. He told me that for a long time he felt envious, but after a while he realized this was just who he was; he had to work for every bit of what he got, work to do well on every test, but that work he put in was part of its meaning to him. In some small way, it meant more to him because he worked so hard for it.

Somebody here said [1] that, if you'd been at Facebook for the IPO, you'd spend the rest of your life wondering "what if?" Your friends who are there worked hard for what they've got, I'm sure - but if I were in their position, it'd be very difficult for me not to wonder about it. I'd wonder if I just got lucky, if I just was in the right place at the right time, if it had anything to do with me or if it was just that I happened to join that one company with the hundred billion dollar IPO.

You don't have to wonder. You built it with your own hands, and you sweated for what you have. Sure, it would be fantastic to see a windfall like that, and your friends will see lots of benefits from it, but your prize is knowing that every single dollar you make and every great thing you build, you yourself worked to achieve.

There's an ancient Greek saying: "Great things are never easy." Even if they don't bring you big payouts, I don't think you have anything to regret if you can look back and know you worked hard to do great things.

[1] http://news.ycombinator.com/item?id=3974928
At that moment in time, did you know FB stock was going to be worth so much?

No. You didn't know.

Nobody knew.
Parts of the western San Fernando valley, which lies within LA proper, are not that dissimilar from SJ.

And, when people say "LA", they really mean the LA area, which contains not only the city itself, but outlying/surrounded cities like Pasadena, Santa Monica, Compton, Long Beach, etc.
Is Your Website Paying the Price of Penguin?
Isn't by definition going to a "top 5 school"
not a representative experience.

Maybe his experience is the representative of most colleges and yours from a "top 5 school" the exception.
A Google doc, very interesting. The use of bit.ly is also interesting--someone may unwittingly click the link and reveal himself through his Google account. Perhaps the intention is to discover who is reading it (for what purpose I can only speculate). It isn't posted on TNW for reasons that are unclear (as others have noted). Perhaps the intention is to crowdsource the editing until the statement eventually converges to what passes for a sincere apology, which could then be posted on TNW. Of course the use of bit.ly and Google Docs could be entirely innocent.
Interestingly, San Francisco is the second most densely populated large city in the US after New York. http://en.wikipedia.org/wiki/San_Francisco
Right in the first paragraph it says "... they’re introducing a new, more open ...". I don't know much about other incubators but can't really understand why YC would be considered less "open" or "exclusive".

My understanding is that powerful incubators form around influential and visionary people (with money or good connections) so it may not be a good aspiration model for startups.
How can new infrastructure be far too expensive for what is still the richest country on the planet?

Europe is building high speed rail links across the continent, even during a recession that is combined with slash and burn public sector policies. http://en.wikipedia.org/wiki/High-speed_rail_in_Europe
I didn't forget Blackberry. I tried to develop for it in the past. There were a never ending series of downloads. You had to keep registering, repeatedly filling in the same detailed information before they begrudgingly handed over anything. After filling up my machine with bloatware I was unable to even get hello world to appear in an emulator. The chance of getting anything on my device was zero, and they required all sorts of extra certificates and payment to use any of the useful APIs.

This whole process is part of RIM's DNA. A year ago when they were doing the whole Playbook thing it repeated: http://blog.jamiemurai.com/2011/02/you-win-rim/

Quite frankly I know many former Blackberry users but I don't know a single current one. I have no idea why anyone would even consider the platform.
Why Nikola Tesla was the greatest geek who ever lived (The Oatmeal)
It's really sad. I installed it because Quicktime and iPhoto can't play any video taken from my Canon digital camera. Perian provided system-wide Quicktime support for many video format and this is what VLC or MPlayer cannot compare.....
Don't ever look backwards, it's a waste of time.

Learn the lessons of your misses and take them with you.

If you were recruited multiple times to join FB you are going to continue to have great opportunities.

If you're inspired by the idea of valuable stock go build a list of what you consider to be the top 5 start-ups with traction.

Then find a way to engage them.

Even if you missed on FB, you can still catch the crazy-money boomerang and pull out MILLIONS in the next 3 - 5 years.

Heck, write a blog post lamenting your FB miss and weave it to talk about your credentials.
Please share!!!
A dollar is not a dollar is not a dollar. It matters to me how I make my money. Getting lucky by winning the employee lottery at a hot startup is much less meaningful to me than making a large (but lesser) sum through a startup. If all you care about is racking up zeros in your bank account, then yes you missed out on FB. If you care about other things, then you're probably ok.
Can a comcast Cable TV subscriber stream comcast content when they are not using their comcast line? Does it matter if they can?
The 1% is tied to the market value of the home, at the time of taxation. Its saying, they will never tax you more than 1% of the market value of your home.

Rent control is tied to the time of original purchase. If you want to say that your rent can never be more than 1% of market rent, sure- sounds good.
Spring Backgrounds for Desktop Loved by Nature Lovers for their Personal PC 
Spring is a very cute season of the year and many nature lovers search for sweet Spring Wallpaper pictures. They are in many conditions such as natural source of water, mechanical device that stores energy, geometric surface in the shape of a helically-coiled tube, in oceanography and more.
Looks nice.

The problem is, while a high-quality freeware game like mari0 does mean that LÖVE does meet the minimum feature set you'd need for a game, it doesn't mean it has the tools or widgets or features you'd need in a commercial game.

For example, does the game render and perform well on all target platforms? For a freeware game, if it doesn't work on some video card, so what. For a commercial game, it means support headaches, lost revenues, and bad reviews and/or user comments.

For more examples, see this thread:

http://www.reddit.com/r/love2d/comments/q0oc1/where_has_love...
I don't think NYC has the same earth quake risks as San Jose. Still, it's hard to look at moving to the valley given the current housing and commute situation. Earth-quake proof caves of steel???
well any that would be good enough to rival FB's own app :)
I am going to be captain obvious here and mention that you cannot compare the growth rates of a city that is on an enormous flat desert plateau with that of a city on an already crowded peninsula.
Your Own Exciting Paris Boat Go To
Visitors are usually returning to Paris due to their getaway trips. This can be because of the several exciting Paris boat. Visit http://bateaux-peniches-and-co.com/ for more information about louer bateau à Paris, location bateaux Paris, croisiere paris, location salle fete paris.
I have to say - whenever I drive the 101 - I'm reminded of LA. It's actually less dense than most of LA. I live in the Richmond which is probably about twice as dense housing wise as most of LA's working class neighborhoods.
It's both. The server and the framework are to some degree usable independently from one another (via the tornado.wsgi module), but the most interesting features (i.e. all the asynchronous stuff) only work when both are used together.

A couple of other pure-python (I think) HTTP servers that haven't come up in this thread yet are twisted and paster.
> If it's really weather, why are almost all of the east coast sun states significantly cheaper?

Simple - people don't want to live in those states as much as California. For example, we have palm trees in California. They have them in Florida too - it's not the same!

Similarly, Texas also has nice weather but it's way more variable than California which has a fairly temperate climate. In TX crazy temperature swings are the norm. Also, I've known a number of Texans throughout my time in the Bay Area, pretty much all of them from Austin. The culture of Austin is the most like California and San Francisco - artsy, liberal, etc. Places like Dallas, Fort Worth and San Antonio are decidedly not like San Francisco.

To your point about Prop 13, I agree that it's an issue, and it's definitely a major part of why we keep having this budget crisis over and over and over again, every friggin' year. Sadly, I don't think Prop 13 will be abolished or really revised until the state is completely broke - much worse than it is now. But eventually it will change.
Parts of it are sleepy, parts of it arent. But really its just endless tract housing and strip malls.

(also similar: minimal amount of nature within the city itself; lots of concrete but not in an elegant urban way; not much in the way of historical sections)
The microcontroller being used can be setup to appear as a standard USB mouse/keyboard, so this should work with anything that supports a USB keyboard and mouse.
You pay $99 for an App Hub registration, then sign in to the device registration app on the desktop with the device plugged in. After that, it's pretty much automatic. I haven't done that much WP dev yet, so I'm not sure about friend's devices, but so far it's been relatively painless.

(Well, except Windows making installing VS and the Zune software almost impossible, but that's just what happens with Windows. On a clean install. After installing all the updates it wanted. Of which half failed the first time. And rebooting. And rebooting again. But none of that is related to Windows Phone, except that as Apple doesn't make tools for their competitors OSes, Microsoft doesn't either.)
Who copied who if Pingdom's public reports have been around for over a year?

http://royal.pingdom.com/2011/02/08/new-public-report-from-p...
Who copied who if Pingdom's public reports have been around for over a year? http://royal.pingdom.com/2011/02/08/new-public-report-from-p...
What's up with the down voting? The score is now so low that you have to play with the screen contrast to read the comment. Does it enhance the quality of Hacker News when we can't read a side of the argument? This is judgmental crap, not mature debate.
As a new landlord in San Francisco, you want to get rent control abolished so that you make lots of money. But of course when you bought your property you knew it was rent controlled and what the rent control price was, so if you do own rent controlled buildings you should have known what you were getting into.

Rent control does not really affect growth of housing, because new housing is almost never rent controlled. Furthermore, abolishment of rent control would also create a lot of inflation in a city because a city cannot function on engineers only. And once low income people get forced out of town they will want more money commute to the city.

So it is not such a black and white issue.
The true simplicity actually lies below those abstractions.

It seems reasonable to assume that people would not buy Apple products if they were too difficult to use.

It seems reasonable to assume people do not buy them for ease of use. Other competing systems are also easy to use. It seems reasonable to assume they buy them because they "look cool", much more so than any competing product.

It seems reasonable to assume the initial attraction to Apple products is the hardware design, not the software.

But none of this can be proved or disproved unless Apple were to unbundle the two and hackers were allowed to write software to run on the bare metal, not necessarily on top of Apple's development platform.

If Apple is afraid to try this then it shows they have something to fear. It shows they feel the need to exercise command and control over how users use Apple computers.

Apparently Apple's hardware design patents are not enough.
"Because the Xfinity traffic is mapped to a different DOCSIS service flow when prioritized, it is exempted from the downstream rate limit, so my total bandwidth usage stays consistently higher than my service tier would normally allow."

And? So what's the problem? That's sounds exactly right to me: The xfinity traffic runs over and above any bandwidth limits you have for your regular internet.

i.e. using xfinity has zero negative effect on your regular bandwidth.

Was that the point you were trying to make? That comcast is doing this right? Because if you were trying to accuse comcast of "prioritization of traffic in violation of the terms of the Comcast/NBCU Consent Decree." then your post proves exactly the opposite of that.
Are you sure that is true on Android? I don't remember where I was first told about this issue but the app does request read and write contact data permissions, https://play.google.com/store/apps/details?id=com.facebook.k...
The quantity demanded is a point on the demand curve. Yes, the demand curve remains in the same place. However, the point at which it intersects the price ceiling is at a lower price and higher quantity than the natural equilibrium. If you're forced to sell something at a lower price, then there will be more people willing to buy it.
Yes - completely unreadable on an iPad for me, alas!
What do you mean with architecture? App architecture? Hardware?

Each framework has its own (software) architecture. When it's bad, it can ruin the scalability of your apps.

So when someone says "Framework A scales, B does not", he means "Framework A is well architected and won't cause any bottlenecks by itself", and the opposite for B.
They're Not 'Orphan Works', They're 'Hostage Works'
Raising more money means giving away more equity. If you think your company is going to get a higher valuation later, it makes sense to raise a smaller amount now and then raise again later when you get more $$$ per % of equity.
Ha, almost makes me feel bad that I made a throwaway a/c for this. Thanks!
"demand curve remains in the same place" = no change in demand
The article is correct in honing in on the carrier and 3rd party firmware add-ons tacked onto vanilla Android releases (e.g. ICS).

Carriers rarely develop their own firmware extensions/skinning. They manage the process through specifications, where marketing will provide skinning assets and custom specs. In-house carrier developers rarely/never get to touch the device.

RIM was a notable exception to the rule where carriers gave them the flexibility to download firmware updates directly to the device, provided they didn't interfere with the minimal branding and custom apps.

Apple came along and forged a deal that all carriers hate. Although carriers may enjoy the increase in ARPU, carriers in general hate dealing with Apple; whether it's the T&Cs, scrambling to get device shipments in on time, or general Job-sian brashness.

This is all known history. What people forget is that carriers are typically large enterprises that are very slow to change. Most are probably still using old (i.e. existing!) binary terminal release processes. I call it 'binary' because they are either in complete control ("code to my spec you powerless device OEMS!") or at the mercy of Apple ("hey XYZ carrier -- my way or the highway"). Notice that in both of these situations, there's very little leeway for maneuvering.

Android comes along. Carriers hate Apple's way of doing business. Brain-dead analysis shows that Android didn't have the brand cachet that iPhones had. So naturally they wanted to re-exert their control back into the process.
Unfortunately, the only way they knew how was by (probably literally) throwing the book (read: terminal specs) back to Android OEMs.

And so, you now have the current situation of:

1) Fragmentation; and
2) Slow firmware updates.

Carriers don't have the funding, organization and/or willpower to subsidize firmware updates.

The upgrade process for the OS on a smart phone should be multiple times over the course of a year and yet it seems that there is often only a single update.

This sentiment echos a portion of Android consumers. Yes, it's a big problem. But the rapid plethora of devices released by Android device manufacturers demonstrate that they are also operating using old processes and risk-benefit models because they simply want to sell as many devices as they can to carriers.

In short, the article title is misleading: everybody in the mobile ecosystem is responsible for the fragmentation, mainly for what I see as large organizations unable to change their terminal approval and release cycles enough to cope.
Good thing I don't live in the SF Bay Area. I would be way more regretful if I lived there, 'coz it would be a double blow.
I think the majority of the outrage stems from Zee's response to this situation, and less from the actual plagiarism itself.
I love movist. http://code.google.com/p/movist/
Udacity's course on programming languages (CS262) explains State Machines, among many other things. Their teaching format is genius. Highly recommended.

http://www.udacity.com/overview/Course/cs262/CourseRev/apr20...
Apps iTunes Should be Split Into
I don't think the author understands what "Uncanny Valley" means. I get the pun, but its not apt.

http://en.wikipedia.org/wiki/Uncanny_valley
It's not much different than in Seoul, Manhattan and central Paris.
You're an entrepreneur whose job is to build things for people and you live a comfortable lifestyle.. do you have any idea how many people around this world would kill to be in a position like you? I don't see why anyone (including yourself) should feel sorry for you. Life doesn't owe you anything and here you are moaning about a little more money in the bank. If you keep living in regret and under the shadow of your past, you'll never live up to your full potential; then in the end you'll realize how much time you wasted getting hung up on money when you should have been enjoying life doing the things you love.
I use flipboard to read and post on facebook. It's divine.
>>I'm honestly amazed that this is crawling up Hacker News quite frankly.

This may be an indicator that you're in the wrong. Just a thought.
I had a problematic driver state, where hibernate stoppped working. I put up with it for more than a year. Then I bothered to reinstall win 7. And I am amazed at how useful hibernate actually is in my day to day life! Also pressing the touchpanel and deactivating the wifi module use to kill the machine :|

I blame Dell for this issue though, not win7.
India Hockey Squad For Azlan Shah Cup 2012