skysight-inc/HackerNews huggingface dataset:
Your PHP example is possible to write in a way that is nearly identical to the C# you provided. Why are you prefixing Namespace\MyClass(); when you declared your namespace scope in 'use \My\Namespace'? Your assignment can just be:

$var = new MyClass();

This brings it pretty much in line with your C# example. Have you read the PHP docs on namespaces?

http://www.php.net/manual/en/language.namespaces.basics.php
Yeah, that makes XSS a 'feature' here. Though it is a bit scary to click a button that is going to shove completely unfiltered HTML into your browser that you can't inspect ahead of time :)
Yeah I don't think there's many small business out there that will be setting these kinds of things up without the help of someone like TellFi.
The fair criticism of Stallman is that he is absolutist, idealist, extreme, and uncompromising. Whether those things are positive or negative is really up to how you feel about the relative importance of Free Software vs. other issues.

I am personally willing to compromise quite a bit on the free software issues for other gains, but I think the "right to read" consideration for consuming materials other than code are less ok for compromise. I use and enjoy facebook, but look at their motivations and culture as a company before deciding how much to trust them.

I trust the people at facebook a lot more than a lot of companies, so one of my main concerns with facebook is that third parties might purchase, steal, or compel access to their data to use against users (e.g. Corrupt governments).
And a refurbed iPad 1 is $349 from Apple, $399 new, as long as they last. Presumably, they're still making a profit.
It's worth noting that most of the country is wired for electric lighting; the issue since the fall of the Soviet Union has been fuel shortages. The Soviets used to sell them fuel and energy for practically nothing.
thanks for sharing. the rest of the set is here - http://www.flickr.com/photos/28634332@N05/sets/7215762518833...

amazing photos
Comments which complain about articles polluting HN and say nothing other than that the commenter is flagging it are polluting HN, and are against the guidelines:

"Please don't submit comments complaining that a submission is inappropriate for the site. If you think something is spam or offtopic, flag it by going to its page and clicking on the "flag" link. (Not all users will see this; there is a karma threshold.) If you flag something, please don't also comment that you did."
Asterisk doesn't suck! I setup a pbx for our own small biz many years ago - I think it was asterisk@home edition or something way back then. I upgraded a couple years into it and that thing ran, without a problem, for the duration of our business - 6 years. The only time that box went down was when we had power outages.

The business was phone intensive, handling hundreds of inbound and outbound calls a day. I love asterisk. Sure, the config files aren't the best to work with, but it wasn't that hard. I put it up on an old P4 machine and just let it run. Amazing really. The FreePBX app (that I upgraded to) made it really easy to do everything a PBX should - and this was YEARS ago.

I then worked with asterisk again a few years ago when doing some consulting for a call center. This time, the front end was vicidial. Again, asterisk was rock solid.

Not to be defensive - but it just doesn't suck. It was way ahead of its time in my opinion. It WORKED! I am reasonably confident it is the underlying infrastructure that twilio uses too.
Grandparent's point is that you haven't held everything constant.

Hunter-gatherer types don't have a home. If you are willing to go homeless, you can live for $15-20/day in most cities. That's less than 20-30 hours of work/week in most places.

Hunter-gatherer bands also have a total mating pool measured in the half dozens. If you restrict yourself to fellow homeless people, you're likely to meet a similar number of women, all of whom have roughly the same social standing. The problem is not that there are no mates available, it's that there are no mates that you want available.

