skysight-inc/HackerNews huggingface dataset:
select a sensible subset of C++,

The issue is picking the particular subset and then getting everyone to adhere to it. That works okay in mature engineering shops such as google:

http://google-styleguide.googlecode.com/svn/trunk/cppguide.x...

So I guess I'd say it requires more discipline than, say, Java. (One could similarly argue that writing good Perl requires more discipline that writing good Python.)

There's also John Carmack's quip:

IMO, good C++ code is better than good C code, but bad C++ can be much, much worse than bad C code.

-- http://twitter.com/ID_AA_Carmack/status/26560399301
Apple Launches Subscriptions on the App Store
For every economist, there exists an equal and opposite economist. Both of them are wrong.
- The First Law of Economists
Sounds like they're changing it in realtime -- when I clicked on it, it was completely SFW (right now, it 404s for me, so I can't confirm anything). Your warning should apply to all of these, as they can be changed at any time.
yes, maemo was great. I used the n770 and n810i ... they were my first mobile browsers (before iphone). A bit slow, still worked like a charm. with airsnort, nmap, mutt etc.
Cross-compilation with the change root environment damn easy. Loved the apt-get install

Sad, sad.
Answer 1 Question and Win Over $300 in Prizes
Day 1: IBM Watson Ties for first on Jeopardy
Isn't that O(Nk), where k is the average word length and N is the number of words. Given an upper bound on k, this is no worse than a trie. Of course, if I've misunderstood that part, then ignore what follows.

In a real world scenario (English language), since words share so much structure, this only grows as O(N). [1] Although the top 1000 recently searched items might not share as much structure, that is a trivial amount of data, even for O(N^2). The storage overhead on a trie is high, especially as many bigrams don't occur in English, so array-based tries necessarily waste space.

You're right that the lookup time is killer though. A ternary search tree gives you a good trade-off – really it's a just a good way to store a trie with less memory overhead.

1. Running the following commands

# wc /usr/share/dict/words
234936
# cat /usr/share/dict/words | sed '{: foo
p
s/^\(.*\).$/\1/
t foo
p
}' | sort | uniq | wc
791089

shows only a factor of 3.3 increase in all the prefixes on a large dictionary of English. For propernames, 1323 words turns into 3612 prefixes, a factor of 2.7.
The following statement made by the Author doesn't sound like a programmer (leave C++ expert alone).

"I think I once managed to read all the way through Stroustrup’s The C++ Programming Language and have looked at at least parts of The Design and Evolution of C++. But I have never done any serious programming in it."

All I can say is, any programmer worth his mettle would make such a statement... Going through Stroustrups's book isn't possible if you're not interested in C++ programming (given that its not part of For Dummies series), IMHO. It is exactly like comparing it to a Novel. A programming guide is not about reading, its about learning.
At least this comment is legit guys, Jon Bradford _has_ been in Timisoara, and Radu Ticiu was a host.

Startup incubators are picking up pace in Europe, so don't be surprised if you get people coming to HN because of them. Make sure they're welcome!
http://httpstat.us/404 seems to dump HTML on my browser.
Complexity is not always directly proportional
to the number of features supported.

This is the difference between Turing complete and Gosling Complete. ;-)
It's only suspicious because the comments are essentially non-specific praise and add no actual value to the reader. They look like cheap shills; if they are in fact shills, that's not exactly inspiring to potential applicants.

There's nothing wrong with promoting the programme here, of course, the weird comments just seem... weird.
There is some decent code in Doom Classic, but it is all C, and I would prefer to do new game development in (restrained) C++

…

I had been harboring some suspicions that our big codebases might benefit from the application of some more of the various “modern” C++ design patterns, despite seeing other large game codebases suffer under them. I have since recanted that suspicion.

