skysight-inc/HackerNews huggingface dataset:
There already are projects that run C++ code in the Linux kernel; the Click Modular Router from MIT PDOS is C++, for instance. It's probably prohibitively annoying to write mainline kernel code, like a device driver, in C++. There might not be anything to prevent you from loading a whole C++ subsystem, though.

I'll head some other commenters off at the past and note that MacOS X xnu has a C++ device driver interface, but is still a C-code kernel.

Linus is right about the exception handling and allocator issues. C++ exceptions are a misfeature in userland code; it's even more important for kernel code to be able to handle problems gracefully and explicitly, and unwinding stacks through functions running at different interrupt sensitivities and holding different locks seems like an disaster waiting to happen. And, unless my C++ has gotten rusty since Alexandrescu's book came out, nobody likes the C++ allocator interfaces --- which you'd certainly have to dive into to handle the kernel's various different allocation strategies.
I just recently migrated from a late-2006 MacBook Pro with Leopard to a shiny new ThinkPad T500 with Ubuntu Jaunty. I'm actually impressed with how well Linux on the desktop has matured over the past few years (I experimented with Ubuntu in late 2005 and it was nowhere near as refined as it is today), moreover, how easy it was to get everything working as seamlessly as it did on the Mac.

Granted, in terms of user interface (among other things), OS X is far superior to Gnome; however, aside from the gorgeous design of Aqua, in terms of actual day-to-day usability, they are pretty much on par with each other (at least as far as I'm concerned).
I don't know about impressed, but I'd say "pleased." It emphasizes the less-than-secret fact that there are fewer "gatekeepers" now and that serious PR is within the reach of more businesses than ever before. That's an awesome thing - never before has PR been so meritocratic.
Resumes at dawn!
None. I've got enough of them. What I need to get better at is maths, signal processing, and graphics. Chiming in to reject the idea that we should spend our careers churning through languages.
Thanks, I'll definitely give that a try. I have 2g of ram on my macbook, and usually only allocate 512 mb to my XP VMs.
I'll provide anecdotal support. I've seen a huge increase in the number of normal Japanese people (not expats, etc.) with iPhones in the last 6 months.

When it was first released here, it was pretty much only the foreigners but something shifted.

More and more Japanese people that I speak with say they have a hard time even considering anything else but an iPhone now and, to be sure, the Japanese handsets look pretty boring in comparison. That is not an easy feat considering the head start the Japanese mobile market had before the iPhone arrived.
A few months ago Python, decided to jump the gun to learn Common Lisp and Scheme.
one that targets the best and brightest around the globe and makes it easy for them to become permanent residents. We should be recruiting the world’s best talent the same way top companies recruit the best talent.

No! Google ostensibly hires all of the "best talent" in the industry, yet what do you see of it?

If the government takes on some policy of allowing the world's "best and brightest" to immigrate, you're not necessarily getting the people who would have produced the most value. Instead you'll get people who have tons of qualifications and degrees.

Let's say France had this same immigration idea back in 1980. Would Bill Gates have been considered one of the brightest and greatest and allowed in? No. Would Larry Ellison? No. Would Steve Jobs? No. It's next to impossible to pick out the true people who provide value before the deed is done.
Although it does me little good at the moment since HN's text area is a mere 6 lines, I'm posting this from Opera's fullscreen mode which I use quite frequently.

While few applications on any platform seem to support this kind of true fullscreen mode, I use "almost fullscreen" windows all the time: on OSX the green orb in the upper left corner of every window acts as a toggle which maximizes the window or returns it to its original size. I say "almost fullscreen" because the omnipresent menu bar and window decorations remain visible when you work this way.
I concur, it is a natural force. We have an instruction that says, "let's see how far we can take this" until some force or law stops us.

Think of something crazy to do right now... someone has done it. Because they took it too far.

"No man is good enough to govern another man without that other's consent. " -Abraham Lincoln
If you stop doing what makes you feel alive, you will die. Making a huge deal or saving/earning a ton of money are some of the most exciting things you can do, as long as you don't lose perspective. What can I say, I'm a shameless capitalist.
Linus on C++:
http://article.gmane.org/gmane.comp.version-control.git/5791...
Most people believe in the game -- they really buy it on a visceral level. That's true for the rich and poor alike -- it's the rare soul who "gets" that it's a fun house, and still chooses to participate. It's just a ride as Bill Hicks used to say... but most people don't get that, even if they drive a Rolls.
The Reality Of PR: Smile, Dial, Name Drop, Pray.
I'd say the exact opposite. What is the point of replacing the conflicts with C++? Torvalds makes a very good case for not using C++ in the Linux kernel. At the very least, it seems like hiding memory allocation in kernel level code is a recipe for disaster. Of course, one could argue that you can use malloc in C++ just as well as in C, but then are you really writing C++? It seems as though you're writing C code in C++. In fact, many of the language "features" that C++ offers seem to be Very Bad Ideas(TM) in the kernel.

In addition, as Linus responded earlier, anyone who has written a modicum of C code knows that you don't need the complex language features of C++ to write modular, object oriented code (in fact, I'd argue that C++ is a blight upon OO and should probably die a horrible death, but that's neither here nor there).

Most notably, however, is simply that it is not the Linux team's responsibility to defend their use of C over C++ -- given the amount of code that must be adapted, it is more appropriate for the C++ devs to argue what heavy benefits C++ has in its favor (such that they merit the transformation of a complex and significantly large body of code).

I would actually say the C++ dev's view is more political than technical: advocating the switch to C++ "just because," implies a political (or religious) reasoning, while the Linux team's view seems much more technical.
Hm, have you tried any other VM solutions? Any killer feature VirtualBox had over them for your use? Apart from being free + open source, of course!

Just wondering what would make VirtualBox "fantastic", VMWare et al are already pretty good...
Vim implements it's own 'insert' style functionality. I have no use for it. Never really did even before vim.
"it's appalling how freely people joke that they're bad at arithmetic, when they wouldn't joke so freely that they're bad at, say, being able to read."

When most people say they're horrible at math they mean they're horrible at the analytical mindset it requires. People don't say they're horrible at reading, neither do they say they're horrible at basic arithmetic.

What people do say is that they don't read for fun on their own. I know people like that. They simply don't have the mindset needed to sit and read through a book just because they like doing it.
It has page up and page down. This (http://cache.gizmodo.com/assets/resources/2007/07/imac-slim-...) is the keyboard I'm referring to. Still, I don't ever use those, vim supplies plenty of navigation methods that can be used from the home-row.
In the US, citizens don't have to pay bribes, perhaps with the exception of getting government business. You don't have to pay bribes to get a marriage license, get a crime investigated, get your garbage collected, get fair treatment in court, or get your child admitted to a good school.

Larger-scale, more obscure corruption thrives. Everybody knows that most political campaign contributions are made with the expectation of a return on investment. If you're an ordinary citizen, though, you don't have to worry about being shaken down by a bureaucrat or a traffic cop.
I'm really displeased with the comparison to a country. Saying something about the percentage of people in the world that have signed up, or the growth rate is okay, but the choice of where to live is pretty substantial compared to signing up for a website. It's not like other countries are losing citizens when somebody signs up for Facebook, and it's not like people are spending their entire lives on/in Facebook either.

Another intellectually dishonest number I hear Facebook recite is the number of developers. They get this number from the number of people who have installed the developer application. In the first year of the platform, that was 400,000. I know numerous friends who know nothing about programming that installed the developer application in that first week because they didn't know what they were doing. They recite this figure as if hundreds of thousands of people have devoted their lives to making Facebook applications. Sorry to burst someone's bubble, but it just ain't so.
I use Linux exclusively. I did try OS X before (I have an iBook), but I just couldn't get into it. Linux users trying OS X have already commented on problems with window managers etc, so I won't repeat what they've said.

The real thing is that I just can't stand about OS X though isn't about practical like not being able to get a certain application or type of application working or anything like that (I do generally prefer the applications I use on Linux to their OS X counterparts though). It's simply that it's non-free, and the whole ecosystem of software for it is generally non-free. I know lots of Mac users and this doesn't seem to bug them or occur to them at all.

When I first turned on my iBook, I have to tell it more than once "no, I don't want a .Mac account". When I start iTunes, and possibly other applications (I just remember iTunes specifically), I have to click "I agree" to a license agreement. There are lots of really trivial bits of software which you'd get with `sudo apt-get install x` in Linux but the OS X equivalent is some sort of shareware crap... I found this to be particularly bad for tools that convert between file formats.

Am I just crazy or does this not bother anybody else that uses OS X?
Cheney and Bush have strong ties to many of the corporations making money in Iraq as a result of the conflict.
Weird question, what's wrong with C? A simple, elegant, efficient language that is close to the metal.
Ruby, Scheme, C++. C++ I am learning for about six years already, what a fucking complex language :)
It's usually a mistake to say never about technology. The future is very long. Your correspondent would have done better to pitch this as an argument about why flying cars are harder than people think, and say precisely what would have to happen to make them work.
hmm not sure why this was modded down.

Do you really want to do a startup in which you are the main investor and employee? Seems like you would be better served letting the money work for you in the stock market while figuring out ways to self-fund with current earnings or outside investors. Having your own wealth as a backup plan will give you more negotiating power, but it doesn't necessarily mean you should be filling all of those roles yourself.
If you're in business and finance, then you already know about the miracle of compound interest. Take at least $50K of your money ($75K would be better) and put it into any sort of interest-bearing account - stocks, bonds, government-backed securities, anything that pays a pretty good interest rate without being overly risky.

At 6% interest, your $50K makes you $1.6 million in 48 years. Considering that that interest rate is on the low end of the spectrum, you should be able to do much better. Just treat the money as if it isn't there, and you have a guaranteed retirement in the future when you'll need it. From there, you can simply take as many entrepreneurial risks during your productive career as you'd like w/o having to worry about catastrophic failure. Good luck!
With... automatic memory management? What? That's the last thing that I think would help.
There is probably a huge market for detection algorithms for a real person to a fake person.

Facebook is also becoming a gaming platform, but the problem there is that users are given stuff for adding more friends. This has an effect on such games as Mafia Wars that people create numerous fake accounts to setup attacks and gain loot.
I believe it's called confirmation bias. It affects pretty much all religious people but also many people like Pavlina.
I haven't learned a new language for a while now. Perl/Java/C never fails me and I'd rather learn a new trick than another way of doing an old trick. I am learning about modern large-scale Internet service design, running hadoop clusters, distributed logging solutions, virtualization, ad-hoc radio networks, radio propagation, sensor fusion, intelligent transportation systems, etc. (for startup and PhD)
Agreed, although I am still learning new things about Haskell (but that's because it's still under heavy development in certain areas).
I'm learning Scala for the same reasons. I'm also working with my professor on building a scala web framework to do stuff for which Jave EE is usually used. Whatever little I know about Scala, I love.
Ask HN: Please rank programming languages by how well they provide OOP support.
Is Smalltalk the best? Is Perl's Moose better than Python's built-in OO? How does CLOS measure up? Where do C++ and Java land on the scale?
Planck achieves ultra-cold state
The OP asked about what you are currently learning. Many folks may actually be required to learn it for their job, rather than for professional enrichment.
I live in India & I agree - there is horrendous amount of corruption. And the unique identification number project might not change anything when it comes to illegal immigrants, terrorists.

However as the article highlights this would give me one power for which I am okay to bear the grunt of privacy issues: I can (at least proactively) ensure my identity is not misused & if it is, I can at least be aware of it - stop it & probably dig in more.

Right now I have a ration card which is particularly necessary to get a cooking gas connection (which btw is of scarce availability - again corruption). There might be a person living at my native or hometown who is aware I am not availing the facility and probably using a duplicate card or something. There is no system to quickly check if this is happening. With the new initiative I hope it would be difficult to duplicate & easy to track. At the least these processes will get digitized the right way, given Nilekani is heading it & not yet another uneducated/ corrupt politician.

Edit: phrase correction.
Ok. That covers the rest of this weekend anyway. :)
Bidding is often not a bad idea, as it does help to uncover the "true" value. But it's not the solution to the H1B program. That solution is simply to let any and every qualified person into the country -- indeed court their attention and residence. Anything else is selfish, chauvinist myopia.
Is Smalltalk the best?