Your point that people tend to measure themselves relative to people around them is true but orthogonal. If you hold living standards constant, you can achieve them with a lot less work today than you could at hunter-gatherer tech levels. It's only because living standards are not constant that people have a tough time earning a living.
Sounds a lot like what Twilio is offering with their OpenVBX. I am not sure how much statistics tracking is available with Twilio but you can host the service (I don't recall if they provide some hosting plan).
Additionally Twilio OpenVBX is opensource.
About time. Let's see what happens when Google finally starts taking social serious.

Now where's my Google social graph?
Haha yeah I had a feeling people who saw the original would doubt I created the new version. I had a number of people respond to my previous revisions telling me to hire a designer. I never bothered saying "I can do it myself" because I figured I'd let my new design say it for me. My original design is very misleading regarding my abilities... I was just trying something different but it clearly didn't work out.

I'll definitely let your suggestion about the sight-seeing confusion twirl around in the ol' noggin. Thanks! :)
But it wasn't to be.

I see what you did there.
Outputting javascript code instead of something parseable (json probably) seems like a very bad idea. Are you really willing to eval code from a site outside your control?

A simple line-by-line regex loop should be enough to parse this though.
Interesting. Could a better-than-O(n) parallelisable tuple space be implemented with something like skip lists?
Chrome:

Ctr+T | "wi" | <TAB> | Topic

Ctr+T | "the" | <TAB> | Torrent

Etc..
Tuple spaces seem to have morphed into routers and filters for message queue protocols.
I'd fix K-12 before we make K-16 the default. You could easily learn fit the amount of material in a K-16 education into 12 years if those 12 years weren't just a matter of putting in time without any real focus on learning the material. Let's improve quality of education before increasing quantity.
Theory != practical. It takes picking up the phone and face-to-face meetings in my experience.
Agreed.

Also, what happens if there is a leftover balance on the meta-gift card? I get a $100 meta-giftcard from a friend and use it to buy a $50 best buy gift card and $40 home depot gift card on CardPool. Then, I am stuck with $10 balance on my meta-giftcard. Can I sell my meta-giftcard back to CardPool? Weirdly cyclical?

I would rather give someone cash and tell them about CardPool's service. That way they can use the cash to buy a $50 Best Buy gift card on CardPool (for the discount) and then they are left with $50 in cash which can be spent anywhere.
He's factually incorrect to say that Java is deficient as an OO language because it doesn't do mixins or multiple inheritance. Smalltalk is the archetypal OO language and it has the same Single Inheritance + interfaces mechanism that Java uses. Also, the specific case he mentions can be solved by using an Abstract class (or an Abstract class implementing an Interface, if one prefers)
OTCA metapixel - a Game of Life pattern that runs the Game of Life
Agreed. If I was forced, or even prompted, to tweet before watching a video, there's a very strong chance I'd just close the damn tab. Don't force me to promote your content before I have a good reason to.

Seamless tweeting mid-video seems pretty useful, though!
Bradley Manning Charged With 22 New Counts, Including Capital Offense
I like this idea. It would be handy on dev machines, and I would use it.
Ok, to be honest, Asterisk doesn't suck. It's used by thousands of companies and not all of them are miserable with it. However, hundreds of inbound calls a day is not what I call intensive. Hundreds a minute and suddenly Asterisk begs for mercy. It doesn't thread to multiple CPUs. Hell, the architecture was so awful one of the main programmers quit and wrote FREESwitch.

Honestly, it probably performs worse on computers these days as GHZ has been going down to make room for multiple cores. For a small business with plenty of time, not too many calls, and not a ton of money, it's not a terrible solution.
Similar issues came up for a lot of apps in the move to XP, and they wound up implementing a 'shimming engine' that would modify behavior of system calls for different apps to provied bug-for-bug compatibility.
I didn't find the article to be confusing.

As it explains, Apple is the arbiter of every application that appears on the App Store, both internally or externally developed, creating a situation in which 3rd party developers are loosely similar to internal teams at Microsoft.

Microsoft never tried to be gatekeeper of what could or couldn't be published on Windows, thus it could only control the fate of its internal apps, whereas Apple can control both internal and external apps equally, thus the loosely parallel situation even though in Apple's case their strategy tax can be used to kneecap external developers just as much as internal ones.
As a PHP newbie many years ago jarin's comment resonated with me:

"Hopefully this will end the long-standing practice of novice PHP developers writing code and pushing it to production to test it (or worse, editing code on the production server)."

I was guilty of this because I just wanted to start writing code, not shave yaks for an hour to get Apache and everything else installed.

Rails definitely got this right, I doubt it would be nearly as popular if it weren't so freakin easy to get started on the tutorials. Not that PHP has a popularity problem.
Green on red... wow :)
Definitely less consumer-focused than the west coast, but off the top of my head: Performable, Hubspot, DataXu, Quattro, Millenial, Enpocket, ThirdScreen, Jumptap, Nexage, Akamai, iRobot, Constant Contact, SCVNGR, Neteeza, Carbonite, Brightcove, Skyhook... what am I missing? They all seem to be pretty right now (or recentish exits).
You should read the contract you signed thoroughly instead of assuming anything. You could also be upfront with your employer, bring the contract in, and have it modified before making any decisions.
For "power users", the Xoom should be a clear winner, no? More free customization, tabbed browsing (and plenty of RAM to handle it nicely), and most importantly, it is free to develop for the Xoom from any OS.

As far as cheaper, maybe the Nook Color would be a smarter buy for the "penny-pincher".
The $250 Nook Color has solid build quality and is trivial to root and turn into a full Android tablet.
Biggest issue I had was the idea of communicating data through the actual space which is why message based protocols that handle direct function/method invocation on take are so much easier to deal with and not worry about performance issues.

It sure as shot was fun to play with it in a big enterprise environment for a while though. =)
For a small business, 100's of calls a day is above average. But, to your point, the call center I implemented it at had a configuration that did many thousands of calls a day going OUT of it. Perhaps inbound would be a problem (I honestly don't know), but we had 4 pri's hooked up to it and tapped them out 8 hours a day. For anyone who doesn't know the terminology, this is over 90 simultaneous calls. This involved much more than just placing calls - all the queues, auto dials and answering machine detection was going on at the same time. The server was a proper server - but I believe less than 2k (this was 2 years ago). I should note that Vicidial did have some mods to the core asterisk code to account for some issues - but these are things the average small business isn't going to encounter.

Anyway, I'm not trying to downplay the real announcement here - I think it's a very valuable type of service and definitely something a fair number of businesses need. I just had to defend Asterisk! :-)
A lot I imagine, which I think makes their decisions around WP7 and breaking backwards compatibility even more surprising (although I do agree with it).

I think it's one of those decisions where no matter what choice is made someone will complain about it.
Ask HN: Co-working "nerd-space" in London, UK?
Hi all-

I have a friend in London (who is not an HN member) looking for a shared co-working environment in London. He just needs a desk, internet connection, and some company from time to time. Any suggestions?

I've already found http://london.hackspace.org.uk ...
Thanks.
I taught myself "programming". By the time I attended university I had written a few small programs/toys.

When we were formally taught Java at university, there were 10 hours of tutored labs available. I certainly didn't need any help to do the coursework, yet I went. I soon found some real hackers, who happily ripped my coding attempts to pieces (in a good way, mind).

When I started work on my first attempt at architecture, I got some guidance from some of the same people. Whilst design patterns were around, these people helped me understand which ones to look at, why, and what overkill was.

When I graduated and started working, I was already a "better" programmer than some of my peers, as I had been shown GDB (and hence JDB) by my mentors. However two years in I worked on a project with some talented developers, and again I learned about IOC etc.

Mentors save you a lot of time and energy. They are present in almost all trades where you have apprenticeships, and I for one know I thrive in that sort of situation - the one where I am challenged by someone who has been there before, who forces me to back up my designs/arguments by reading directed texts.

If I hadn't had them, I'd have found my own path. But I'd have spent a lot of time wondering somewhat aimlessly, reading semi-useful books cover to cover (yawn), and screwing up projects...
What framework are you using for PHP?
My favorite part of this experiment is that he tested with Monkey Island. Go Guybrush!
God I hate this in-text advertising thing.
Read the contract and talk to a lawyer. Sometimes there are things included that the law won't support. Sometimes there are terms that look innocuous which, when taken in context of state law, aren't.