http://bethblog.com/index.php/2010/10/29/john-carmack-discus...
IBM should use this tech to one-up the content-scraper SEO junk sites. They should put out sites that are what the scraper sites purport to be and put them out of business.
You are correct about #1 but #2 is way off. Where did you get that assumption? From everything that was said or done about Wave, it seemed like they have no problem with having the data be outside of Google's silos. If they wanted to control it all, why did they want to have it be federated and distributed using multiple variations of Wave or custom apps that speak the same protocol?
I wouldn't be surprised if Watson leaves the contestants in tears this time - not because of some sadness at losing to a machine, but the sheer intellectual drain of a large number of very quick decisions based on intuition - which is what I guess it will take to beat the machine.
BuySellAds does actively seek out advertisers for you - ping me with your site info at todd@buysellads.com if you would like me to take a look and give you an idea of what we can do for you.
If it's milisecs it sure does
+1 for you, 100% correct.
Why we're using C++? Because we're writing 3d graphics
and memory heavy gui applications for the engineering
world. In this regard the combination of Qt and OpenSceneGraph is quite nice.

I really can't understand, how someone can favour C
for C++. Ok, C is the easier language, but the better
abstraction capabilities of C++ outweighs this on a big code base.
The real shame about C++ is that it's the only mass market C-level language with advanced features built on top of it. Don't get me wrong: I agree with the author and his interviewees. I think C++ is a horrible language for the very reasons described: everyone uses a different subset of it and it's hideously complicated.

For a more current view, see Linus Torvalds' comments [1] [2].

What I would like to see is a language very much like C (being low-level) with a few features built on top. What those features are I guess is the real trick.

One thing I like about C++ is the constructor/destructor mechanism. It's very explicit. The trend now is towards garbage collection (which, admittedly, you can implement in C++). This is a trend I largely agree with. It's quicker and cheaper to write software that way (IMHO). But there is still a place for simper schemes as all GCs I've come across have issues.

One thing I think such a language shouldn't be is object-oriented. To quote Joel Spolsky [3]:

> A lot of us thought in the 1990s that the big battle would be between procedural and object oriented programming, and we thought that object oriented programming would provide a big boost in programmer productivity. I thought that, too. Some people still think that. It turns out we were wrong. Object oriented programming is handy dandy, but it's not really the productivity booster that was promised.

Or at least such objects should be very limited in scope. Linus addresses some of the reasons for this, such as knowing which function is being called by simply looking at a code snippet (typically a patch in his case).

When writing low-level code I certainly do much prefer C over C++. But having the tools to build automatic reference counting into C would be really nice at times.

[1]: http://thread.gmane.org/gmane.comp.version-control.git/57643...

[2]: http://www.realworldtech.com/forums/index.cfm?action=detail&...

[3]: http://www.joelonsoftware.com/articles/APIWar.html
Don't be such a cynic :)
One thing to remember, especially when considering the discussion of C++ at Netscape, it took awhile for most compilers to implement a consistent set of the C++ features. Netscape was being built across a dozen or so platforms and this was a major concern. If you have built Mozilla recently, the process to do so is not a couple of click action it is somewhat involved. It was worse way back when.

I've used C++ at the last for companies I have been involved with. The only consistency has been that no place used the same subset of C++ features. It usually boils down to what subset the team members are comfortable with. Variations have included exceptions or not, whether or not to use multiple inheritance, STL or Boost (yes, boost isn't really part of the C++ standard, but things like shared ptrs are in TR1), whether or not to use TR1, etc.

I personally don't have a strong opinion, but there are people that abuse C++ in ways that produce lousy code -- classes as a way to have nearly global variables, the whole C with classes approach, etc.

You really should use the right language for what you are working on and that plays well with any libraries you may want to use.
A fun hack: iPad to FPGA data-passing
Great news for the UK tech scene!
The site's down. Is it cached anywhere? It's not on nyud.net or Google.
Up until the day I left Google (last Friday), my team was still using Wave. We were a bunch of ex-Wavers though, so we were more likely than others to still be holding on.