Define "best".

Is Perl's Moose better than Python's built-in OO?

It is more complete. Better? Maybe, maybe not. It's very nice, though.

How does CLOS measure up?

Measure up to what? Other LISP object systems, or Smalltalk, and Moose, and Python?

Where do C++ and Java land on the scale?

On a scale of 1 to Verbose, they're pretty far up the scale.
I'm not saying there is anything wrong with making money - it's the single minded pursuit of it which I think is unhealthy
I'm learning Scheme with SICP after a failed attempt at picking up OCaml. I didn't make significant progress beyond writing toy OCaml
and was experiencing some serious culture-shock in my first foray into the functional programming world. After some floundering it became clear that I needed a better introduction to the functional programming mind-set. Purchasing SICP turned out to be an excellent decision.
Might be quite fun if you automatically got Hatsby'd/Trouted when you initially signed up to AIM, as an intro to the service - instead of the 5 or 6 complimentary spim-vertising bots you get on your brand new buddy list currently.
Sure, squint hard enough and it's the "precisely the same." Being in a virtualization/utility-computing job for the last five years, I've heard this kind of quip over and over and I agree with it on the surface but it's true only in the most general ways.

I guess I was not specific enough above with simply saying "remote virtual machines." With a credit card almost anyone can rent thousands of machines programatically (with redundancy across multiple datacenters if you want) and be using them in minutes. And make them go away just as quickly. And construct the VMs themselves programatically or by hand on a laptop. And the people renting out the hardware don't need to even trust you. All of this is a new development that changes the way business is done. Like I said above, you can say everything is "just" logic gates plus electricity and claim nothing new ever happens (and I'll agree with you, too, I just won't think the conversation is going anywhere interesting).
Professional Services Automation Software - PSA software by Tenrox.  
Professional Services Automation Software - PSA by Tenrox focuses primarily on managing billable work and teams. Tenrox PSA software automates project initiation, resource management, time & expense reporting, invoicing, & executive dashboards. Tenrox offers more than just a Professional Services Automation software ( PSA ) offering its modular, online project workforce management tools help service organizations to obtain real-time information on project status, issues, risks, and schedules for successful project management planning and delivery. Tenrox Project Workforce Management for Service Organizations is a workflow-driven professional services automation solution with configurable billing & cost accounting, and certified integration with CRM, payroll & accounting.
Baby Language
Yes, that's what I suggested, actually.
Also, note that you can use Spotlight to do fast app switching, just like Launchbar or Quicksilver: just type your Spotlight search shortcut (mine is control-space), type the first few letters of the app name, and hit return.