Yeah, it is a mess. That's why they have lawyers.
It's funny, I submitted this in non-blogspam form this morning and it didn't get nearly as popular: http://news.ycombinator.com/item?id=2279618

I wonder if it's just luck or timing or this guy using spambots to upvote his submission.
Quite an achievement. And we are all the richer for it when these things go smoothly.
Btw, Linda's name was "inspired" by Ada. Except instead of using a famous female mathematician (Ada Lovelace), he used a famous female pornstar (Linda Lovelace): http://en.wikipedia.org/wiki/Linda_Lovelace

Edit: Reference: http://c2.com/cgi/wiki?LindaEtymology
That's the point; the PHP doesn't compile without the namespace prefix. In fact I just tried it to make sure I'm remembering right.
What do you do if you have an original iPad? How do you solve the iPad's ergonomic problems then .. ?
emc, mathworks, nuance, avid, ITA, unica, sermo, aislebuyer, endeca, tripadvisor... reddit (started in somerville), and i'm skipping the entire biotech sector -- i think we're just more hardcore out here due to the shitty weather ;)
Well, I guess it comes down to personality and level of what you're willing to do yourself to save some money/save yourself some time.

In my case, some simple scripting provided all the functionality this app provides. It probably cost an extra ~20 minutes of my time over if I had gone with TellFi. I chose python, since I'm most comfortable it, but I could have done it with a variety of languages. Their support is so good, and the scripting is so simple, that it really only requires a minimal understanding to get it all working.

I obviously could have gone with Asterisk, and saved even more money. It would be "a few days" of work, however, not about an hour. I'm just saying that, to me, it's not worth that much work to save such a small amount of money/month to start that far back in the chain, whereas it is worth an hour of my time to save some money and potentially allow myself more control/functionality in the future.

I'm not saying that TellFi is useless—I'm just saying that to me, the value proposition over something like Tropo or Twilio is not clear.
Hmmm. C is my first favourite language and still one I love a lot more than C++, but the criticism of VM languages is churlish. You don't loose all performance by coding in Java, and yes, it starts up a lot more threads for a simple task, but you don't fire up java to do 'Hello World'. The right tool for the job?

That said, I really love C's simplicity. K&R is tiny and that's a good thing. Ironically, that's why I also like Java - it's a simple language, like C, it performs well, likes C. Ruby, Python et al are simpler still but unfortunately performance is an issue for me. LISP is another favourite (NOT for simplicity - Scheme is better there) but for thinking differently. Very valuable.

In the end, I think we all need to know different ways of doing things and running down other languages is kinda lame. Unless it's VB.
By having 12 million concurrent peers on their tracker, aren't they pretty much de facto centralized even if the protocol is theoretically decentralized?

If The Pirate Bay disappears tomorrow do all of those users just switch over to another tracker? Very likely not. They'd just wait around to hear about the next Napster->Kazaa->LimeWire->Pirate Bay from their tech savvy friends, remaining mostly oblivious to the technology being used under the hood.
8 Studies Demonstrating the Power of Simplicity — PsyBlog
It really felt like a forced analogy because the two situations are much different in practice. To have them be the same, Apple would have to be crippling their internal applications and services at the benefit of the external ones.
Terror Arrest Does Not Justify REAL ID Revival
You also got EMC in Hopkinton which is a little outside Boston.
I rather liked the Grim Fandango's mechanism for solving this problem; Manny would turn to look at an interesting object when he walked past it.
180 days of gray a year
Ambition is a personality trait, just like laziness and motivation. Your definition of the word is hella nonstandard. You can have internal ambition without there being a noticeable external effect, due to things like lack of opportunity, poor health, children, ignorance about what opportunities are present, and so on and so forth.
Wow - worlds better. One thing that strikes me is the logo... maybe it's a style preference, but the overlap distracts me. I would keep it that size and make the white top bar bigger, or shrink it a bit, so it doesn't overlay on to the middle. Also, on your features pages, I would try to do something more with the "Get Started Now" button. The color definitely works, draws my eye, but maybe you can offset it from the text more? Feels jammed in there. Should be a solid, set out call-to-action.