I should point out that our internal version of Wave was different from the external version in at least one very important way: when a wave was shared with a group that you were a member of, the wave was sent to your inbox. Externally, you would have to set up a search to find that wave, so basically nobody ever read group waves. The idea behind the decision was to reduce inbox noise (particularly important in beginning few months), but that also meant reducing utility for group collaboration.

We were close to releasing proper groups support in the external version, so you could easily choose which groups to follow/unfollow inside your Wave inbox, but were discontinued before that made it out.

So, Wave was awesome for group collaboration, but unfortunately, we never gave the external world much of a real opportunity to witness that.

(And yes, there were other issues with Wave. Just thought I'd point out that one.)
Google’s YouTube Ad-Linked Video Views Jump to 3 Billion a Week
I'm going to guess PHP sessions. Off the top of my head its the only /tmp file creating thing I can think of in common web stacks.

If that is the problem mise is facing, you can swap out the storage that PHP uses for sessions (to use something other than files), I'd point out the relevant docs but I have a meeting to get to.
I may be wrong, but with those benchmarks, the "typical" servers are configured to load the text "PONG" from a file as opposed to the haskell servers that are hard-coded to do it. Surely I/O gives them a massive disadvantage?
Hm the Google guide looks like yet another programmers personal expression of style. The "pretty print police" at work. There may be some defensible (i.e. related to actual good programming practice)comments in there, but much is the usual personal preference stuff about braces and capitalization.

Different folks internalize different features of C++, for good or bad. To take someone's comfort zone and institutionalize it is arrogant.
For those that don't know what it means for a data structure to be "intrusive", here's a link:

http://stackoverflow.com/questions/5004162/what-does-it-mean...
Regular with automatic updates
They're the real deal, but the HN culture of content-only comments isn't exactly widespread. They are probably just expressing enthusiasm.
Reflections on Objective-C
That was just an example.

Developers should know what's a pointer and how to deal with it, because this is what happens everytime you hit the 'Build and Run' in compiler or run your Python script.

And even a hello world in C can show all of that.
Yeah, I wasn't supporting the current policy... but it looks difficult to change it. Your proposal has come up from time to time, and it's been strongly opposed by the legal counsel for the Wikimedia Foundation, for legal reasons: "community adoption of such a disastrous policy would create an actual emergency that would likely require Board intervention" http://en.wikipedia.org/wiki/Wikipedia:Village_pump_(proposa...
Many thanks for the link! I did not expect PHP and Ruby to be so slow...

I am happy to see that Haskell gets better support for Web programming.
"Though in my opinion, most iOS apps would be easier to write in a managed language"

Maybe, but just as you can not easily dismiss C++ because so many people have written so many successful programs in it, it is difficult to dismiss all of the great software from Apple, and arguably the largest library of software for mobile devices in the App Store, written in Objective C.

You point out the resource constraints that make C++ superior to Objective C and other languages for drivers and embedded systems. Similarly, I suspect Objective C gives Apple the right trade offs for writing sophisticated software for mobile devices that is responsive, uses memory effectively, and does not kill battery life.
Perhaps Google's Go will end up being the answer.
Mail::RFC822::Address: regexp-based address validation
Looks like some art to me.
Despite the hype... I don't think Wave failed. I blame all of 'us' (where 'us' is defined as alpha geeks, silicon valley startup folks, techies, etc) for this misrepresentation. We all this products must be wildly successful with millions of users or it has failed... we tend to see failure and success as this very black and white / binary thing... but it's not.

Google is probably discontinuing use of Wave because it didn't live up to their expectations and didn't have as many users as they need it to in order for it to be viable. If this were created by a smaller company, however, it could still be considered successful... I haven't been able to find any numbers on how many active users wave has but I'd guess somewhere around 50k - 100k... For any smaller company that'd be a huge success...

I'm really tired of reading all of the rhetoric that acts as if it's just oh so obvious that Wave isn't a good product. For 50k users it's a great product that they love... It doesn't need to have 2 million users to be a good product... Personally, I think Wave is a BRILLIANT piece of software and I use it exclusively for communication with my 6-10 close personal friends.

I have one gripe - the mobile interface is terrible... Maybe if this could've been fixed more people would've used it.
Yeah. That was the biggest problem. None of the people that I needed to communicate with was using it.

Wikis, emails and sharing documents over Google Doc was working just fine for everyone.

Tools that was supposed to be replaced by wave was working fine. There was not enough incentive to move away from existing tools to wave.
Thanks for your response. You're probably right about nobody except zealots quitting due to OS use. I've seen a couple of people throw shit-fits about having to use a Mac, and they've always been programmers.

If there's a key piece of software that is tied to one OS, the worker is understandably tied to that OS, in my XP-only organization, we've got 6 mac users using FCP. However, the big issue with this is the reduction in worker autonomy. It's fine to have a baseline situation, but no flexibility (which you seem to provide to your clients) create a hellish situation for technical users who understand their system.

Maybe that's the big thing to look for in a job moving forward: tool choice and autonomy.
To me, Wave failed because it wasn't a product. It was an engineering exercise. There was a lot of interesting technology in Wave (eg the Wave protocol itself, federated servers).

But what problem did it solve?

No one really seemed able to answer that.

When I looked at Wave I saw a set of primitives from which you could build email, IM, Twitter or any other number of communication mediums. The problem is that people could already do all of those things elsewhere. Did Wave make it easier? If it did, it might've stood a fighting chance. But it didn't. The UI was complicated. On most browsers it was slow.

Part of what made Google the search behemoth that it is (apart from the obvious algorithmic improvements over what came before it) was the simplicity of it. It was the simplest of pages (compared the shotgun portals of Yahoo and the like) with a giant text box. Anyone could look at it and know what to do. What's more it was fast.

So I would take Wave as an object lesson in what happens when you seek to solve an interesting engineering problem rather than build a product.
List of all "Nokia Plan"-meme sites
Nokia’s Elop fears mobile duopoly, but it is already here
Background? What is all this?
After The Hack: Tips For Working With Local Law Enforcement
Are there any previous participants in this programme willing to say a few words about the experience?
> One of the major factors for me was the crappy, slow UI.

For me, that wasn't a problem in Chrome, interestingly enough. It was indeed extremely slow in Firefox though. Maybe Google didn't have enough time to optimize it for other browsers before the novelty started to wear off.
Nokia Autopsy on MeeGo
It's not a massive deal, it just seems a bit odd. The HN crowd is the main market for something like this, so you'd think somebody there would have a clue about this site before promoting on it. Plus, this would be an opportunity to e.g. link to blog posts by previous participants describing their experience. I think that would probably be the most useful for potential applicants.
Fairly obvious but true, good B2B companies usually have strong balance sheets and often minimal debt. The Internet appears to be B2C from a users perspective but fundamentally, the business models i.e advertising, commission, are basically B2B. (Google Adwords, eBay Stores)

I'm working on a B2B startup if anyone's interested in discussing or exchanging ideas. Traditional B2B businesses (non consuming facing) are largely lagging in terms of the transition to the Internet meaning there's definitely opportunities.
College and Business Will Never be the Same
Would the Bard Have Survived the Web?
I personally opted to join the Wave team because it was the first time that I'd seen Google try something quite different. Google has many other cool products, but many of them are online versions of existing desktop tools, or Google versions of existing online tools. Wave was a unique blend of a variety of communication tools, and it intrigued me.

In addition, I was in a role where I spent half of my time communicating and collaborating with different groups, and after failing to be impressed with existing tools, I was particularly interested in seeing how Wave might make my role easier. And despite its various flaws, it did indeed make it better.

In the end, I'm happy that I joined the Wave team. It was a really interesting project to work on and a great learning experience.
I cannot think of a more surefire way to make your smartphone fail than to have it use a desktop UI.
I guess my age is catching up with me. I was a satisfied customer of Nokia, having bought many Hakkapeliittas to get me through the Vermont winters, long before telephones were something you could fit in your pocket. It never really occurred to me that the mobile phone side of the business had completely overshadowed the tires.
Clinton: Nations suppress Internet at own risk
"Copyright, now powerfully linking authors, the printing press (and later technologies) and the market, would prove to be one of history’s great public policy successes. Books would attract investment of authors’ labor and publishers’ capital on a colossal scale, and our libraries and bookstores would fill with works that educated and entertained a thriving nation. . . .

"Yet today, these markets are unraveling. Piracy is a lucrative, innovative, global enterprise. Clusters of overseas servers can undermine much of the commercial basis for creative work around the world, offering users the speedy, secret transmission of stolen goods."
One of them is my home city, Hradec Kralove. It's a very nice walk, makes one to realize the vast distances in space. The Swedish one is much cooler though :)
The contestant said "20s", IBM Watson said "1920's" - both were wrong but one can see how Watson didn't recognise that the answer was the same, it wasn't.
Sure, I wasn't saying that the headline results were generalizable, but "no significant difference" A/B testing results can tell you to stop wasting time in an area.
> Calling C99 a C++ replacement is pushing it

I didn't call it a C++ replacement. Just a C89 replacement. "A better C" :)

> I'd be curious about an instance of something you can do better (let alone fundamentally better) in C99 than C++.

It depends. If you need C++'s syntactic sugar for OOP-style code then yes - C++ is better for that. But if you don't do OO-heavy stuff you can use plain C and get away with less complexity (and more control over the instruction cache, etc).

I'm in the lucky position of not needing OO so I get away with using C. And C99 makes my life, compared to the old C89 standard (and the C++ C subset), easier. I can declare variables in the middle of a function (or even within the if statement!). I can initialize structs by its member's names thanks to designated initializers. And the implicit "upcast" from void* to whatever is a blessing (though possible in C89 it isn't available in C++). Oh, and I almost forgot variable length arrays.

> but when using pure C(99), I find myself thinking, "this code would be so much more compact in C++."

Well, this can go the other way round, too. Just take the right tool for the job.
Thanks for the clarification.

I contacted the development group at Google and was told the Wave server code was proprietary and they weren't giving it out. Yes, the protocol was open, and the idea was that there would be a lot of clients and such that would use it, but if a team wanted to take the server code as-is and start plugging in sensitive information? The data couldn't live in-house.

That's why several projects I had decided not to use Wave. Shame, really. I liked it a lot. I hear that the server will be made available under the Apache license, so I'm looking forward to that happening.
Easy To Create Movie Poster In Adobe Photoshop
Easy to create Movie Poster In Adobe photoshop,In this adobe photoshop tutorial we are learn easy to convert photo in movie Poster adobe photoshop tutorial.
We do use templates in our containers:

https://github.com/scalien/scaliendb/tree/master/src/System/...

Yes, we try to avoid op.overloading, exceptions, and we explicitly don't use the STL, Boost, <any library>. All the code is ours, which is really nice if you're debugging, finding performance problems, etc. It was our experience on previous projects that pulling in outside libraries in a systems level project like a database ends up wasting time (spent in understanding, debugging and optimizing outside code) over just writing what you need. This has proven to be a good call, we fix all bugs, however deep or nasty very quickly.

Thanks for the UnitTest++ tip.
When I watch Hulu I expect ads, but when I watch YouTube I don't - having to watch an ad before a video implies some quality to the video, whereas YouTube is often hit and miss - it's the expectation they've built up after so long hosting fairly short, amateur content.

It will be interesting to see if YouTube can keep viewer expectations satisfied as the ad-videos become more common, or whether a site that never has ads will take the market for short videos.
/topic works as well.
The timing of the deadline strikes me as very odd. Is there a good reason to make it 5-6 weeks before YC's? What if a startup applies to both? Why should you choose Springboard over YC or any other accelerator? With so many mentors, who has what stake in the startup? I don't see any of these questions answered, and they're just what comes to mind immediately. Surely these are very important pieces of information for applicants.