It's good enough I gave up on Quicksilver. I never used the fancier features.
It might not be helping GreenPrint that they have an excellent long standing and successful direct competitor in FinePrint:
http://www.fineprint.com/products/fineprint/index.html

I used to use FinePrint back when I used Windows and it's really quite good.
I have a few Mac's and I run VM's on them with Ubuntu and OpenSolaris, I also have Windows XP available on a VM, but I have less and less need to use it.
I had predicted here ( http://cycle-gap.blogspot.com/2009/06/all-honourable-men.htm... ):

"As the good old days of inflated head counts and billing rates comes to an end for Indian outsourcing companies, the big outsourcing companies will bid for, and push for huge local government projects."

It's amazing how uncritically such huge projects are treated by the press in India - privacy issues, potential conflict of interest for the person leading this effort (Nilekani). Public discussion in India in general is very worshipful of proposals like this or the usage of voting machines - there is little to no discussion of the meta issues like privacy, corruption, etc.
Linux seems to be a development "Just Works" environment, e.g. apt just works, and getting dependencies is simple, or at least reliable.

On the mac getting libraries can be painful with MacPorts (I don't use Fink, does anyone know if it's better?)
Why I see people talking about OSes a written in high level languages a lot lately?

Remember the C# one came on HN? http://daeken.com/renraku-future-os

I think an OS written in an OO language will demonstrate why some people were actually worried about OOP. http://www.geocities.com/tablizer/oopbad.htm
What's wrong with Gmail on the Mac, the experience on Windows is identical

(practically)
That concludes the talk.
What happened to everyone's sense of humor today?
Me too - oop I understand - gotta get a grip on procs and lmbadas.....

Best language I ever used and I was programming in Fortran iv on 80 column punch cards in 1972...
Twitter + World Of Warcraft = Tweetcraft
Actually we would need 2 set of numbers from PG.

[1] ycombinator visitor OS breakdown

[2] ycombinator visitor OS breakdown of people who actively contribute by voting/comments. (note intentionally avoiding the ones who post)

Given what user ratsbane reports (above) - windows 46% & mac 38% the gap is not big. So it could be like among visitors the breakdown win-(mac+linux) is like 60-30, then among ones who check out articles 45-50 and among ones who contribute it is 30-60.

Additionally it might be the case looking at comments people vote on both mac & linux as they use both and at same capacities.
How To Market iPhone Apps And The Black Swan
Sadly, I get the feeling that the FAQ - or, at least, this version of it - has been badly neglected. Many of the answers were written quite a while ago, rendering the answers misleading or just plain wrong. Many of the answers refer to 2.4 as the current "stable" kernel, dating them to 2004 or earlier.
It seems more likely that OSX users (like me) are much more interested in a "what OS do you use?" poll versus a "Microsoft product blogpost" story.
Manual memory management is also possible in D (http://www.digitalmars.com/d/2.0/memory.html).
Ah, I didn't realize such a page existed. Since I sorted the "top domains by points" list, I suppose that filtered out any domains which had very few submissions with a high average.
1. Real estate is generally more attractive once you add the concept of leverage.

2. Buying single family homes retail and renting them out is typically difficult from a cashflow perspective, especially in desirable urban areas. You might be better to try multifamilies.

3. Many would argue that a wide disparity between the sale price of a property and the ROI for that property if rented has historically been an indication that the price is unsustainably high.

4. In general, investors also look for returns through appreciation, amortization, cashflow, and tax advantages.

5. In spite of all of this, the situation is worse than you imagine. The industry-wide operating expense ratio for real estate is close to 50%, something new investors often have trouble believing. Taxes, insurance, vacancies, management, maintenance, etc. all adds up. A good rule of thumb is to take your gross scheduled rent and divide it in half. This is what you'll have left to pay the mortgage.

There are tons of great books on real estate investing, by people who have built fortunes of millions actually doing it. It's definitely possible, but not easy.
The iPhone may be the top selling "smart phone" in Japan, but it is far from the top selling mobile phone. According to http://wirelesswatch.jp/2009/05/14/top-10-japanese-mobile-ph... the iPhone is not even in the Top 10 of all phones sold in Japan.
There might be hypocrisy, but I suspect that is not the case. It is possible that the A player 20% he encounters is enough to make him feel like the value he gets out of working at HP is greater than the value he might get going somewhere else. Not all the value one derives from an employer is in the form of currency.
Cool :) What is his name?
When he says "valve" does he mean diode?