Good luck with it! Looks like an incredible improvement.
Umlify: Generate uml from your ruby source files
Base64 is ok when the response is gzipped
I think it still works fine if they are crippling external applications for the benefit of the internal ones. Which (as the article mentions and as anyone who has paid attention to the situation already knows) they have been doing all along.
About Essay length
Although there are two types of essay lengths which are the short essay and the long essay, the academic institute usually prescribes the essay length. Therefore, before students begin the writing of the essay, they should ensure what the length of the essay is.
I still like it. Works for me and my small group of friends and family and I can manage who I share stuff with better than broadcasting everything over twitter. I hope they keep it around.
Doesn't work in the latest Chrome dev channel. Ironical?

No errors in the console. You just get a blank page.
No Windows ME? ;-)
A lot more people use Google Buzz exclusively than you would think.
I graduated from a college in Kenya with a Computer Science degree. I understand OOP and other programming concepts but I feel I do not know enough when compared to my friends in the United States or other European countries. In college we mostly coded basic applications in either Vb.Net or C#. I am trying to become a better hacker by learning JS, C and Python. I am however finding it difficult as I cannot find projects that have bugs small enough for me to fix. I will be glad if someone could point me in the right direction
Move - A programming language
Layton's sold 9.5 million, and Phoenix Wright is not far off with 3.9 million.
On (working) military bases, and some industrial sites, you will still see plenty of crates (often reusable), pallets with built-up storage things for liquids or special purpose parts, and 10', 20', and 40' containers. Plus, barrels. I was surprised just how much bases in Iraq and Afghanistan looked like video game levels.
and personalities to match.
For some reason the new profiles don't render correctly in Chrome. It just shows a white page with nothing on it that is much longer than the actual profile page is. Not only that if you view source, it is all there.

I am running Chrome 11.0.686.1 dev on OS X 10.6
You might be thinking of "Boredom Enthusiasts Discover the Pleasures of Understimulation":
http://online.wsj.com/article/SB1000142405274870339590457602...
I personally think advertisers knowing more about preferences is better than if they know less.

Every day we are exposed to crapload of advertisement that are in no way related to me and what those ads do is only annoy me. But there is nothing I can do, I cant turn off all the ads on Time Square, or pay the TV network to turn off all of the ads on my favorite tv channels, same for radio (thanks to adblock I manage to get rid of large portion of ads on the web).

If advertisers knew that I am a male ( a no secret, nothing I would hide) it would escape me from being exposed to all of the annoying ads of pads, make up, and other women centric products. that only would be a huge relief.
If advertisers knew I am straight ads for gay social networks would not come up on facebook for me.
I can state at least 10 more points.

The bottom line is, as long as a certain lines are not crossed (like diseases, home address, etc.) letting advertisers know more about us could be good.
And I created this one: http://access-training-amsterdam.nl/xyzzy

...abandoned in the desert...
More about Microsoft and backward compatibility is here: http://www.joelonsoftware.com/articles/APIWar.html
"How excited will the stars Twitter seeks to get onboard be when they find out how easy it is for strangers to hijack their identities?"

I had to read that sentence like five times in order for it to make sense.
I'm not exactly sure what punishment he should get, but it's definitely not the death penalty (or life in prison either, for that matter). You know who should get life in prison? Whoever wrote up SIPRNET's network security policies and whoever's responsible for implementing them.
Don't stereotype.
That was my first reaction to - where's Bob?
Eero: Removing the “Slum of Braces” from Objective-C